c# program file association

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jason Gleason

    c# program file association

    I wanted to know how you would associate a file extenstion with a c#
    program. For instance, I wanted to allow a user to double click a .org file,
    and then have it open in my org program (which is an mdi app). Also, if the
    org program is already open, i wanted the clicked file to open as another
    mdi window (each file is it's own mdi window). Anyone have any links to
    tutorials or quick explanations? I'm also using vs.net 2003 in case anyone
    knows of any ide related shortcuts for the task.

    Thanks!


  • Christian T.

    #2
    RE: c# program file association

    There is a great article on how to set file associations with Visual
    Studio .NET Deployment at

    ml/vbcontheassocia tionseditor.asp



    Cheers,
    Christian T. [MSFT]
    Visual Studio Update Team

    - Please do not reply to this email directly. This email is for newsgroup
    purposes only.
    =============== =============== =============== =============== =============
    This posting is provided "AS IS" with no warranties, and confers no
    rights. Use of included script samples are subject to the terms specified
    at http://www.microsoft.com/info/cpyright.htm

    Note: For the benefit of the community-at-large, all responses to this
    message are best directed to the newsgroup/thread from which
    they originated.
    =============== =============== =============== =============== =============

    --------------------[color=blue]
    > Reply-To: "Jason Gleason" <jason.gleason@ gensurvey.com>
    > From: "Jason Gleason" <jason.gleason@ gensurvey.com>
    > Subject: c# program file association
    > Date: Wed, 9 Jul 2003 11:33:05 -0400
    > Lines: 11
    > X-Priority: 3
    > X-MSMail-Priority: Normal
    > X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
    > X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
    > Message-ID: <uYUMq9iRDHA.20 20@TK2MSFTNGP11 .phx.gbl>
    > Newsgroups: microsoft.publi c.dotnet.langua ges.csharp
    > NNTP-Posting-Host: ip50.gensurvey. com 216.54.187.50
    > Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP11.phx.g bl
    > Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.langua ges.csharp:1679 73
    > X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.csharp
    >
    > I wanted to know how you would associate a file extenstion with a c#
    > program. For instance, I wanted to allow a user to double click a .org[/color]
    file,[color=blue]
    > and then have it open in my org program (which is an mdi app). Also, if[/color]
    the[color=blue]
    > org program is already open, i wanted the clicked file to open as another
    > mdi window (each file is it's own mdi window). Anyone have any links to
    > tutorials or quick explanations? I'm also using vs.net 2003 in case anyone
    > knows of any ide related shortcuts for the task.
    >
    > Thanks!
    >
    >
    >[/color]

    Comment

    Working...