Solved

Creating Shortcuts

Posted on 1998-07-15
3
207 Views
Last Modified: 2013-11-20
How can I create a shortcut (.lnk file) in an MFC AppWizard program?  I need to be able to create and modify shortcut files on the fly.

I searched online help and found a function called CreateLink, but it doesn't work.
0
Comment
Question by:ardolino
3 Comments
 
LVL 32

Expert Comment

by:jhance
ID: 1319253
I don't have an example handy at this moment so I'm posting this as a comment.  You create/delete/modify links using the IShellLink interface.  See it's documentation for more info.  If someone has an example handy, I'm sure that they will post it.
0
 
LVL 7

Accepted Solution

by:
galkin earned 100 total points
ID: 1319254
0
 

Author Comment

by:ardolino
ID: 1319255
Thanks.  Looks like that will work.  My only problem now is that I need to know what header files to include in order for this code to execute.  I will try to get this from the author of this code at that web site.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

708 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now