Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Creating Shortcuts

Posted on 1998-07-15
3
Medium Priority
?
254 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 400 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

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…
Ready to get certified? Check out some courses that help you prepare for third-party exams.
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.
Integration Management Part 2
Suggested Courses
Course of the Month12 days, 22 hours left to enroll

971 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