I got your answer send me to :
[email protected] your e-mail address to send to you and attachment whith a .VBP
------------------
Printable View
I got your answer send me to :
[email protected] your e-mail address to send to you and attachment whith a .VBP
------------------
I'm having big trouble with creating shortcuts using VB6.... I can create a shortcut on the startmenu using OSfCreateShellLink(VB6STKIT.DLL) and that works fine... except...
I need to be able to
i) specify a different icon other than the default on the exe and
ii) to specify a different working directory instead of the exe's path
CreateShellLink doesn't seem to have parameters for this so does anyone know how to either
a) create a shortcut in a way that allows the above
b) change a shortcut after creation
Why couldn't they have just used text files? :(
Sorry, i should have been a bit more specific...
I need to be able to create a shortcut with a different icon and working directory to that of the exe...
Neither OSfCreateShellLink or the work-around using the recent documents folder will do this.
Anyone got any ideas?
Check out http://www.planet-source-code.com/vb...xtCodeId=7349.
There is code from the VB6 Pro CD that creates shortcuts.
This will let you specify the working directory, icon source & index.
you can try in
http://www.thescarms.com/VBasic/ShellLnk.htm
There is an example there that you can analize,
Marco.