how open a website page in MFC
-
Hi I am useing ShellExecute() function for open Internet Expoler Using this code UpdateData(TRUE); ShellExecute( 0, "open","C:\\Program Files\\Internet Explorer\\IEXPLORE.EXE",0,0,SW_SHOW); Its work correctly.... Now I want When i press OK Button a A web page (Suppose www.codeproject.com )open can any one told me how can i do this
Regard's Kaushik
-
Hi I am useing ShellExecute() function for open Internet Expoler Using this code UpdateData(TRUE); ShellExecute( 0, "open","C:\\Program Files\\Internet Explorer\\IEXPLORE.EXE",0,0,SW_SHOW); Its work correctly.... Now I want When i press OK Button a A web page (Suppose www.codeproject.com )open can any one told me how can i do this
Regard's Kaushik
ShellExecute( 0, "open","www.codeproject.com",0,0,SW_SHOW);
-
ShellExecute( 0, "open","www.codeproject.com",0,0,SW_SHOW);
-
Hi I am useing ShellExecute() function for open Internet Expoler Using this code UpdateData(TRUE); ShellExecute( 0, "open","C:\\Program Files\\Internet Explorer\\IEXPLORE.EXE",0,0,SW_SHOW); Its work correctly.... Now I want When i press OK Button a A web page (Suppose www.codeproject.com )open can any one told me how can i do this
Regard's Kaushik
Do you need to
CDhtmlDialog
?
WhiteSky
-
Do you need to
CDhtmlDialog
?
WhiteSky
I make a application ( Program )in MFC Modal Dialog based now. Suppose i make a button in any form . I need when i press it an SDI Application open ( I don't know Its possible or not) If Yes How can we call SDI program . How we will be set depedency between project.
Regard's Kaushik
-
Hi I am useing ShellExecute() function for open Internet Expoler Using this code UpdateData(TRUE); ShellExecute( 0, "open","C:\\Program Files\\Internet Explorer\\IEXPLORE.EXE",0,0,SW_SHOW); Its work correctly.... Now I want When i press OK Button a A web page (Suppose www.codeproject.com )open can any one told me how can i do this
Regard's Kaushik
Checkout the XHyperLink[^] article. There you'll find the static method
CXHyperLink::GoToURL()
which does some advanced checking instead of justShellExecute
'ing the passed URL. Since the method is static you can just copy&paste the method into your own code if you don't want to use the wholeCXHyperLink
class.cheers, mykel
OMM: "Let us be thankful we have an occupation to fill. Work hard, increase production, prevent accidents and be happy."
-
I make a application ( Program )in MFC Modal Dialog based now. Suppose i make a button in any form . I need when i press it an SDI Application open ( I don't know Its possible or not) If Yes How can we call SDI program . How we will be set depedency between project.
Regard's Kaushik
I dont know this message is like your previous message or is different if you want to open html page on your program you can also use of
CHtmlView
.
WhiteSky
-
Checkout the XHyperLink[^] article. There you'll find the static method
CXHyperLink::GoToURL()
which does some advanced checking instead of justShellExecute
'ing the passed URL. Since the method is static you can just copy&paste the method into your own code if you don't want to use the wholeCXHyperLink
class.cheers, mykel
OMM: "Let us be thankful we have an occupation to fill. Work hard, increase production, prevent accidents and be happy."