Results 1 to 2 of 2

Thread: File association

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Dec 2000
    Location
    Reykjavík, Iceland
    Posts
    29

    Unhappy

    If i have created file association in the windows registry how can i check it is still working next time the program runs?

    Thanx
    IceSoft

  2. #2
    Guest
    the obvoius (spelt wrong i know) way would be to read in that registry key to see if its what you set it to (ie read it into a string1, string2 being what you set it to, if string1 <> string2 then msgbox "file associations have chnged).

    The other way i can think of, would be the shell execute command of a file of that type and see if it opens in your app, but that would be awekward to do as your app would already be running.

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