Click here to Skip to main content
15,914,160 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Change process security context Pin
Daniel Lohmann24-Jul-02 3:42
Daniel Lohmann24-Jul-02 3:42 
GeneralPass BYTE Array from VB to ATL COM Pin
Anonymous23-Jul-02 20:04
Anonymous23-Jul-02 20:04 
GeneralRe: Pass BYTE Array from VB to ATL COM Pin
Christian Graus23-Jul-02 20:22
protectorChristian Graus23-Jul-02 20:22 
GeneralRe: Pass BYTE Array from VB to ATL COM Pin
Anonymous23-Jul-02 20:39
Anonymous23-Jul-02 20:39 
QuestionHow to get properties of control. Pin
Raman Chilukuri23-Jul-02 19:16
Raman Chilukuri23-Jul-02 19:16 
QuestionHow can I do it in Mscomm control? Pin
glinda23-Jul-02 16:29
glinda23-Jul-02 16:29 
AnswerRe: How can I do it in Mscomm control? Pin
NormDroid23-Jul-02 22:24
professionalNormDroid23-Jul-02 22:24 
QuestionHow to Add Start menu shortcut in Setup program Pin
a3gupta23-Jul-02 15:22
a3gupta23-Jul-02 15:22 
Hello,

I am using Installshield for VC++ 6.0 to build a setup program for my program. I was wondering how can I add a shortcut in the startmenu for my programs exe file in the start menu.
Right now .. I am using the follwing code to make the icon in the startmenu

svPath = TARGETDIR ^ "TDMS2000.exe";
LongPathToQuote ( svPath , TRUE );
AddFolderIcon (FOLDER_PROGRAMS^SHELL_OBJECT_FOLDER , "TDMS2000" , svPath , "" , "" , 0 , "" , REPLACE );

But there is a problem with this code. My program needs a .dat file to start that resides in the same directory as the exe file. So when I follow the link created in my start meny using the code above .. the program fails to see that .dat file. When I create a shortcut manually and place it in the start menu .. the program works file.

I will really appreciate any solution to this problem. Thanks!

Sincerely,
Anjum.
AnswerRe: How to Add Start menu shortcut in Setup program Pin
super23-Jul-02 23:32
professionalsuper23-Jul-02 23:32 
GeneralRe: How to Add Start menu shortcut in Setup program Pin
a3gupta23-Jul-02 23:52
a3gupta23-Jul-02 23:52 
GeneralRe: How to Add Start menu shortcut in Setup program Pin
super24-Jul-02 1:17
professionalsuper24-Jul-02 1:17 
Generalleft scroll bar Pin
Steve L.23-Jul-02 13:25
Steve L.23-Jul-02 13:25 
GeneralRe: left scroll bar Pin
Peter Occil23-Jul-02 16:23
Peter Occil23-Jul-02 16:23 
GeneralI get an error when using DAO with Text files Pin
achandra00723-Jul-02 12:32
achandra00723-Jul-02 12:32 
QuestionHow do I use insertion mark in the ListView control? Pin
Hiusing23-Jul-02 12:17
Hiusing23-Jul-02 12:17 
AnswerRe: How do I use insertion mark in the ListView control? Pin
Joaquín M López Muñoz23-Jul-02 12:48
Joaquín M López Muñoz23-Jul-02 12:48 
QuestionDialog App how do I get VK_RIGHT??? Pin
Anonymous23-Jul-02 11:51
Anonymous23-Jul-02 11:51 
AnswerRe: Dialog App how do I get VK_RIGHT??? Pin
Joaquín M López Muñoz23-Jul-02 11:55
Joaquín M López Muñoz23-Jul-02 11:55 
GeneralOLE Drag Drop without MFC Pin
CaesarCZ23-Jul-02 11:50
CaesarCZ23-Jul-02 11:50 
Generallosing stdin when redirecting stdout and stderr Pin
Peter Weyzen23-Jul-02 11:19
Peter Weyzen23-Jul-02 11:19 
Generaldrag drop, list view Pin
Chris Losinger23-Jul-02 9:48
professionalChris Losinger23-Jul-02 9:48 
GeneralRe: drag drop, list view Pin
CaesarCZ23-Jul-02 11:45
CaesarCZ23-Jul-02 11:45 
GeneralRe: drag drop, list view Pin
l a u r e n23-Jul-02 12:27
l a u r e n23-Jul-02 12:27 
GeneralRe: drag drop, list view Pin
Shog923-Jul-02 17:58
sitebuilderShog923-Jul-02 17:58 
GeneralRe: drag drop, list view Pin
Bhikshapathi Gorantla23-Jul-02 19:07
Bhikshapathi Gorantla23-Jul-02 19:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.