all groups > dotnet windows forms > february 2007 >
You're in the

dotnet windows forms

group:

Open file in application externally


Open file in application externally ElmoWatson
2/7/2007 10:51:33 AM
dotnet windows forms: I'm using VB.net 2005 - -
I have 2 questions, actually - - -
1. I remember, in VB6, there was a way, to set command line parameters or
something, so that, if you use the 'Open With' option, or dragged a file
onto the MDI interface, it would open inside the interface.

2. How can I make it so that, if the application is already open, trying to
do the above will not open a new instance, but open it with the currently
open instance?

Does anyone know how this all is done in VS.Net 2005?

Re: Open file in application externally Patrick Steele
2/8/2007 9:33:48 AM
In article <efvH2ftSHHA.1600@TK2MSFTNGP05.phx.gbl>, bilboB@yahoo.com
says...
[quoted text, click to view]

1) Drag and drop:
http://www.ondotnet.com/pub/a/dotnet/2002/11/11/dragdrop.htm

2) Single instance app:
http://www.yoda.arachsys.com/csharp/faq/#one.application.instance

--
Patrick Steele
AddThis Social Bookmark Button