Execute visual basic .exe from Classic ASP website.
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
|