Solved

Creating Windows shortcuts programmatically

Posted on 2004-10-12
1
527 Views
Last Modified: 2010-05-18
I am using Delphi 3...

How does a programmer create Windows (32-bit) shortcuts programmatically?  I have a HTML file in (let's say) d:\mystuff.  The HTML file is named "hello.html".   I now want to create a Windows SHORTCUT link to this "hello.html" file, and I want the shortcut to appear in "c:\documents and settings\All Users\Start Menu\Programs".

I know how to do this manually, with keyboard, dragging files, etc...  but I do not know how to create a shortcut via Delphi.

Thanks.
0
Comment
Question by:Monroe406
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 17

Accepted Solution

by:
Wim ten Brink earned 125 total points
ID: 12288352
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Delphi: making a BW image transparent 10 136
Breakpoint doesn't stop in my variable 3 47
Microsoft Access 97 and Delphi XE2 9 84
Can Live bindings change TGrid Cell Colour ? 1 61
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question