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.
Printable View
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.
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", "")
To: Matthew Gates
Right on the money again!
Thank you very much!!!
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?
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!