Link to home
Start Free TrialLog in
Avatar of brokeMyLegBiking
brokeMyLegBiking

asked on

keep the shell window open


I have a VB.NET program that kicks of a shell. How do I get the shell to not close immediately when it is done?

Should I use something with more options than the Shell command, like ProcessStartInfo, or do I just need to pass in a readline operation with the shell command so that it waits for me to press enter before closing?

Avatar of bman9111
bman9111

process.start(then program)

ex

process.start("C:\test.exe")


not sure if this was what u are looking for.  the shell command is really for the vb6. Still can use it by process is the vb.net way
ASKER CERTIFIED SOLUTION
Avatar of gopinathdeepak
gopinathdeepak

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial