How to Extract a Windows Program Icon--Running or Not (142815)
The information in this article applies to:
- Microsoft Visual Basic Professional Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 16-bit, for Windows 4.0
This article was previously published under Q142815 SUMMARY
The example program included below demonstrates how to extract an
icon from a Microsoft Windows program, whether it is currently running or
not. There are two different techniques depending on whether the program is
run in Microsoft Windows version 3.0 or 3.1. The ExtractIcon API function,
introduced in Windows version 3.1, simplifies the process of extracting
the icon. In Windows version 3.0, a different approach is required.
Both methods are illustrated below.
REFERENCES
"Microsoft Windows Software Development Kit Volume 2"
"Microsoft Press Programmer's Reference Library Volume 2"
Modification Type: | Minor | Last Reviewed: | 1/8/2003 |
---|
Keywords: | kbcode KB142815 |
---|
|