|
-
May 20th, 1999, 05:43 AM
#1
Shell function not responding
I use the shell() function to start the "C:\program files\accessories\backup\msbackup.exe", but it returns 0. The path is correct, b'coz if I place the same command in the 'Start->Run' it works. I can run anyother app if placed in the backup folder.
Any way out.
Thanks
James
-
May 20th, 1999, 06:21 AM
#2
Re: Shell function not responding
you start it using Shell and it is not started and you do not get an error message?
Try the ShellExecute API. It's return value gives you hints about the reason for not starting the app.
-
June 3rd, 1999, 08:51 PM
#3
Re: Shell function not responding
The second parameter to the VB shell function is the WindowState of the new shelled program. This parameter defaults to vbMinimizedFocus, so you don't see the app!! Use the following line to shell your application:
shell "path", vbNormalFocus
-
June 3rd, 1999, 08:51 PM
#4
Re: Shell function not responding
The second parameter to the VB shell function is the WindowState of the new shelled program. This parameter defaults to vbMinimizedFocus, so you don't see the app!! Use the following line to shell your application:
shell "path", vbNormalFocus
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
|