Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
HIcon to ImageList
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00324431
Message ID:
00325094
Views:
31
>Have a good weekend?
>

Better than you guys had in Atlanta from what I heard!

>I think I understand what you're getting at here now. You're suggesting that first we retrieve the application assosicated with the file in the registry by first retrieve the default under the entry under HKEY_CLASSES_ROOT (i.e. HKEY_CLASSES_ROOT\.xls = Excel.Sheet.8). Next, we take this information an open the default icon string under something like HKEY_CLASSES_ROOT\Excel.Sheet.8\DefaultIcon. This is usually in the form of "< fully qualified exe or dll filename >,1" where the number following the comma is the zero based offset of the iconresource. Then we have a filename (and some additional information) for the imagelist. Is this what you're getting at?
>

If you'll pardon the pun: "By George, I think he's got it!"

>I don't know whether or not this will work. The only way to find out is to try it. Be pretty neat if it does.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform