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
|
|
|
| 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.
| |
|
| 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
| |
|
| 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.
>
>
| |
|
| 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
| |
|
| 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
>
|
|
|
|
|