0

When I Select Multiple Files in My Computer And Open , each File Open with one Instance in My Application. In Configure Windows Application to Run One Instance,But One File Open with My Application.How Can I Open Selected Files And Add Address Files in a List Box in My Application.

Hossein Moradinia
  • 6,116
  • 14
  • 59
  • 85

1 Answers1

1

There are many ways you can control single instance of your application..For example see this thread: Run single instance of an application using Mutex. If you want your program to open multiple files-you'll have to pass some parameters to your program when checking its running instances or something like this.

Community
  • 1
  • 1
0x49D1
  • 8,505
  • 11
  • 76
  • 127