Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ExtractIcon : how to extract an EXE associated ICON
Message
From
09/08/1999 08:28:31
 
 
To
09/08/1999 05:54:14
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00251371
Message ID:
00251394
Views:
7
>Hi
>
>I am trying to get the name, and path of an applications associated icon
>
>Does any one know parameters I have to pass to
>
>ExtractIcon, and ExtractAssociatedIcon API.
>
>I think I have the correct systax,bur I get an exception error when I run my code.
>
>I am trying to pass the window handle, the file path & name, but I am not really sure how I should pass the third argument, as it is a WORD TYPE.
>any help or example of this in VFP would be a big help
>

I don't know the API call, but a WORD is generally described as an INTEGER in the DECLARE...DLL syntax. You might want to look at Christof Lange's STRUCT class to see if he has support for the API calls you need in there.
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