Execute EXE from ASP.NET

W

wdewebserver

Hi

Can anyone tell me how to run an EXE from ASP.NET? I have an EXE that
connects to an Oracle database and generates a PDF file (using Report.NET)
based on the results from the database. I cannot get the PDF running when
using a dll only from an exe.

PLEASE HELP
 
S

Shawn

Dim startInfo As System.Diagnostics.ProcessStartInfo
Dim pStart As New System.Diagnostics.Process

startInfo = New System.Diagnostics.ProcessStartInfo("C:\file.exe")

pStart.StartInfo = startInfo
pStart.Start()
pStart.WaitForExit() 'Your code will halt until the exe file has executed.

Shawn
 
G

Guest

Hi,

I have just downloaded the report.net dll. But I have nt bben able to use it
due to lack of proper documentation and help. Could you please help me out as
to How to use it.

Thanx.

Saket Mundra
 

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

Forum statistics

Threads
473,991
Messages
2,570,217
Members
46,805
Latest member
ClydeHeld1

Latest Threads

Top