Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Menu Icons are gone

(1/15) > >>

killerbot:
I have noticed that on one machine I seem to have lost the icons in the build menu, on my laptop they are still there.
Anyone else suffering from this, or even better, who has a solution.
Probably will have to delete something in default.conf (no, don't want to delete the conf all together) ??

Thanks,
Lieven

thomas:
Hmmm... I doubt that doing anything with the config will fix the problem. The icons are (if I remember correctly) defined in XRC and not touched afterwards.

But before you delete anything, try renaming the config file. That way, you see if it is config-related, and you can go back in one second :)

killerbot:
Tried out your suggestion, nope they didn't come back.
The reason I thought it might have something to do with the conf file is, sometimes the debugger toolbar is gone, and youcan get that one back by removing <LAYOUT> crc ... from the conf file.

Just noticed something else, since CB wanted to create a new default conf, it also asked if it may b the default app for c++ files, etc ...,
well I clicke on "yes" --> failed to create the keys in the registry.
Why : I formatted my c-drive an reinstalled XP a few days ago, there's 1 admin account and all other accounts I have made restricted  (so the account I work in is restricted), so it was not allowed to change the registry.
It is important to keep that in mind (there are cooperations where the users all are restricted !!) !!

Just wondered, where does CB wants to write that info, in the (current) user part of the registry (seems like a setting per user, since other users migh want to stick to dev-cpp ;-)  ).
In the per-user part of the registry , the user is allowed to write !! -> seems like CB does not write it there ?

I remember in some other post that several people were having problems also with CB and the regisrty (double cliking a cbp fil, gave an error message, though it did load it, etc ...), so maybe someone should take a closer look on the registry usage.

kind regards,
Lieven

thomas:
Code::Blocks stores its stuff in HKEY_CLASSES_ROOT. Unluckily, I don't know enough about this Windows crap to tell whether you can write file associations to HKEY_CURRENT_USER somehow. From a logical point of view that should be possible, but when has anything in Windows ever been logical, consistent, or understandable...

I would not know where to put the file type in the user section. In the root section, it is just a key with the name of the filetype's extension added to the root node, but there seems to be no place in the user section (or it is well hidden?).

takeshimiya:
In Microsoft Windows NT 4.0, all entries specific to file type associations are stored in the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Classes (HKEY_CLASSES_ROOT is an alias of location)

In Windows 2000 and Windows Server 2003, a new location is added for storage of user-specific file type associations in the following registry key:
HKEY_CURRENT_USER\SOFTWARE\Classes

Navigation

[0] Message Index

[#] Next page

Go to full version