Is it possible to change a Windows Shortcut's Icon from VB? Short & sweet....
Oh, and also change what it's a shortcut to?
[This message has been edited by coox (edited 11-16-1999).]
Printable View
Is it possible to change a Windows Shortcut's Icon from VB? Short & sweet....
Oh, and also change what it's a shortcut to?
[This message has been edited by coox (edited 11-16-1999).]
It's oroibably not possible to edit a *.lnk file trough code cause it's a binary file...
It is possible to generate *.lnk files:
Code:
Private Declare Function fCreateShellLink Lib "Vb5stkit.dll" (ByVal _
lpstrFolderName As String, ByVal lpstrLinkName As String, ByVal _
lpstrLinkPath As String, ByVal lpstrLinkArgs As String) As Long
he he he, what the hell did I type there:
"oroibably"... whoohoo, I've been behind the comp too long...