Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / February 2007

Tip: Looking for answers? Try searching our database.

Open file in application externally

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ElmoWatson - 07 Feb 2007 16:51 GMT
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


Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.