I'm a beginner to VB6.
And I can not help but wonder where in Windows can I find the object to read and change properties of shortcuts i.e. desktop-screen-location, ico/dll file, startin-directory, target-file etc. ?
Printable View
I'm a beginner to VB6.
And I can not help but wonder where in Windows can I find the object to read and change properties of shortcuts i.e. desktop-screen-location, ico/dll file, startin-directory, target-file etc. ?
Add a reference to "Microsoft Shell Controls and Automation" under Project/References... then take a look at the ShellLinkObject. Sorry I don't have an example right now, but that should give you an idea where to start.