Solved

Creating program groups and icons from VC++

Posted on 1999-01-05
5
155 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
  • 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
simple way to manipulate chinese characters in non unicode mfc c++ application. 9 173
how to understand recursion 12 226
thread-safe code in c++ 2 100
c++, dynamic object by json 1 42
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…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

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