For Programmers: Free Programming Magazines  


Home > Archive > Visual Basic > May 2004 > how to generate shortcut icon on desktop









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author how to generate shortcut icon on desktop
ken

2004-05-28, 12:31 pm

Hi,

I have an VB application will generate a dail-up connection by click a
button. I can found the dail-up icon on "network connection", but how
can I create this as a shortcut on my desktop automatically when I run
the application, click the button!?

Thx.

Venkat Srinivasan.R [ MSFT ]

2004-05-28, 6:30 pm


This posting is provided "AS IS" with no warranties, and confers no rights

Hi ,

I found the following KB that talk abt some thing similar ..chk out

HOWTO: Create Shortcuts (Shell Links) within Windows :
========================================
==========

http://support.microsoft.com/defaul...kb;en-us;155303

Hope i answered ur query,
Regards,
Venkat.


Kjell

2004-05-28, 9:30 pm

Working with shortcuts seems to be tricky, that's my experience when asking for help/support on internet.

but, anyway you do it with an API call named fCreateShellLink

look for it on Google

Kjell

ken

2004-05-29, 2:30 am

thank you for al of your kindly help.
may I ask one question more, how can I find the "program file path" of
my "Modem Network Connection" which created by my pervious VB application?


Venkat Srinivasan.R [ MSFT ] wrote:
> This posting is provided "AS IS" with no warranties, and confers no rights
>
> Hi ,
>
> I found the following KB that talk abt some thing similar ..chk out
>
> HOWTO: Create Shortcuts (Shell Links) within Windows :
> ========================================
==========
>
> http://support.microsoft.com/defaul...kb;en-us;155303
>
> Hope i answered ur query,
> Regards,
> Venkat.
>
>


mscir

2004-05-29, 3:30 am

ken wrote:[color=darkred]
> thank you for al of your kindly help.
> may I ask one question more, how can I find the "program file path" of
> my "Modem Network Connection" which created by my pervious VB application?
>
> Venkat Srinivasan.R [ MSFT ] wrote:
>

I like this approach, one nice feature is that it detects the desktop
folder.

http://www.thescarms.com/vbasic/Shortcuts.asp

Mike

ken

2004-05-29, 4:30 am

thx Mike

but I still can not locate my specific "Modem Network Connection" from
the above resources...


mscir wrote:
> ken wrote:
>
>
>
> I like this approach, one nice feature is that it detects the desktop
> folder.
>
> http://www.thescarms.com/vbasic/Shortcuts.asp
>
> Mike
>


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com