Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
DotNet
acad.assignment.mngr
academic
adonet
aspnet
aspnet.announcements
aspnet.build.controls
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
clr
compactframework
component_services
datatools
distributed_apps
drawing
faqs
framework
framework.wmi
general
internationalization
interop
languages.csharp
languages.jscript
languages.vb
languages.vb.controls
languages.vb.data
languages.vb.upgrade
languages.vc
languages.vc.libraries
myservices
odbcnet
performance
remoting
scripting
sdk
security
setup
vjsharp
vsa
webservi.enhancements
webservices
windowsforms
windowsforms.controls
winforms.databinding
winforms.designtime
xml
  
 
date: Tue, 26 Aug 2008 14:30:42 -0500,    group: microsoft.public.dotnet.framework        back       


Launching an app from within my Winforms app   
I'm trying to launch another (WinForms) application from my WinForms app.  I want it to work like launching an app from Explorer, i.e. I don't want my 
app to have any ties to the app it launched.  I've tried to use Process.Start but it doesn't see to be passing my command line parameter and if there 
is already a running instance of the app it won't attempt to run it again.  Is there any other way to launch an app from a WinForms app?
date: Tue, 26 Aug 2008 14:30:42 -0500   author:   APA

Re: Launching an app from within my Winforms app   
"APA"  wrote in message 
news:e2#y2I7BJHA.2476@TK2MSFTNGP06.phx.gbl...
> I'm trying to launch another (WinForms) application from my WinForms app. 
> I want it to work like launching an app from Explorer, i.e. I don't want 
> my app to have any ties to the app it launched.  I've tried to use 
> Process.Start but it doesn't see to be passing my command line parameter 
> and if there is already a running instance of the app it won't attempt to 
> run it again.  Is there any other way to launch an app from a WinForms 
> app?


Can you show example code that fails?  Process.Start  works fine for me.

Mark

-- 
Mark Salsbery
Microsoft MVP - Visual C++
date: Tue, 26 Aug 2008 12:45:31 -0700   author:   Mark Salsbery [MVP] MarkSalsbery[MVP]@newsgroup.nospam

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us