Execute visual basic .exe from Classic ASP website.

Posted by Nisha03 under Others on 8/28/2010 | Points: 10 | Views : 2954 | Status : [Member] | Replies : 1
I have a visual basic .exe which works fine when I run it or double click it on any machine or on server.

But when I put that .exe file on server so any user using internal portal site can execute from their own account. It doesn't give me results, when I try to run from my asp page using my account.

I can see the process for that .exe running on task manager on server but it doesn't give me result.

Could anyone please guide me with that?

I have written following code in my asp page.
str = "C:\test.exe"

set oWSH = CreateObject("WScript.Shell")
oWSH.Exec str
Set oWSH = Nothing


Posted by: Vuyiswamb on: 10/21/2010 [Member] [MVP] [Administrator] NotApplicable | Points: 25

look at this


Thank you for posting at Dotnetfunda

Nisha03, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response