Results 1 to 5 of 5

Thread: Placing Icons in the quick lauch portion of the taskbar.

  1. #1

    Thread Starter
    Member
    Join Date
    May 2000
    Location
    USA
    Posts
    37

    Question

    Hello,

    Does anyone know how to make a programs icon appear as a quick start button on the taskbar, during the install process of a program that you have made? I don't want to put it in the taskbar tray, just the quick launch portion of the taskbar.
    Jerome W. Norgren

    "Know how to ask. There is nothing more difficult for some people, nor for others, easier."

    - Baltasar Gracian

  2. #2
    Guest
    Code:
    'In Visual Basic 5.0, change Stkit432.dll in the following
    'statement to Vb5stkit.dll.  Stkit432.dll is for Visual Basic 4.0
    
    Private Declare Function fCreateShellLink Lib "STKIT432.DLL" (ByVal
    lpstrFolderName As String, ByVal lpstrLinkName As String, ByVal lpstrLinkPath As
    String, ByVal lpstrLinkArgs As String) As Long
    
        Dim lReturn As Long
    
    lReturn = fCreateShellLink("..\..\Application Data\Microsoft\Internet Explorer\Quick Launch", "MS-DOS", "C:\command.com", "")

  3. #3

    Thread Starter
    Member
    Join Date
    May 2000
    Location
    USA
    Posts
    37

    Thumbs up

    To: Matthew Gates

    Right on the money again!
    Thank you very much!!!

    Jerome W. Norgren

    "Know how to ask. There is nothing more difficult for some people, nor for others, easier."

    - Baltasar Gracian

  4. #4
    Junior Member
    Join Date
    Aug 2000
    Location
    Charleston, S.C.
    Posts
    21
    Is the fCreateShellLink specific to VB5STKIT.DLL only.

    I assumed that it would work with VB6STKIT.DLL on Win2K, but all I get is an error message that "The instruction referenced at memory blah, blah, blah . . ." and then the program terminates. I then found VB5STKIT.DLL and downloaded it and everything works fine.

    Just wondering?


  5. #5

    Thread Starter
    Member
    Join Date
    May 2000
    Location
    USA
    Posts
    37

    Smile Is the fCreateShellLink specific to VB5STKIT.DLL only.

    percidae

    Sorry I haven't got a clue I use 98 SE on my system, however you might check out the email link to Matthew Gates at the bottom of his post. Who might know the answer and did indeed answer my original post on 8-18-2000. I suggest using his email link because its been awhile since I posted it and recieved his reply. Ask him to post his answer on the forum as it would then be a benefit to others as well. I'll do some digging myself and if I come up with an answer I will post it here for you to find. You might also try posting your question about using fCreateShellLink with VB6STKIT.DLL on a Win2K system and also ask if it is specific to VB5STKIT.DLL only, so try starting a new thread as well. Good Luck!

    Jerome W. Norgren

    "Know how to ask. There is nothing more difficult for some people, nor for others, easier."

    - Baltasar Gracian

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