Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Oct 7th, 2005, 9:34 PM   #1
theguy0000
Programmer
 
Join Date: Jul 2005
Posts: 73
Rep Power: 4 theguy0000 is on a distinguished road
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
Attached Images
File Type: png png-fcc.PNG (8.8 KB, 23 views)
File Type: png png-fcc001.PNG (34.2 KB, 19 views)
theguy0000 is offline   Reply With Quote
Old Oct 7th, 2005, 9:50 PM   #2
B3TA_SCR1PT3R
Hobbyist Programmer
 
B3TA_SCR1PT3R's Avatar
 
Join Date: Jul 2005
Location: Dallas, Texas
Posts: 101
Rep Power: 0 B3TA_SCR1PT3R is an unknown quantity at this point
Send a message via AIM to B3TA_SCR1PT3R
isnt that wat it should do.?

its a photoshop file right?
__________________
Hoes telling me to calm down but I'm like fuck that shit!
B3TA_SCR1PT3R is offline   Reply With Quote
Old Oct 7th, 2005, 9:56 PM   #3
OpenLoop
Expert Programmer
 
OpenLoop's Avatar
 
Join Date: May 2005
Location: East Lansing, MI
Posts: 663
Rep Power: 4 OpenLoop is on a distinguished road
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
OpenLoop is offline   Reply With Quote
Old Oct 7th, 2005, 10:25 PM   #4
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
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
DaWei is offline   Reply With Quote
Old Oct 7th, 2005, 10:28 PM   #5
theguy0000
Programmer
 
Join Date: Jul 2005
Posts: 73
Rep Power: 4 theguy0000 is on a distinguished road
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.
theguy0000 is offline   Reply With Quote
Old Oct 8th, 2005, 8:57 AM   #6
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
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
DaWei is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 4:46 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC