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?
Patrick Steele - 08 Feb 2007 14:33 GMT
> I'm using VB.net 2005 - -
> I have 2 questions, actually - - -
[quoted text clipped - 7 lines]
>
> Does anyone know how this all is done in VS.Net 2005?
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

Signature
Patrick Steele
http://weblogs.asp.net/psteele