Re: Creating a shortcut




<ahoraja@xxxxxxxxxxxxx> wrote in message
news:1154184837.513760.289080@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I would like to create a shortcut of a file on my desktop, but I am
still so much new to API use, anyone could give me a hint please ?

You need to use the IShellLink interface to create shortcuts. Take a
look at
http://search.msdn.microsoft.com/search/Redirect.aspx?title=Shell+Links+&url=http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/programmersguide/shell_int/shell_int_programming/shortcuts/shortcut.asp
for an overview of using it.

--

- Gary Chanson (Windows SDK MVP)
- Abolish Public Schools




.



Relevant Pages

  • Re: Detect idle time
    ... thanks for the hint. ... API only for a single thread and not for the whole system. ... >>Some sort of a Windiows messaage sent? ...
    (microsoft.public.vb.general.discussion)
  • Re: D2005 - Solution to Start up times etc
    ... >done alot more stuff. ... Trivially false. ... Just include a SleepAPI call in your splash screen. ... Hint to the clueless...sleeping isn't doing anything, ...
    (borland.public.delphi.non-technical)
  • Re: Weather Information?
    ... Shane Stump wrote: ... I think "If you want an API or a web service... ... given you a hint. ... Rudy Velthuis ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: Detect idle time
    ... > thanks for the hint. ... > API only for a single thread and not for the whole system. ... Prev by Date: ...
    (microsoft.public.vb.general.discussion)