Re: Create a shortcut in SendTo menu
- From: arno <rNOSPAMnospam@xxxxxxxxx>
- Date: Fri, 09 Dec 2005 22:20:00 +0100
Tx Ted,
Could you help me out on the required WinAPI calls/constants that go
with that code?
tia,
arno
On Fri, 9 Dec 2005 12:24:16 -0800, "Ted" <2000@xxxxxxxxxx> wrote:
>Create the shortcut on Desktop using fCreateShellLink, then copy it
>to the SendTo folder using the GetSpecialFolderPath
>
> If Len(GetSpecialFolderPath(0, CSIDL_COMMON_SENDTO)) > 0 Then
> FileCopy GetSpecialFolderPath(0, CSIDL_DESKTOP) & "\myapp.lnk", _
> GetSpecialFolderPath(0, CSIDL_COMMON_SENDTO) & "\myapp.lnk"
> Kill GetSpecialFolderPath(0, CSIDL_DESKTOP) & "\myapp.lnk"
>else
>FileCopy GetSpecialFolderPath(0, CSIDL_DESKTOP) & "\myapp.lnk", _
>GetSpecialFolderPath(0, CSIDL_SENDTO) & "\myapp.lnk"
>Kill GetSpecialFolderPath(0, CSIDL_DESKTOP) & "\myapp.lnk"
>End If
.
- References:
- Create a shortcut in SendTo menu
- From: arno
- Create a shortcut in SendTo menu
- Prev by Date: Re: The United States of India
- Next by Date: Re: Visual Basic 6 - Run a shortcut
- Previous by thread: Create a shortcut in SendTo menu
- Next by thread: Re: Create a shortcut in SendTo menu
- Index(es):
Relevant Pages
|