The Daily Click ::. Forums ::. Klik Coding Help ::. file association
 

Post Reply  Post Oekaki 
 

Posted By Message

benb7760 - Plasmagem



Registered
  24/04/2003
Points
  357
16th October, 2004 at 06:57:57 -

How can i get a file with an extension (eg. '.sss') to be defaulted to open with my program?

and also, can you associate files with that extension to have a certain icon?

thanks, ben

 
Plasmagem - http://www.plasmagem.com

No Investments, no risks, make money searching google
http://netbux.org/?r=46841

Johan Hargne (Wartagon)

Lover Of Circys

Registered
  15/06/2003
Points
  1289

Game of the Week WinnerCROBASOFTVIP MemberPS3 OwnerWii OwnerMushroom
16th October, 2004 at 07:40:30 -

how cute, he thanks himself

 
Music Composer.
http://johan.hargne.se

Crobasoft
www.crobasoft.com

Radix

hot for teacher

Registered
  01/10/2003
Points
  3139

Has Donated, Thank You!VIP MemberGOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!
16th October, 2004 at 08:11:48 -

For just yourself, or other users? If it's just for yourself there's something in 'folder options' assuming you're using windows. For your users, it involves registry-messing-around-with so you're probably best to do it in the installer. Ask first though.

For the second question, yes for you, yes in theory for other users although I wouldn't know how off the top of my head.

 
n/a

RapidFlash

Savior of the Universe

Registered
  14/05/2002
Points
  2712
16th October, 2004 at 14:15:19 -

You should be able to do that with ActiveX (The Common Dialog object).

 
http://www.klik-me.com

Jenswa

Possibly Insane

Registered
  26/08/2002
Points
  2723
17th October, 2004 at 08:21:58 -

It's rather simple if you use some kind of installer, then you can just 'throw' it into the registry.

I don't know if there is an registry editor extension, but if there is, you could do the same.

Just open regedit and look into HKEY_CLASSES_ROOT, it has a key with an extesion and a filehandler for the extension.

If you have winzip installed, take a look at your ".zip" extension. Just follow everything that has to do with winzip, it's pretty self explaining.

 
Image jenswa.neocities.org
   

Post Reply



 



Advertisement

Worth A Click