Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > MIME Types in .Net (urgent)

Reply
Thread Tools

MIME Types in .Net (urgent)

 
 
Awah Teh
Guest
Posts: n/a
 
      09-18-2003

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
http://www.velocityreviews.com/forums/(E-Mail Removed)
www.digicentriq.com
877 675 4742
805 732 9421


 
Reply With Quote
 
 
 
 
Fergus Cooney
Guest
Posts: n/a
 
      09-18-2003
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


 
Reply With Quote
 
 
 
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      09-18-2003
Hello,

"Fergus Cooney" <(E-Mail Removed)> 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


 
Reply With Quote
 
K. Shier
Guest
Posts: n/a
 
      09-24-2003
wow now THAT is advanced! i didn't think the OE dev team had it in them...

"Herfried K. Wagner [MVP]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Email::MIME and Email::MIME::Attachment::Stripper ecureuil Perl Misc 0 05-28-2006 01:47 AM
tomcat 4.x : setting mime type for a directory or setting a default mime type CJ Java 1 10-29-2004 07:51 PM
Mozilla 5.0 and MIME types Darden Firefox 5 09-17-2004 07:51 AM
how 2 convert mime to txt or extract words from mime joe Perl Misc 0 04-07-2004 12:34 AM
Receiving zip files via Mime::Parser/Mime::Decoder Jan Arickx Perl Misc 0 08-25-2003 08:24 PM



Advertisments