By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,696 Members | 1,225 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,696 IT Pros & Developers. It's quick & easy.

MIME Types in .Net (urgent)

P: n/a

Is there a good resource, or could somebody please guide me on MIME-type
interaction in .Net? What I want to do, is build an application that could
open files of a certain type (for argument sake say a file type of .xyz).
When the user double clicks on a file with that extension, windows will load
my application since the mime type of my application is related to .xyz
files.

That part is done, the catch here is, if I already have an instance of my
application running, I want the already open instance of my application to
handle the call made by the user double clicking on the ".xyz" file - rather
than pop-up another instance of my application which it seems to doing now.

Your help will be greatly appreciated.

Thanks In Advance

--
Awah Teh
DigicentriQ Technologies, LLC
aw***@digicentriq.com
www.digicentriq.com
877 675 4742
805 732 9421
Nov 20 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Hi Awah,

That's a misleading title you've got there. Yours is how to have only one
instance of my application running issue. Nothing to do with MIME.

However. :-)

Here's a link to an MSDN article to give you some ideas. It'll be split
onto two lines so join them up in Notepad or something.

http://msdn.microsoft.com/library/de.../dnwinforms/ht
ml/reaworapps1.asp

There was also the same question just a few days ago in the
dotnet.languages.vb group. Topic - How to: Maximize window from the Main
function?, dated 15th Sep 2003, where there is a class given which does the
job of transferring from a secondary instance of a program to the first. It
doesn't (yet) have any communication between them, though. You could, perhaps,
use the Registry to store the parameters and the Activate event to retrieve
them.

Regards,
Fergus
Nov 20 '05 #2

P: n/a
Hello,

"Fergus Cooney" <fi******@tesco.net> schrieb:
It'll be split onto two lines so join them up in Notepad or
something.

http://msdn.microsoft.com/library/de...eaworapps1.asp

If you install all updates available for OE, URLs won't be split any more.

--
Herfried K. Wagner
MVP VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #3

P: n/a
wow now THAT is advanced! i didn't think the OE dev team had it in them...

"Herfried K. Wagner [MVP]" <hi*******@m.activevb.de> wrote in message
news:uT**************@tk2msftngp13.phx.gbl...
Hello,

http://msdn.microsoft.com/library/de...us/dnwinforms/
html/reaworapps1.asp
If you install all updates available for OE, URLs won't be split any more.

--
Herfried K. Wagner
MVP VB Classic, VB.NET
http://www.mvps.org/dotnet

Nov 20 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.