Click here to Skip to main content
15,891,423 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: time in ascii Pin
Maxwell Chen19-Feb-04 20:46
Maxwell Chen19-Feb-04 20:46 
GeneralRe: time in ascii Pin
styve19-Feb-04 21:09
styve19-Feb-04 21:09 
GeneralRe: time in ascii Pin
Maxwell Chen19-Feb-04 21:20
Maxwell Chen19-Feb-04 21:20 
GeneralRe: time in ascii Pin
styve20-Feb-04 2:20
styve20-Feb-04 2:20 
GeneralRe: time in ascii Pin
Prakash Nadar19-Feb-04 21:21
Prakash Nadar19-Feb-04 21:21 
GeneralRe: time in ascii Pin
styve20-Feb-04 2:24
styve20-Feb-04 2:24 
GeneralRe: time in ascii Pin
David Crow20-Feb-04 3:44
David Crow20-Feb-04 3:44 
GeneralMs WebBrowser GetSource! Pin
Ehsan Baghaki19-Feb-04 20:16
Ehsan Baghaki19-Feb-04 20:16 
hi i have inserter ms web browser acticeX in my project. mr.Sargoytchev told me that if i want to get the source code of the html that is showing by this activeX u should do the following steps:

1. Use the IWebBrowser2::Document property to obtain an IDispatch interface to the DOM document. <br />
<br />
2. Query the obtained IDispatch for IHTMLDocument3. <br />
<br />
3. Use the IHTMLDocument3::createTextNode() method to convert the root node to text.


first how can i get IWebBrowser2 pointer for my ActiveX window.
for example my activeX class is CExplorer1. and my variable is : CExplorer * web1;
here is my code for step one (Correct me if i'm wroing):
IWebBrowser2* pWebBrowser; //this in null and must point to my activeX window i dunno how!<br />
IDispatch* pHtmlDoc = NULL;<br />
HRESULT hr = pWebBrowser->get_Document( &pHtmlDoc );


but i cant write the code to Query the obtained IDispatch for IHTMLDocument3. Frown | :(
any idea ?

thanx.
GeneralTriggers in windows application ^_^!!! Pin
solostar***19-Feb-04 20:11
solostar***19-Feb-04 20:11 
Questionvisual c++ funny or its a bug? Pin
19-Feb-04 18:39
suss19-Feb-04 18:39 
AnswerRe: visual c++ funny or its a bug? Pin
Ehsan Baghaki19-Feb-04 20:49
Ehsan Baghaki19-Feb-04 20:49 
AnswerRe: visual c++ funny or its a bug? [Edited] Pin
Maxwell Chen19-Feb-04 20:52
Maxwell Chen19-Feb-04 20:52 
GeneralRe: visual c++ funny or its a bug? Pin
DimpleSurana19-Feb-04 20:59
DimpleSurana19-Feb-04 20:59 
GeneralRe: visual c++ funny or its a bug? [Edited] Pin
Abin19-Feb-04 21:23
Abin19-Feb-04 21:23 
GeneralRe: visual c++ funny or its a bug? [Edited] Pin
Sebastian Schneider19-Feb-04 21:46
Sebastian Schneider19-Feb-04 21:46 
GeneralRe: visual c++ funny or its a bug? [Edited] Pin
Ehsan Baghaki19-Feb-04 21:46
Ehsan Baghaki19-Feb-04 21:46 
GeneralRe: visual c++ funny or its a bug? [Edited] Pin
Maxwell Chen19-Feb-04 21:47
Maxwell Chen19-Feb-04 21:47 
GeneralRe: visual c++ funny or its a bug? [Edited] Pin
Abin19-Feb-04 22:22
Abin19-Feb-04 22:22 
GeneralRe: visual c++ funny or its a bug? [Edited] Pin
Maxwell Chen19-Feb-04 22:41
Maxwell Chen19-Feb-04 22:41 
AnswerRe: visual c++ funny or its a bug? Pin
Mike Dimmick20-Feb-04 0:44
Mike Dimmick20-Feb-04 0:44 
GeneralRe: visual c++ funny or its a bug? Pin
abdul rafay abbasi20-Feb-04 21:44
abdul rafay abbasi20-Feb-04 21:44 
GeneralRe: visual c++ funny or its a bug? Pin
Mike Dimmick21-Feb-04 3:35
Mike Dimmick21-Feb-04 3:35 
AnswerRe: visual c++ funny or its a bug? Pin
jbarton20-Feb-04 3:31
jbarton20-Feb-04 3:31 
AnswerRe: visual c++ funny or its a bug? Pin
warlu20-Feb-04 20:48
warlu20-Feb-04 20:48 
GeneralCListBox Greying Pin
SVPG19-Feb-04 18:01
SVPG19-Feb-04 18:01 

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.