File Extensions & Associations
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: File Extensions & Associations

  1. #1
    Join Date
    Oct 2000
    Location
    Germany / Bremen
    Posts
    25

    File Extensions & Associations

    Hi,
    One of my self-written Programs stores data in files with a own extension.
    I want to make a association, so that I only have to double click on the data file and it is open with my application.
    I know how to do this in windows, but i want want my program to check, if theres an association with this file type, and if not, ask, if he should create one (and then do this)

    But I don't know
    a) how to check an association
    b) how to create an association
    (with visual baisc)

    thx,
    Tom


  2. #2
    Join Date
    Jul 2000
    Location
    Milano, Italy
    Posts
    7,726

    Re: File Extensions & Associations

    You will find all answers here:
    http://www.mvps.org/vbnet/code/syste...executable.htm
    http://www.mvps.org/vbnet/code/reg/r...sociations.htm
    http://www.mvps.org/vbnet/code/reg/association.htm

    Special thanks to Lothar "the Great" Haensler, Tom Archer, Chris Eastwood, Bruno Paris and all the other wonderful people who made and make Codeguru a great place. Come back soon, you Gurus.
    ...at present time, using mainly Net 4.0, Vs 2010



    Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
    all the other wonderful people who made and make Codeguru a great place.
    Come back soon, you Gurus.

Posting Permissions

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


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center