file associatoin with application

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

    #1

    file associatoin with application

    How do I, in my (2005) application, cause a file with a certain extention to
    be associated with my application?

    Paul


  • Barry

    #2
    Re: file associatoin with application

    Paul

    Free software components for C#, VB.NET and other .NET languages.


    HTH

    Barry

    Comment

    • PJ6

      #3
      Re: file associatoin with application

      Perfect, thank you.

      "Barry" <barry.oconnor@ manx.net> wrote in message
      news:1147455801 .533841.243110@ y43g2000cwc.goo glegroups.com.. .[color=blue]
      > Paul
      >
      > http://www.mentalis.org/soft/class.qpx?id=5
      >
      > HTH
      >
      > Barry
      >[/color]


      Comment

      • Herfried K. Wagner [MVP]

        #4
        Re: file associatoin with application

        "PJ6" <noone@nowhere. net> schrieb:[color=blue]
        > How do I, in my (2005) application, cause a file with a certain extention
        > to be associated with my application?[/color]

        Typically this is done as part of the application's setup. If you want to
        add/remove the association within your application, check out the sample
        from mentalis.org mentioned in another reply.

        --
        M S Herfried K. Wagner
        M V P <URL:http://dotnet.mvps.org/>
        V B <URL:http://classicvb.org/petition/>

        Comment

        • PJ6

          #5
          Re: file associatoin with application

          Well one of the selling points of DotNet apps is no need to install... what
          I plan on doing is to make the file association on startup if it's not
          already there. Then I can allow users the benefit of being able to
          double-click on a "project" file, and yet not require an install.

          Maybe its a bad idea, I don't know I've never done it before. I've always
          stored data in a database so this file saving thing is new to me.

          Paul

          "Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message
          news:eOFKJEhdGH A.1436@TK2MSFTN GP05.phx.gbl...[color=blue]
          > "PJ6" <noone@nowhere. net> schrieb:[color=green]
          >> How do I, in my (2005) application, cause a file with a certain extention
          >> to be associated with my application?[/color]
          >
          > Typically this is done as part of the application's setup. If you want to
          > add/remove the association within your application, check out the sample
          > from mentalis.org mentioned in another reply.
          >
          > --
          > M S Herfried K. Wagner
          > M V P <URL:http://dotnet.mvps.org/>
          > V B <URL:http://classicvb.org/petition/>[/color]


          Comment

          Working...