Click here to Skip to main content
15,917,617 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalport communication using mfc Pin
parthmankad15-Jan-04 5:47
parthmankad15-Jan-04 5:47 
GeneralRe: port communication using mfc Pin
Diddy15-Jan-04 6:02
Diddy15-Jan-04 6:02 
GeneralDisplaying data from oracle in combo box and edit control Pin
parthmankad15-Jan-04 5:43
parthmankad15-Jan-04 5:43 
GeneralMFC Pin
parthmankad15-Jan-04 5:37
parthmankad15-Jan-04 5:37 
GeneralRe: MFC Pin
David Crow15-Jan-04 6:06
David Crow15-Jan-04 6:06 
GeneralGrid lines Pin
nazir_m15-Jan-04 5:17
nazir_m15-Jan-04 5:17 
QuestionHow to intercept control-N in CDHTMLDialog app? Pin
Jim Howard15-Jan-04 5:03
Jim Howard15-Jan-04 5:03 
Generalsample of uninstallation Pin
includeh1015-Jan-04 4:46
includeh1015-Jan-04 4:46 
hi,
i am developing an install/uninstall program, but i have Q about remove items from Start Menu.

following lines can easily add items to Start menu

//=================================================
CString csBuf= "[progman.groups]\r\n"
"groupX=_g0\r\n"
"[groupX]\r\n"
"\"R0\",\"c:\\_temp\\abc.txt\"\r\n"
"\"R1\",\"c:\\_temp\\efg.txt\"\r\n"
"\"c:\\_temp\"\r\n";

const CString csIni="C:\\WINDOWS\\setup.ini";
int fh=_lcreat(csIni,0);

if(fh!=-1)
{
_lwrite(fh,csBuf,csBuf.GetLength());
_lclose(fh);
WinExec("grpconv -o",SW_SHOW);
}

//=========================================

Q:
1. how to delete (uninstall) items from Start menu programmatically (any way)?
2. is code above good for add items to Start menu? what is best or better method?
3. any recommend for install/uninstall (espcially-uninstall) samples (links etc) - samples in msdn look no good.

thanks




includeh10
GeneralRe: sample of uninstallation Pin
l a u r e n15-Jan-04 6:00
l a u r e n15-Jan-04 6:00 
GeneralRe: sample of uninstallation Pin
includeh1015-Jan-04 6:20
includeh1015-Jan-04 6:20 
GeneralRe: sample of uninstallation Pin
l a u r e n15-Jan-04 6:24
l a u r e n15-Jan-04 6:24 
GeneralRe: sample of uninstallation Pin
includeh1015-Jan-04 6:44
includeh1015-Jan-04 6:44 
GeneralRe: sample of uninstallation Pin
l a u r e n15-Jan-04 6:45
l a u r e n15-Jan-04 6:45 
GeneralProblems calling JavaScript from VC++ Pin
ReneDalsgaard15-Jan-04 4:20
ReneDalsgaard15-Jan-04 4:20 
GeneralThreads.. Pin
Laing,James15-Jan-04 4:01
Laing,James15-Jan-04 4:01 
GeneralRe: Threads.. Pin
Mike Dimmick15-Jan-04 4:43
Mike Dimmick15-Jan-04 4:43 
GeneralRe: Threads.. Pin
Anonymous15-Jan-04 4:54
Anonymous15-Jan-04 4:54 
GeneralRe: Threads.. Pin
Diddy15-Jan-04 5:28
Diddy15-Jan-04 5:28 
GeneralRe: Threads.. Pin
Laing,James15-Jan-04 5:58
Laing,James15-Jan-04 5:58 
GeneralRe: Threads.. Pin
Diddy15-Jan-04 6:04
Diddy15-Jan-04 6:04 
GeneralRe: Threads.. Pin
Laing,James15-Jan-04 6:07
Laing,James15-Jan-04 6:07 
GeneralRe: Threads.. Pin
Laing,James15-Jan-04 10:29
Laing,James15-Jan-04 10:29 
GeneralRe: Threads.. Pin
Abhishek Srivastava15-Jan-04 16:58
Abhishek Srivastava15-Jan-04 16:58 
GeneralMSDN installation Pin
Rob Catterall15-Jan-04 3:15
Rob Catterall15-Jan-04 3:15 
GeneralRe: MSDN installation Pin
Maximilien15-Jan-04 3:25
Maximilien15-Jan-04 3:25 

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.