How can I call a dot net exe from VB6 and pass some information to it? If possible, can I do the same thing, calling VB6 exe from dot net application?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you absolutely have to use VB6, your best bet is to call a VB6 function from C# is to export your VB6 functionality with COM, then use Interop in C# to access it:
Calling a VB6 method from a .NET DLL
If you just want to invoke an .exe, you can easily do that with ShellExec (from VB) or Process.Start (from C#).