Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

open a VB6 app in a vb.net web form 1

Status
Not open for further replies.

ynnepztem

Programmer
Aug 2, 2001
54
US
How can I open a VB6 app in a vb.net web form? I have a VB6 application that will accept a parameter that I need to open with a VB.NET Web Form. I tried using Shell("\\ServerName\Folder\ApplicationName.exe ParameterValue") with no luck.
Can anybody help.

Thanks
 
Microsoft may be stopping you from running any exe's. Could this be it?

I could be wrong, it seems like a good choice.
Or, is a relitive path vs. real path issue?
 
Does the same thing happen when you start it as a process? e.g.
Code:
Dim MyProcess As New System.Diagnostics.Process
MyProcess.StartInfo.CreateNoWindow = True
MyProcess.StartInfo.UseShellExecute = True
MyProcess.StartInfo.WorkingDirectory = "C:\Temp\"
MyProcess.StartInfo.FileName = "MyFile.exe"
MyProcess.StartInfo.Arguments = "MyParameter"
MyProcess.Start()

----------------------------------------------------------------------

Need help finding an answer?

Try the search facilty ( or read FAQ222-2244 on how to get better results.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top