Extracting an icon which may not be an icon

D

Dave Neve

Hi

I have just installed a certificate on my computer and I wanted to extract
the icon and attribute it to the containing folder to avoid anyone from
deleting it.

When I look at the certificate on my C: Drive, it has what seems to be an
icon (of a certificate in an open envelope) but I can't find it with the
Windows system which allows me to change the appearance of folders.

I've also tried with an icon extractor but same problem.

I suppose that it isn't an icon but a .bmp image or sth.

How can I get to this 'drawing', copy and use it?

Thanks

Dave Neve
 
K

Keith Miller

Try creating a shortcut to the certificate. Shortcuts usually have the same icon as their targets. The open the property sheet for the shortcut & click 'change icon'. The resulting dialog should show you the file that is the source of the current icon. You can then browse to it from the change icon dialog for the folder in question.

Keith
 
D

Dave Neve

Hi

Nice try but my when I change an icon with XP, it always opens
%SystemRoot%\system32\SHELL32.dll first and the icon wasn't there.

After that , I dont know where to look but I have a hunch it isn't an icon
as I can't find it with an icon extractor

Any other ideas please?

Thanks




"Keith Miller" <[email protected]> a écrit dans le message de [email protected]...
Try creating a shortcut to the certificate. Shortcuts usually have the same
icon as their targets. The open the property sheet for the shortcut & click
'change icon'. The resulting dialog should show you the file that is the
source of the current icon. You can then browse to it from the change icon
dialog for the folder in question.

Keith
 
K

Keith Miller

I think if it displays as an icon, it's an icon.

There are a few in certmgr.dll, but none with an envelope.

What type of certificate is this?

What is the file type of the certificate?

Keith
 
D

Dave Neve

Hi

It is a certificate that has nothing to do with my computer but was issued
by the French Tax Office and it allows me to make a tax declaration on line.

The icon is a certificate in an open envelope with a key in the bottom right
hand corner.

It installed itself on my C drive.

Finally, with Icon Extracteur version 2, I can see its folder but inside
there is no 'icon' that shows up in the extractor software or in Windows.

Still haven't solved this one.

Regards

Dave Neve


"Keith Miller" <[email protected]> a écrit dans le message de %[email protected]...
I think if it displays as an icon, it's an icon.

There are a few in certmgr.dll, but none with an envelope.

What type of certificate is this?

What is the file type of the certificate?

Keith
 
K

Keith Miller

Icons most often come from the executable used to open the file or the library which handles them, not the files themselves. So looking under Internet Explorer options -> Content tab -> Certificates -> Advanced, I found the file format is most likely .cer.

Looking in the registry, HKCR\.cer is defined as 'CERFile'. HKCR\CERFile\DefaultIcon comes from the cryptui.dll file, in your system32 directory. And there is an icon of a certificate in an open envelope with a key!!!

Keith
 
D

Dave Neve

Hi

I couldn't find it under Internet either but the icon you sent me is the
one.

Thanks
"Keith Miller" <[email protected]> a écrit dans le message de [email protected]...
Icons most often come from the executable used to open the file or the
library which handles them, not the files themselves. So looking under
Internet Explorer options -> Content tab -> Certificates -> Advanced, I
found the file format is most likely .cer.

Looking in the registry, HKCR\.cer is defined as 'CERFile'.
HKCR\CERFile\DefaultIcon comes from the cryptui.dll file, in your system32
directory. And there is an icon of a certificate in an open envelope with a
key!!!

Keith
 
K

Keith Miller

c:\system32\cryptui.dll

Keith

Dave Neve said:
Hi

I couldn't find it under Internet either but the icon you sent me is the
one.

Thanks
"Keith Miller" <[email protected]> a écrit dans le message de [email protected]...
Icons most often come from the executable used to open the file or the
library which handles them, not the files themselves. So looking under
Internet Explorer options -> Content tab -> Certificates -> Advanced, I
found the file format is most likely .cer.

Looking in the registry, HKCR\.cer is defined as 'CERFile'.
HKCR\CERFile\DefaultIcon comes from the cryptui.dll file, in your system32
directory. And there is an icon of a certificate in an open envelope with a
key!!!

Keith
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top