Solved

Mimed files should be opened in a running instance of the application if it exists.

Posted on 2003-11-12
2
170 Views
Last Modified: 2010-04-16
I have an application that is mimed to two different file types.  Currently when a user double-clicks a file it loads into a new instance of the application.  What needs to happen is to have the file load into a new instance of the application only if it is not already running; and if the application is already running, it should be loaded in that existing instance and not open a new instance.
0
Comment
Question by:tomshelley
  • 2
2 Comments
 
LVL 20

Expert Comment

by:TheAvenger
ID: 9737908
Here is a solution I answered previously with a very similar problem:

http://www.experts-exchange.com/Programming/Q_20790501.html

In general you need to find the old instance, send the new file name to it and quit the new instance. You have the needed classes/methods in the provided link.
0
 
LVL 20

Accepted Solution

by:
TheAvenger earned 250 total points
ID: 9738809
The discussion from the above link was even more expanded and finalized in details in this thread:

http://www.experts-exchange.com/Programming/Programming_Languages/C_Sharp/Q_20796312.html
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now