Shalini Shikha
October 11th, 1999, 08:43 PM
I need to start a program from within VB. Which is a better way to do it - using function Shell or Create Process? Why?
|
Click to See Complete Forum and Search --> : Shell or CreateProcess - which is better Shalini Shikha October 11th, 1999, 08:43 PM I need to start a program from within VB. Which is a better way to do it - using function Shell or Create Process? Why? Lothar Haensler October 12th, 1999, 01:54 AM 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. codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |