Hi,
If I do a clean install of Windows and then install Office, I can double click on a file called ‘kittens.doc’ and the file will be opened in Word. I haven’t myself told windows or Word what to do with a doc file - it just works.
My B+ app saves a file in .csw format. This is my own format that no other program can understand. I want users to me able to double click on these ‘CSW’ file (assuming no other program has already registered that extension) and my app runs and loads the .cws file.
The problem seems to be twofold.
1) How do I automatically get Windows to load my app when a user double clicks on a .cws file? I just want Windows to know what to do. I don’t want users to go through the ‘Open With’ procedure.
2) How do I pass this .cws file to my app to make it load the right file? My app knows how to load the file. I just need to tell it that it needs to load it.
This may be useful to other B+ programmers too.
Thanks for any help.
If I do a clean install of Windows and then install Office, I can double click on a file called ‘kittens.doc’ and the file will be opened in Word. I haven’t myself told windows or Word what to do with a doc file - it just works.
My B+ app saves a file in .csw format. This is my own format that no other program can understand. I want users to me able to double click on these ‘CSW’ file (assuming no other program has already registered that extension) and my app runs and loads the .cws file.
The problem seems to be twofold.
1) How do I automatically get Windows to load my app when a user double clicks on a .cws file? I just want Windows to know what to do. I don’t want users to go through the ‘Open With’ procedure.
2) How do I pass this .cws file to my app to make it load the right file? My app knows how to load the file. I just need to tell it that it needs to load it.
This may be useful to other B+ programmers too.
Thanks for any help.