| | #1 |
| Active Warrior | Hello, I want to execute .vbs file from classic asp page. How can i achieve this task ? Suggestion/advice/help needed. |
| | |
| |
| | #2 |
| New Warrior Member Join Date: 2008 Location: Yukon, OK
Posts: 20
Thanks: 0
Thanked 3 Times in 3 Posts
|
I don't believe this is possible. As far as I understand, .vbs files can only be run from the local computer, and due to security updates on XP and higher, the user is prompted to allow them to run.
|
| |
| | #3 |
| Warrior Member Join Date: 2009 Location: Orange County, CA
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
you cannot execute a vbs file directly from your asp code. However, vbs and classic asp share the same version of vb, so depending on what the content of the vbs (how it utilized server resources), you might be able integrate parts of it into your asp script. also, depending on your permissions on the host, you can also build a COM object that can be called from your asp script which can invoke the vbs on the host/server. good luck!
|
| |
|
| Bookmarks |
| Tags |
| asp, classic, execute, page, vbs |
| |