2

First of all sorry for my bad English.

I have created an image viewer application (Windows form application). After making it default program for all image types, when I double click on single image file in Windows explorer, it is working nicely.

But when I want to open multiple selected images from Windows explorer, then every image opens in a new instance of my viewer.

So what I do now?

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
  • 3
    So what do you want? – Shaharyar Nov 17 '15 at 07:25
  • I want all the selected images open in only one instance – Anshuman Tripathi Nov 17 '15 at 07:31
  • Is your app a multi document interface (MDI) app? Will it be able to open multiple images as seperate windows (forms) – Oguz Ozgul Nov 17 '15 at 08:10
  • 1
    I've chosen the marked duplicate because it provides one of the simpler solutions (use the VB.NET support library, which has this functionality built-in). See also (if you like) [What is the correct way to create a single instance application?](http://stackoverflow.com/q/19147), which has more extensive discussion and answers on the question, though you will need to handle argument passing between processes yourself with some of the answers there. – Peter Duniho Nov 17 '15 at 08:33

0 Answers0