?
Solved

Creating program groups and icons from VC++

Posted on 1999-01-05
5
Medium Priority
?
159 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 280 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

What’s Wrong with Your Cloud Strategy ?

Even as many CIOs are embracing a cloud-first strategy, the reality is that moving to the cloud is a lengthy process and the end-state is likely to be a blend of multiple clouds—public and private. Learn why multicloud solutions matter in this webinar by Nimble Storage.

Question has a verified solution.

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

  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
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.
Suggested Courses

650 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