Click here to Skip to main content
15,904,339 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: signed char[] to CString Pin
PaulowniaK28-Feb-10 20:41
PaulowniaK28-Feb-10 20:41 
GeneralRe: signed char[] to CString Pin
«_Superman_»28-Feb-10 21:46
professional«_Superman_»28-Feb-10 21:46 
GeneralRe: signed char[] to CString Pin
PaulowniaK28-Feb-10 21:49
PaulowniaK28-Feb-10 21:49 
AnswerRe: signed char[] to CString Pin
Iain Clarke, Warrior Programmer28-Feb-10 21:35
Iain Clarke, Warrior Programmer28-Feb-10 21:35 
GeneralRe: signed char[] to CString Pin
PaulowniaK28-Feb-10 21:50
PaulowniaK28-Feb-10 21:50 
QuestionCall default internet browser Pin
Behzad Saffarian28-Feb-10 9:50
Behzad Saffarian28-Feb-10 9:50 
AnswerRe: Call default internet browser Pin
Richard MacCutchan28-Feb-10 10:34
mveRichard MacCutchan28-Feb-10 10:34 
AnswerRe: Call default internet browser Pin
wangningyu28-Feb-10 13:09
wangningyu28-Feb-10 13:09 
you can reference this code :

int OpenGG()
{
	// defined the structure object
	PROCESS_INFORMATION pi;
	STARTUPINFO	    si;
	BOOL		    bRet;
	
	// application memory space
	ZeroMemory(&pi,sizeof(PROCESS_INFORMATION));
	ZeroMemory(&pi,sizeof(PROCESS_INFORMATION));
	ZeroMemory(&si,sizeof(STARTUPINFO));
	ZeroMemory(&si,sizeof(STARTUPINFO));
	
	// Setting process was initiated in property
	si.cb		=	sizeof(STARTUPINFO);
	si.lpReserved	=	NULL;
	si.lpDesktop	=	NULL;
	si.lpTitle	=	NULL;
	si.dwFlags	=	STARTF_USESHOWWINDOW;
	si.wShowWindow	=	SW_SHOWMAXIMIZED; //if this parameter SW_HIDE ,the IEFrame will be hide. 
	si.cbReserved2	=	NULL;
	si.lpReserved2	=	NULL;
	
	CString	strUrl = "C:\\Program Files\\Internet Explorer\\IEXPLORE.exe http://www.google.cn";
	bRet = CreateProcess(NULL,(LPTSTR)(LPCTSTR)strUrl,NULL,NULL,FALSE,0,NULL,NULL,&si,&pi);
	return bRet;
}


there leave a blank space between the "IEXPLORE.exe" and "http://...".

Good Luck !
GeneralRe: Call default internet browser Pin
David Crow28-Feb-10 16:42
David Crow28-Feb-10 16:42 
GeneralRe: Call default internet browser Pin
wangningyu28-Feb-10 16:51
wangningyu28-Feb-10 16:51 
GeneralRe: Call default internet browser Pin
Stephen Hewitt28-Feb-10 19:25
Stephen Hewitt28-Feb-10 19:25 
AnswerRe: Call default internet browser Pin
Behzad Saffarian1-Mar-10 6:57
Behzad Saffarian1-Mar-10 6:57 
QuestionRe: Call default internet browser Pin
David Crow1-Mar-10 9:06
David Crow1-Mar-10 9:06 
GeneralRe: Call default internet browser Pin
wangningyu1-Mar-10 13:29
wangningyu1-Mar-10 13:29 
GeneralRe: Call default internet browser Pin
Stephen Hewitt1-Mar-10 17:33
Stephen Hewitt1-Mar-10 17:33 
GeneralRe: Call default internet browser Pin
Stephen Hewitt1-Mar-10 17:35
Stephen Hewitt1-Mar-10 17:35 
QuestionDefine "overllaped" in serial communication - please [modified] SOLVED - see reference links in thread Pin
Vaclav_28-Feb-10 5:08
Vaclav_28-Feb-10 5:08 
AnswerRe: Define "overllaped" in serial communication - please Pin
CPallini28-Feb-10 6:11
mveCPallini28-Feb-10 6:11 
GeneralRe: Define "overllaped" in serial communication - please Pin
Vaclav_28-Feb-10 6:30
Vaclav_28-Feb-10 6:30 
AnswerRe: Define "overllaped" in serial communication - please Pin
Iain Clarke, Warrior Programmer28-Feb-10 21:41
Iain Clarke, Warrior Programmer28-Feb-10 21:41 
GeneralRe: Define "overllaped" in serial communication - please Pin
Vaclav_1-Mar-10 4:37
Vaclav_1-Mar-10 4:37 
QuestionAlternatives to MSMQ Pin
tximo27-Feb-10 22:52
tximo27-Feb-10 22:52 
AnswerRe: Alternatives to MSMQ Pin
Garth J Lancaster28-Feb-10 0:17
professionalGarth J Lancaster28-Feb-10 0:17 
GeneralRe: Alternatives to MSMQ Pin
tximo28-Feb-10 8:58
tximo28-Feb-10 8:58 
GeneralRe: Alternatives to MSMQ Pin
Luc Pattyn28-Feb-10 9:04
sitebuilderLuc Pattyn28-Feb-10 9:04 

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.