Re: Create a shortcut in SendTo menu

Tech-Archive recommends: Fix windows errors by optimizing your registry



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

.



Relevant Pages

  • Re: IBM HDD Problem
    ... >>> TIA ... >>> Bob in Wisconsin ... >> enough to warrant using a data recovery service, ... Arno ...
    (comp.sys.ibm.pc.hardware.storage)
  • How to add a link to a file
    ... the file will show in the solution explorer in Project B with a shortcut ... arrow. ... TIA ...
    (microsoft.public.vsnet.ide)
  • Re: Maximizing window
    ... >Adjust the properties of the shortcut. ... >> How do I set default to open all windows to maximized ... >> TIA ...
    (microsoft.public.win2000.general)
  • Re: Windows Task Manager
    ... > Curious - Is it possible to create a shortcut to Task Manager? ... > TIA ... It's taskmgr.exe and it lives in \windows\system32 ...
    (alt.os.windows-xp)
  • Re: Unknown .exe - MS MVP please?
    ... I did a quick look in and set up a shortcut. ... >> TIA ... > Sorry Edward I'm not even close to being an MVP,But....... ... your DSL connection. ...
    (microsoft.public.windowsxp.general)