Click here to Skip to main content
15,892,927 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hi plz help me
how to call a windows c# executable form
from menustrip item directly , plz suggest the code
the c# exe file is existing in "D:\project" folder.

thanks and regards

GMS

What I have tried:

Already created the menu strip in design time.

Form fr = new Form();
fr.Text = "New";
fr.Show();

i dont have idea about calling existing windows forms of c#
Posted
Updated 3-Aug-18 1:15am

1 solution

Use the Process Class (System.Diagnostics)[^] to instantiate another application.
 
Share this answer
 

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