Results 1 to 5 of 5

Thread: [RESOLVED] Open multiple files without starting multiple instances (Application.CommandLineArgs)

Threaded View

  1. #3

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2004
    Location
    Essex, UK
    Posts
    774

    Re: Open multiple files without starting multiple instances (Application.CommandLineA

    Many thanks for that. I had never noticed the "Single Instance" option. Very handy! I am getting an error when trying to handle the MyApplication_StartupNextInstance event, but I need to look that up to find the right way to extract the e.commandline parameters.

    Thanks again for your help.

    EDIT: Fixed the error. Just need to work out where to put my code that loads the file that has been clicked. A public sub on my main form doesn't work - ApplicationEvents.vb can't "see" it there ...
    Last edited by paulg4ije; Mar 31st, 2013 at 04:32 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width