3rd party application and when user want to open the 3rd party application
i want to link my form to a particular 3rd party application and when user want to open the 3rd party application, my form will display first and then 3rd party application will start..here i used the 3 party application's API in my project.
VulpesPosted Sep 10, 2012, 9:09 AM
You can pass the arguments in the Process.Start method. For example:
string arguments = "1 abc"; // separate arguments by spaces
System.Diagnostics.Process.Start("someapp.exe", arguments);
If the application doesn't accept command line arguments, then you might be able to use SendKeys.Send to send it some keystrokes - for example to open a menu and select an option. This isn't as easy as it sounds since there may be synchronization difficulties and you may need to build in delays between sending the keystrokes to overcome these. Check out the MSDN docs here:
http://msdn.microsoft.com/en-us/library/system.windows.forms.sendkeys.send.aspx
VulpesPosted Sep 7, 2012, 9:56 AM