![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programmer
Join Date: Jul 2005
Posts: 73
Rep Power: 4
![]() |
quick registry help...
i made an extension in the registry called ".fcc". i basically just copied the .png one. so HKEY_CLASSES_ROOT\.fcc has (default) set to "fcComic". HKEY_CLASSES_ROOT\fcComic has (default) set to "Fat Cats Comic". the rest is just an exact copy of pngfile.
but, when i select a .fcc file in windows explorer, i get "PNG File". look at the screenshots of explorer and the "properties" screen. how do i change what it says there? edit: oh yeah, i changed the icon, too |
|
|
|
|
|
#2 |
|
Hobbyist Programmer
|
isnt that wat it should do.?
its a photoshop file right?
__________________
Hoes telling me to calm down but I'm like fuck that shit!
|
|
|
|
|
|
#3 |
|
Expert Programmer
Join Date: May 2005
Location: East Lansing, MI
Posts: 663
Rep Power: 4
![]() |
you shouldn't have modified the registery manually. You can add a new type by going to any open explorer window --> View --> Folder Options -->File Types(Tab) -->add new type
I'm not sure how accurate the sequence is (i'm running linux right now) but i know that there is an option to add a new file type from the explorer settings |
|
|
|
|
|
#4 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
LOL, I was gonna say, why don't you just use Explorer, like everyone else! On my XP, it's Tools | Folder Options | File Types (tab) | New (button)
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#5 |
|
Programmer
Join Date: Jul 2005
Posts: 73
Rep Power: 4
![]() |
yeah probably but i basically just copied .png and pngfile and edited them to fit my needs, and i think i have a fairly good undersanding of the structure of extensions in the registry...but here, im stumped, since there are no values that say "PNG Image", but thats what it say under properties.
|
|
|
|
|
|
#6 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Ever hear of cross references and such. Obvioulsy, the Explorer "method" is just that -- a method or procedure that sets things in the registry. Just as obviously, you're missing something. Why don't you go through the procedure provided and just get it done? If you want to know what you missed, do a diff on the registry before and after.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|