Shell out .Net C# app from VB6 app passing parameters

O

OhCee

Has anyone used Shell.exe from inside a VB6 app to open
up a .Net C# app passing into the C# app a parameter? I
want the user to be able to click on a menu item in VB6
and pass a "ID-value" to the C# app as a variable /
parameter.

Thanks!

OhCee
 
C

Chris Dunaway

Has anyone used Shell.exe from inside a VB6 app to open
up a .Net C# app passing into the C# app a parameter? I
want the user to be able to click on a menu item in VB6
and pass a "ID-value" to the C# app as a variable /
parameter.

There should be no problems

Create the C# app and have it read in the command line arguement with the
ID Value. Look at the Environment.CommandLine property (in C#)
 

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

Top