We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Windows Forms - startup parameters

How do I call a window form .exe and pass in parameters to be used by that application? For example - one application (not a windows form app) calls a windows form application and needs to pass the Staff Member's ID to the new application. Thanks Nancy

1 Reply

AD Administrator Syncfusion Team December 22, 2005 01:26 PM UTC

Hi By calling the function System.Diagnostics.Process.Start(filename,cmdline); u can start execution of another executable file.also u can pass parameters to that program as commandline >How do I call a window form .exe and pass in parameters to be used by that application? For example - one application (not a windows form app) calls a windows form application and needs to pass the Staff Member''s ID to the new application. > >Thanks > >Nancy >

Loader.
Live Chat Icon For mobile
Up arrow icon