The VB app is simply a business requirement for data collection that can
NOT be integrated into my asp.net app (per corporate directive).
Therefore, I would like a button to open it from the asp.net app simply
for user convenience.
Why on earth would I need to describe what my entire app is designed for
when my question was quite simple: looking for code to open a windows
executable file from within an asp.net page.
From what I could find so far, it appears that shell may be what's
needed. Just hoping for an example from someone. That's all!
I found something posted but wasn't sure if this was the best way to go,
and/or how to write the cmd line to run a vbapp.exe file.
dim wsh
set wsh = createobject("WScript.Shell")
response.write wsh.run("cmd /c C:\WINNT\system32\ping.exe " & _
"www.aspfree.com > " & server.mappath("pingresults.txt"))
set wsh = nothing
response.redirect "pingresults.txt"
Thanks,
Kathy
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!