|
-
Mar 20th, 2001, 05:57 PM
#1
Thread Starter
Junior Member
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
-
Mar 20th, 2001, 06:10 PM
#2
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|