|
-
Aug 29th, 2001, 09:03 AM
#1
Thread Starter
Hyperactive Member
ShellExecute
Iam Presently working with windows scripting host.
What is the VBScript equivalent of VB's ShellExecute.?
I need it to open an exe file
-
Aug 29th, 2001, 09:31 AM
#2
Black Cat
I'm pretty sure the Shell statement will work with priveledged VBScript running (and not ASP).
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Aug 29th, 2001, 11:57 AM
#3
Hyperactive Member
You would create an instance of the shell object, and call it's run method.
VB Code:
Dim WshShell
Set WshShell=CreateObject("Wscript.Shell")
WshShell.Run "iexplore.exe"
Hope this helps.
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
|