Creating links

Cyber_Zeus
06-06-2005, 05:21 AM
Hi guys!
I have a vb app that must create a link to a file on the desktop.
How can I do this?

Thanx
CyberZeus

King_George
06-06-2005, 07:59 AM
Hi guys!
I have a vb app that must create a link to a file on the desktop.
How can I do this?

Thanx
CyberZeus
For a start, you can make a pseudo-link by using a label and formatting it to look like a link. Then use the file name for the link text. Finally when someone double-clicks the label, open and display the file. Without knowing what you are trying to do and why, thats the basics.

HTH

Cyber_Zeus
06-06-2005, 11:02 AM
For a start, you can make a pseudo-link by using a label and formatting it to look like a link. Then use the file name for the link text. Finally when someone double-clicks the label, open and display the file. Without knowing what you are trying to do and why, thats the basics.

HTH

Thank you, but this isn't the point. The link MUST BE LOCATED ON THE DESKTOP.

King_George
06-06-2005, 11:49 AM
Thank you, but this isn't the point. The link MUST BE LOCATED ON THE DESKTOP.

Hm..wish you had mentioned that before...now that makes it much more difficult..

Just to be clear, you want a file shortcut link created on the desktop using a vb application? Something like you give it parameters, then the app will write the desktop shortcut?

herilane
06-06-2005, 02:40 PM
http://support.microsoft.com/kb/Q244677
(Which just happens to be the first link that comes up when you Google for "Visual basic" create desktop shortcut... I guess that was too much work? :rolleyes: )

jpaugh78
06-06-2005, 02:49 PM
yeah, but if everybody used google well, we wouldn't have much of a message board, heh.

Cyber_Zeus
06-07-2005, 12:39 AM
http://support.microsoft.com/kb/Q244677
(Which just happens to be the first link that comes up when you Google for "Visual basic" create desktop shortcut... I guess that was too much work? :rolleyes: )

Thank you, I didn't think to use Google....... sorry :chuckle:

King_George
06-07-2005, 07:52 AM
http://support.microsoft.com/kb/Q244677
(Which just happens to be the first link that comes up when you Google for "Visual basic" create desktop shortcut... I guess that was too much work? :rolleyes: )
Dang beat me to this...I found the answer in 10 seconds..

Google is my best buddy...

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum