How do I call the Icon Dialog from vb.net ?
Just doesnt seem to be right in the new .net way of doing things... i.e what do I do with the hWND ?
Could someone please point me to a .net example (I have searched the net for hours with no luck) or tell me the correct way of calling and handling the returns of this thing.
Any help is appreciated.
Many thanks.
- Sandos
Code:
Declare Function SHChangeIconDialog Lib "shell32" Alias "#62" _
> (ByVal hOwner As Long, _
> ByVal szFilename As String, _
> ByVal Reserved As Long, _
> lpIconIndex As Long) As Long
>
Just doesnt seem to be right in the new .net way of doing things... i.e what do I do with the hWND ?
Could someone please point me to a .net example (I have searched the net for hours with no luck) or tell me the correct way of calling and handling the returns of this thing.
Any help is appreciated.
Many thanks.
- Sandos