Results 1 to 4 of 4

Thread: How can i make a program that will make it so that windows recognises a file-type?

  1. #1

    Thread Starter
    Hyperactive Member Arachnid13's Avatar
    Join Date
    Jan 2003
    Location
    England
    Posts
    327

    How can i make a program that will make it so that windows recognises a file-type?

    can any1 help? i am making a program which uses *.pli files, and i want my system to recognise them instead of showing them up with the white icon with the windows system. I no i can do it by going into the folder options (I have windows 98 btw) but can u get vb to do it 4 u in a program? (This program is going to be distributed among lots of people who all use windows, but not necessarily windows 98, i dunno if that makes any diff.)
    thanks

  2. #2
    Frenzied Member John McKernan's Avatar
    Join Date
    Jan 2002
    Location
    SE PA
    Posts
    1,295
    Yes, you can do this programmtically. You will have to use api calls to associate your file type with your program, this is done in the registry.

    There have been a number of posts here on the subject, a search for 'file association' should help.

  3. #3
    PowerPoster beachbum's Avatar
    Join Date
    Jul 2001
    Location
    Wollongong, NSW, Australia
    Posts
    2,274
    If u are using an installation program (eg Wise, Installshield etc) they offer that as a simple option
    Stuart Laidlaw
    Brightspark Financial Software
    http://www.gstsmartbook.com

  4. #4
    PowerPoster
    Join Date
    Aug 2000
    Location
    IN SILENCE
    Posts
    6,441
    Remaining quiet down here !!!

    BRAD HAS GIVEN ME THE ULTIMATIVE. I have chosen to stay....

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