Re: SHELLNK SAMPLE

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




"mayayana" <mayaXXyana1a@xxxxxxxxxxxxxxxx> wrote in message
news:%23NkwNJkxIHA.4564@xxxxxxxxxxxxxxxxxxxxxxx

looking at the vb sample in Shelllnk I don't see an option that looks
like
'Action' or "Menu" or anything close...

It wouldn't be a shortcut property. It relates to
file extension. You can add context menu items
under HKCR\.ext or HKCR\filetype.
( HKCR\.lnk HKCR\lnkfile )

If you look at other file types in the Registry you'll
see it done both ways. Microsoft seems to usually
add it under the filetype, but as far as I know it works
the same way. You add a Shell subkey, then anything
under that shows in the top section of the contect menu.
That's how the famous "Open With Notepad" tweak is
done.

The .lnk extension has some unusual properties. I don't
know whether you can just add a Shell key like you can
with other file types. For instance, if I click a Desktop
icon and select Open with Notepad it will open the target
program, not the shortcut. If I want to actually open the
.lnk file I have to change the extension.

Another possible option, if you want it for just one
shortcut, would be to create a custom file type, set up
the .cus key with a Shell menu, then set the default
value to "lnkfile". But again, I don't know whether that
will work or not.




thanks we'll play around abit
mark


.



Relevant Pages

  • Re: SHELLNK SAMPLE
    ... It wouldn't be a shortcut property. ... If you look at other file types in the Registry you'll ... You add a Shell subkey, ...
    (microsoft.public.vb.general.discussion)
  • Re: Cant Use IE shortcuts copied to the desktop unless have IE 6 o
    ... towards the end of File Types, as the last person with this problem ... >.dll is missing. ... >> Shortcut") ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Where did Normal.dot go?
    ... right-click on the file and choose "Open Containing Folder." ... that doesn't have the shortcut arrow icon. ... > 'Hide extensions for known file types' is set FALSE ... > When I open a Word document and go to the Visual Basic Editor, ...
    (microsoft.public.word.docmanagement)
  • Re: mailto: shortcut opens up Outlook Express, not new message
    ... Don't know if I can help, but have you checked file types? ... > Thanks PA Bear - to create the shortcut, I right-clicked my desktop and> chose New> Shortcut. ... > When I right-click on the new New Mail Out icon and select 'Properties',> there is only a 'General' tab which informs me that the file type is an> Internet Shortcut which opens with Outlook Express. ... Everything else seems normal with the information> in this icon but it STILL opens up OE and not a new blank message, ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: clickable links
    ... I went to this place and when I went to file types I don't have URL ... I do have the internet Shortcut?? ... URL:HyperText Transfer Protocol with Privacy should be the same. ... Sometimes it is necessary to uncheck Use DDE. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)