running vb6 app using asp.net

M

maximas

hello:
I have a vb6 app that updates the access db. I want to
run the app using asp.net on the web server. is there a
way to do that.

thank you
 
S

Steve C. Orr, MCSD

Try this code:

Dim myprocess As System.Diagnostics.Process = New
System.Diagnostics.Process()
myprocess.StartInfo.FileName = "c:\MyVB6app.exe"
myprocess.StartInfo.WorkingDirectory = "C:\"
myprocess.StartInfo.Arguments= " file.txt -s -m"
myprocess.Start()
 
B

bruce barker

be sure the vb6 program is a console app, as it will not have permission to
open a window (vb form).
 
E

ervin lee

the problem is that this app is a windows form written in vb 6.0 and
does not have consoles. I check your codes and it give me the error
that it can't find the file. As you said, this code only is good if it
is a process, while it is not a process, it will not work. How would
you execute a .exe app in windows using .aspx form.

thanks,
 

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,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top