Solved

Creating program groups and icons from VC++

Posted on 1999-01-05
5
157 Views
Last Modified: 2010-04-16
I'm working on an uninstall program for Windows NT 4.0 that can roll back to previous versions with all of the saved settings restored.  Everything works correctly except for one thing and that is creating program groups and icons.  I am looking for either a class that encapsulates this functionality, or a good WORKING example of how to do this.  All of the examples I've found are in either VB, Pascal, or don't work!  I do know that you can either use DDE (which I'm not sure how to use) or create the directories then use IShellLink to create the icons.  I can't get either of these methods to work.

Thank you!

PS:  I'm using Visual C++ 5.0
0
Comment
Question by:rkerr
[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
  • 4
5 Comments
 

Author Comment

by:rkerr
ID: 1181595
Edited text of question
0
 

Author Comment

by:rkerr
ID: 1181596
Edited text of question
0
 
LVL 23

Accepted Solution

by:
chensu earned 70 total points
ID: 1181597
http://www.codeguru.com/shell/filelinks.shtml

Use the SHGetSpecialFolderPath function with the CSIDL_STARTMENU flag to get the Start Menu path.
0
 

Author Comment

by:rkerr
ID: 1181598
Hey, I really appreciate the answer!  I looked on the CodeGuru page in the past and couldn't find the answer there, guess I didn't dig deep enough! :)
0
 

Author Comment

by:rkerr
ID: 1181599
Hey, I really appreciate the answer!  I looked on the CodeGuru page in the past and couldn't find the answer there, guess I didn't dig deep enough! :)
0

Featured Post

Industry Leaders: 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

Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

690 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