How do I make a VB program add a icon to the desktop during installation. Also how do you make this icon be a custom added Icon. And one more thing how do you add this icon to the task bar.
Thanks Alot,
D.A.
Printable View
How do I make a VB program add a icon to the desktop during installation. Also how do you make this icon be a custom added Icon. And one more thing how do you add this icon to the task bar.
Thanks Alot,
D.A.
Code:'In declarations put:
Declare Function fCreateShellLink Lib "STKIT432.DLL" (ByVal lpstrFolderName As String, ByVal lpstrLinkName As String, ByVal lpstrLinkPath As String, ByVal lpstrLinkArgs As String) As Long
'In code:
fCreateShellLink "C:\Windows\Desktop", Linkname, pathtoyourapp, ""