Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > microsoft.public.scripting.vbscript > #12359
| From | "R.Wieser" <address@not.available> |
|---|---|
| Newsgroups | microsoft.public.scripting.vbscript |
| Subject | Re: wshell.run on a datafile sometimes fails - what could be causing it ? |
| Date | 2021-07-10 11:07 +0200 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <scbo1p$9i5$1@gioia.aioe.org> (permalink) |
| References | <sc6js1$18mt$1@gioia.aioe.org> <n4hzkn0ub5bj.w1g96e7i2iw5$.dlg@40tude.net> <sc9j94$19if$1@gioia.aioe.org> <pezn30rjn7ye$.1j4tkt00umhcs.dlg@40tude.net> |
JJ, > Either way, it's still not clear whether the error occured within > WShell.Run(), or in the program file itself. There is a saying going along the lines of "the mother of all f*ckups is to assume something". You're right, the problem isn't VBS, but the program itself. Yesterday, just before turning in, I realized that the actual program is launched by a helper program (of my own hand). Which uses a WaitForInputIdle timeout of 5 seconds. It looks like that the actual program (sometimes) takes more than that. I've increased the timeout and changed the single beep to something a bit more "thats not the system thats complaining" sound. Thanks for the help. :-) Regards, Rudy Wieser
Back to microsoft.public.scripting.vbscript | Previous | Next — Previous in thread | Find similar
wshell.run on a datafile sometimes fails - what could be causing it ? "R.Wieser" <address@not.available> - 2021-07-08 12:25 +0200
Re: wshell.run on a datafile sometimes fails - what could be causing it ? JJ <jj4public@gmail.com> - 2021-07-09 18:30 +0700
Re: wshell.run on a datafile sometimes fails - what could be causing it ? "R.Wieser" <address@not.available> - 2021-07-09 15:34 +0200
Re: wshell.run on a datafile sometimes fails - what could be causing it ? JJ <jj4public@gmail.com> - 2021-07-10 12:42 +0700
Re: wshell.run on a datafile sometimes fails - what could be causing it ? "R.Wieser" <address@not.available> - 2021-07-10 11:07 +0200
csiph-web