Smart Device Functions:
Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than shell32, prefix the name with the module name and a period.
Even though the Win32 function signature declares the third parameter as UINT nIconIndex, in .NET it must be a signed integer. This is because UINT is actually an alias for the int data type. Also, ExtractIcon() accepts -1 (an invalid value for unsigned integers) as an icon index, which will return the total number of icons in the specified file.
Tips & Tricks:
Please add some!
C# Sample Code:
string fileName = "C:\\Test.txt";
VB.NET Sample Code:
Dim fileName As String = "C:\Test.txt"
Alternative Managed API:
The ExtractIcon API
1/22/2011 8:48:16 PM - -126.96.36.199
Please edit this page!
Do you have...