|
-
Jul 12th, 2001, 02:27 AM
#1
Thread Starter
Fanatic Member
.vbs from vb
How can I run a .vbs file from within my vb program? Please teach me how to do it locally, the vbs is in the same computer with the vb prog and when the vbs is in a web server (is this possible?)
On Error GoTo Hell
Hell:
Kill Me
Food For Thought:
- Do not judge a book... if you're not a judge!

-
Jul 12th, 2001, 06:34 AM
#2
Black Cat
You can use the ShellExecute API function (see www.vbapi.com) to try to run them. Note that the .vbs file extension will have to associated with Windows Scripting Host for them to execute. If WSH isn't installed, or .vbs files are associated with Notepad (virus security), they won't execute.
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.
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
|