Solved

Creating Windows shortcuts programmatically

Posted on 2004-10-12
1
525 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
1 Comment
 
LVL 17

Accepted Solution

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

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

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…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

776 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