Home All Groups Group Topic Archive Search About

createShortcut with Icon from Web

Author
19 Sep 2005 6:44 PM
Tom
I have a vb6 app that the user runs from a web page.
When the user runs the app from the web, it checks a few things
and then creates a desktop URL shortcut.  So far so good.  But now,
I need to provide a custom icon for the shortcut.  So, how do I
make this part of my assemby and 'copy' the icon into the system
directory so I can attach it to my shortcut?
For example, can I use FSO somehow to copy the icon?
--
Tom

Author
19 Sep 2005 8:49 PM
Jeff Johnson [MVP: VB]
"Tom" <T**@discussions.microsoft.com> wrote in message
news:E17A04D3-739A-4F3D-8098-8AA59C0D1399@microsoft.com...

> So, how do I
> make this part of my assemby and 'copy' the icon into the system
> directory so I can attach it to my shortcut?

"Assembly"? You sure you're using VB6 or earlier?