CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Posts
    27

    Associate file extension with program

    Hi,
    I guess this is an easy one for most of you.

    I could not find out, how to associate a file type by its extension with a program, so that on double-clicking the file, the respective program opens with the file as input.
    I know how to do this on the desktop, but have to do it programatically. In the registry there are certain keys to establish an association, but it seems to me quite a hack to set an association just via these keys.
    Regards,
    Robert






  2. #2
    Join Date
    May 1999
    Location
    Malaysia
    Posts
    21

    Re: Associate file extension with program

    hi,
    I learnd about associate file extension with application from Lee Weiner.
    This is his URL : http://home.fuse.net/lweiner/
    go there and download the associat.zip file.

    hope this will help.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured