VB3 How To Extract a Windows Program Icon--Running or Not (88944)
The information in this article applies to:
- Microsoft Visual Basic Standard Edition for Windows 2.0
- Microsoft Visual Basic Standard Edition for Windows 3.0
- Microsoft Visual Basic Professional Edition for Windows 2.0
- Microsoft Visual Basic Professional Edition for Windows 3.0
- Microsoft Visual Basic Standard Edition for Windows 1.0
- Microsoft Windows 3.0
- Microsoft Windows 3.1
This article was previously published under Q88944 SUMMARY
The example program included below demonstrates how to extract an
icon from a Windows program, whether it is currently running or not.
There are two different techniques depending on whether the program is
run in Windows version 3.0 or 3.1. The API function ExtractIcon,
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: | Major | Last Reviewed: | 12/12/2003 |
---|
Keywords: | kbcode KB88944 |
---|
|