Automatic File Association?

Everything else that doesn't fall into one of the other PB categories.
kawasaki
Enthusiast
Enthusiast
Posts: 182
Joined: Thu Oct 16, 2003 8:09 pm

Automatic File Association?

Post by kawasaki »

Hiya, im kinda stuck on a program i am writing. I want the program to set up its custom file into the registry, so the icon will be set, along with the commands. How can this be done?

Thanks!


Kawa
traumatic
PureBasic Expert
PureBasic Expert
Posts: 1661
Joined: Sun Apr 27, 2003 4:41 pm
Location: Germany
Contact:

Re: Automatic File Association?

Post by traumatic »

Have a look at the original editor's sourcecode.
It's done there inside the file "Purebasic.Ide.pb" (line 1376)
Good programmers don't comment their code. It was hard to write, should be hard to read.
kawasaki
Enthusiast
Enthusiast
Posts: 182
Joined: Thu Oct 16, 2003 8:09 pm

Post by kawasaki »

Where can i find that? I done a search, but i couldnt find it
traumatic
PureBasic Expert
PureBasic Expert
Posts: 1661
Joined: Sun Apr 27, 2003 4:41 pm
Location: Germany
Contact:

Post by traumatic »

kawasaki wrote:Where can i find that? I done a search, but i couldnt find it
http://www.purebasic.com/download.php3

better luck searching next time :wink:
Good programmers don't comment their code. It was hard to write, should be hard to read.
kawasaki
Enthusiast
Enthusiast
Posts: 182
Joined: Thu Oct 16, 2003 8:09 pm

Post by kawasaki »

lol, thanks
Post Reply