Difference Shell / process start?
You can start an application two ways you can shell the application or you can process start.
Dim shell
shell = CreateObject("wscript.shell")
shell.run("%SystemDrive%\application.exe")
or
Process1.StartInfo.FileName = ("%SystemDrive%\application.exe")
What is the difference between these two approaches?
Re: Difference Shell / process start?
I'm not entirely sure, but I think shell is a bit like Command prompt, and process start is a bit more like the "run" feature on windows.
Re: Difference Shell / process start?
under the hood, they are basically the same.
Process.Start gives you a little more control and is built-in to the .NET framework.
Shell requires the use of external components, and depends on the name of it not changing.
-tg