
Signature
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
> <shug...@ddpa.org> wrote:
> > > On Oct 16, 2:25 pm, shug...@ddpa.org wrote:
[quoted text clipped - 19 lines]
> Jon Skeet - <sk...@pobox.com>http://www.pobox.com/~skeet Blog:http://www.msmvps.com/jon.skeet
> If replying to the group, please do not mail me too
>From the Code i posted, nothing happens not even going out to the
website i selected from the process.start event. i do not even get the
message.
this by itself works fine in association to the button------>
System.Diagnostics.Process.Start("Program", "web Location");
the moment i add the code to check the system directory, i get no
error but i get no response from the button either.
so my objective is to check the system root for a specific set of
folders. if those folders exist then the button should not appear. if
the directory is missing, the button should show up and then take me
to the web address i have suppled.
the reason i have placed the message in the dialog box is cause i
wanted to make sure it was working, before i figured how to only
display the button if the directory is not there.
Jon Skeet [C# MVP] - 16 Oct 2007 22:48 GMT
> From the Code i posted, nothing happens not even going out to the
> website i selected from the process.start event. i do not even get the
[quoted text clipped - 5 lines]
> the moment i add the code to check the system directory, i get no
> error but i get no response from the button either.
I suggest you run this in the debugger, and put a breakpoint at the
start of the event handler - then you can see what's going on.
> so my objective is to check the system root for a specific set of
> folders. if those folders exist then the button should not appear. if
[quoted text clipped - 4 lines]
> wanted to make sure it was working, before i figured how to only
> display the button if the directory is not there.
You haven't got a dialog box - you've got output to the console. If you
were expecting a dialog box, that's probably what's wrong.

Signature
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
shughes@ddpa.org - 17 Oct 2007 13:27 GMT
> <shug...@ddpa.org> wrote:
> > From the Code i posted, nothing happens not even going out to the
[quoted text clipped - 25 lines]
> Jon Skeet - <sk...@pobox.com>http://www.pobox.com/~skeet Blog:http://www.msmvps.com/jon.skeet
> If replying to the group, please do not mail me too
that is what i though the:
System.Console.WriteLine("Already Installed");
does. meaning i though a pop would be induced from that command. what
would be the command to cause a pop state the response i want.
Jon Skeet [C# MVP] - 17 Oct 2007 16:10 GMT
On Oct 17, 1:27 pm, shug...@ddpa.org wrote:
<snip>
> that is what i though the:
> System.Console.WriteLine("Already Installed");
> does.
No, that writes to the system console - which may not be attached to
that anything for that process.
> meaning i though a pop would be induced from that command. what
> would be the command to cause a pop state the response i want.
MessageBox.Show.
Jon