handle is invalid 
Author Message
 handle is invalid

I've been working on a script which logs a user into our cd-rom server,
maps the drive in, starts the application, then on termination of the
program, it deletes the mapped drive.  I tested each of these scripts
separately and they all seemed to work fine.  However, since combining
all the snippets into one script, I encounter an error when the program
is started in the script.   The error message states that "The handle is
invalid."  I can't seem to find any explanation of error messages.  Can
anyone explain what this means.  The subroutine that starts the program
Sub BIPRun()
     Set WshShell=Wscript.CreateObject("Wscript.Shell")
     ' Start BIP and resume script when BIP is terminated
     WshShell.Run (WshShell.SpecialFolders("Desktop")) & "\BIP.LNK"
End Sub

Any help would be appreciated.


< 1K Download

Wed, 16 May 2001 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Invalid handle error on WScript.StdIn even with Cscript as default host?

2. The Handle is invalid. Error.

3. closed or invalid in this context.,

4. invalid restore

5. PS to PDF produces error invalid font/no pages

6. invalid memory access error - on web client?

7. Invalid character error

8. GS 6.0 invalid font problem

9. Error"Invalid font in findfont"

10. invalid font in findfont

11. Invalid procedure call or argument - what does this mean

12. CDONTS.NewMail error -- Invalid class string


Powered by phpBB® Forum Software