Click here to Skip to main content
15,305,430 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi to all!

is it possible to add vb project in c sharp project
i have two application one in vb and the second in c sharp
and i want to create main application in c sharp
main application has two buttons
when click on button1 vb project start executing
when click on button2 c sharp project start executing

how can i do this
Posted

1 solution

You do not have to add anything. In your main application, just start the process for other applications. Use Process.Start for it.

Update:

In the main application:

C#
ClickStartVBApplciationButton(object sender, EventArgs e){
Process.Start("Path to the VB application EXE");
}


Similar way you can do it for other applicaiton as well.
   
v2
Comments
kami124 10-Aug-11 5:24am
   
ok then
when i use main application exe
then from where i get the process
becouse in exe that is not attached
dan!sh 10-Aug-11 5:26am
   
Updated the reply.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900