Results 1 to 3 of 3

Thread: File Association on install

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Sep 1999
    Location
    Phoenix, az
    Posts
    1,517
    Hi.

    My program, has file types that run
    very well on my computer ( because I
    put them there). But on other computers
    the program wont run properly because
    of this.
    How can you make VB install wizard make
    a associate to my EXE from a extention
    like ".apd" or ".kp" ?

    thankyou all in advance.

  2. #2
    Guest
    You need to create the keys to registry. You find a lot of help at here for registry.

    HKEY_CLASSES_ROOT is the place where they're located at.

    Then some instructions:

    - Create key .APD, default value is apdfile
    - Create key apdfile, default value is the description of the file
    - Create key DefaultIcon under apdfile, default is location of the icon
    - Create key Shell under apdfile
    - Create key Open under Shell, default value is Open with (program name)
    - Create key Command under Open, default value is the location of the program file plus "%1"


    Hope this helps you to beginning, more you can learn by searching registry with regedit yourself.

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Sep 1999
    Location
    Phoenix, az
    Posts
    1,517

    Thanks Marry

    Marry.

    Your always so helpfull!
    Thanks alot, I was trying to
    do what you said before you
    gave me that message and It
    wasnt working.. I didnt have the
    default icon!

    Thanks Again!

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