Calling external file

G

Gerald

Hi guys,

I want to be able to call a external exe from an aspx page.
I saw two options:
- creating a vbs file to call via Wscript.
- Calling directly the exe.

I have failed so far to do both.

Solution 1: I have a vbs file that does everything I need. It works perfect
when called from command line.
But I cannot manage to call it from asp.net

Solution 2: I have been able to create the script, but asp.net hangs up when
I call it.
I do see the process starting. But nothing coming up.

Can someone give me a clue?

Tx

Gerald
 
S

Siva M

Did you try Process.Start()?

Hi guys,

I want to be able to call a external exe from an aspx page.
I saw two options:
- creating a vbs file to call via Wscript.
- Calling directly the exe.

I have failed so far to do both.

Solution 1: I have a vbs file that does everything I need. It works perfect
when called from command line.
But I cannot manage to call it from asp.net

Solution 2: I have been able to create the script, but asp.net hangs up when
I call it.
I do see the process starting. But nothing coming up.

Can someone give me a clue?

Tx

Gerald
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top