|
-
October 11th, 1999, 08:43 PM
#1
Shell or CreateProcess - which is better
I need to start a program from within VB. Which is a better way to do it - using function Shell or Create Process? Why?
-
October 12th, 1999, 01:54 AM
#2
Re: Shell or CreateProcess - which is better
take a look at the parameters for CreateProcess. There are many!
Thus, if you need anything you cannot do with Shell use CreateProcess or ShellExecute or ShellExecuteEx. e.g. you can pass an environment string to the child process with CreateProcess.
Shell is easier to use, because you don't need an API Declare statement.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|