I want to start another program with my VB app and I want the file to be minimized with no focus. <br>
<br>
I am using the following code:<br>
Dim retval<br>
retval = shell("C:\windows\calc.exe",vbminimizednofocus)<br>
<br>
This executes the windows calculator but it remains on top of my form as my vbapp continues to run. Is there a way to minimize the file?<br>
Also, I would like to know if the program is already running before my app starts so I don't open a 2'nd copy of it. Can this be done?<br>
<br>
Thanks in advance,<br>
<br>
DF
<br>
I am using the following code:<br>
Dim retval<br>
retval = shell("C:\windows\calc.exe",vbminimizednofocus)<br>
<br>
This executes the windows calculator but it remains on top of my form as my vbapp continues to run. Is there a way to minimize the file?<br>
Also, I would like to know if the program is already running before my app starts so I don't open a 2'nd copy of it. Can this be done?<br>
<br>
Thanks in advance,<br>
<br>
DF