Results 1 to 3 of 3

Thread: Change shortcut's Icon from VB?

  1. #1

    Thread Starter
    Fanatic Member coox's Avatar
    Join Date
    Oct 1999
    Posts
    550

    Post

    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).]

  2. #2
    Hyperactive Member
    Join Date
    Oct 1999
    Posts
    309

    Post

    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

  3. #3
    Hyperactive Member
    Join Date
    Oct 1999
    Posts
    309

    Post

    he he he, what the hell did I type there:
    "oroibably"... whoohoo, I've been behind the comp too long...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width