-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: Neeraj_Bangalore
Message 1 in Discussion

 Hi All,    Check this out,      How to start another application from our current 
application :    It is very simple in dotnet, just write the following code at the 
event at which you want to open another application.    Example 1:  If you want to 
open some windows application whose exe path is known, then write this code   
Process.Start("notepad.exe", "C:\mytext.txt") 
Here the first parameter is the name of the application you want to open and second 
parameter is the argument name. Like here the second parameter is the name of the file 
that you want to open. Note : If the file does not exist, the notepad application will 
ask at the time of startup only that this file does not exist, Do you want to create 
?" 
Example 2:  
If you want to open some site, then use the following code :  
Process.Start("IExplore", "www.microsoft.com") Usually, opeining the site is used at 
the end of the setup wizard. And/Or when the application wants to take the user to 
some registration web page.    You may have to Import the System.Diagnostics class for 
this. 
Regards,
Neeraj Saluja
SCT Software Solutions, Bangalore 
 

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to