Click here to Skip to main content
15,939,960 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: Where is this managed object stored? Pin
slawomir_orlowski28-Jan-12 22:51
slawomir_orlowski28-Jan-12 22:51 
QuestionActiveX issue: ATL 8.0 text in IE Pin
birajendu5-Jan-12 19:32
birajendu5-Jan-12 19:32 
AnswerRe: ActiveX issue: ATL 8.0 text in IE Pin
John Schroedl6-Jan-12 4:48
professionalJohn Schroedl6-Jan-12 4:48 
GeneralRe: ActiveX issue: ATL 8.0 text in IE Pin
birajendu8-Jan-12 20:15
birajendu8-Jan-12 20:15 
QuestionUsing a webBrowser control to format process feedback. Pin
PapaGeek4-Jan-12 7:04
PapaGeek4-Jan-12 7:04 
AnswerRe: Using a webBrowser control to format process feedback. Pin
Luc Pattyn4-Jan-12 7:33
sitebuilderLuc Pattyn4-Jan-12 7:33 
AnswerRe: Using a webBrowser control to format process feedback. Pin
John Schroedl6-Jan-12 4:40
professionalJohn Schroedl6-Jan-12 4:40 
AnswerRe: Using a webBrowser control to format process feedback. Pin
Sam Hobbs13-Feb-12 19:22
Sam Hobbs13-Feb-12 19:22 
First note that it should be "about:blank" not "about::empty". There is just one colon, not two, and use blank instead of empty. You can try all those out in a browser window and if you do I think you will see that you need to use "about:blank".

Next, yes; you must wait for the navigation to complete. The common way to do that is to handle the DocumentComplete event. That event is used so much that it is the default event for the WebBrowser control. In other words, if you double-click on the WebBrowser control in the designer, then a handler for the DocumentComplete event will be automatically added.

I am not sure how to clear the page when you use Write to write HTML. What I would do in my DocumentComplete event handler is to use:

webBrowser1->Document.Body.InnerHtml = showLine;
C++



I have been using C# more than I have been using C++ lately so that syntax might be incorrect but I assume you can fix it if needed.

Note however that you need to wait for the document to be complete only once; after that, you can change the HTML without waiting, but you might need to wait for DocumentComplete event if you need to immediately use the document.
QuestionHow to marshal following native C++ objects to C++/CLI? Pin
Alok Jadhav3-Jan-12 19:55
Alok Jadhav3-Jan-12 19:55 
QuestionHow to define the Image in Headerfile like this? VC++2010 Pin
Paramu197330-Dec-11 23:28
Paramu197330-Dec-11 23:28 
AnswerRe: How to define the Image in Headerfile like this? VC++2010 Pin
Richard MacCutchan31-Dec-11 1:26
mveRichard MacCutchan31-Dec-11 1:26 
GeneralRe: How to define the Image in Headerfile like this? VC++2010 Pin
Paramu197331-Dec-11 1:57
Paramu197331-Dec-11 1:57 
QuestionHow do I create a text box with formatted text? Pin
PapaGeek30-Dec-11 7:58
PapaGeek30-Dec-11 7:58 
AnswerRe: How do I create a text box with formatted text? Pin
Luc Pattyn30-Dec-11 9:36
sitebuilderLuc Pattyn30-Dec-11 9:36 
GeneralRe: How do I create a text box with formatted text? Pin
PapaGeek30-Dec-11 9:58
PapaGeek30-Dec-11 9:58 
AnswerRe: How do I create a text box with formatted text? Pin
Luc Pattyn30-Dec-11 10:38
sitebuilderLuc Pattyn30-Dec-11 10:38 
AnswerRe: How do I create a text box with formatted text? Pin
Sam Hobbs13-Feb-12 19:32
Sam Hobbs13-Feb-12 19:32 
QuestionHow to have the Modules like VB.Net to use Public variables & Functions in VC++2010? Pin
Paramu197328-Dec-11 21:06
Paramu197328-Dec-11 21:06 
AnswerRe: How to have the Modules like VB.Net to use Public variables & Functions in VC++2010? Pin
Richard MacCutchan28-Dec-11 21:42
mveRichard MacCutchan28-Dec-11 21:42 
GeneralRe: How to have the Modules like VB.Net to use Public variables & Functions in VC++2010? Pin
Paramu197328-Dec-11 22:40
Paramu197328-Dec-11 22:40 
QuestionHow to have a Excel Cell Value vc++2010? Pin
Paramu197325-Dec-11 4:55
Paramu197325-Dec-11 4:55 
AnswerRe: How to have a Excel Cell Value vc++2010? Pin
Paramu197325-Dec-11 20:32
Paramu197325-Dec-11 20:32 
QuestionHow to add reference for Microsoft.Office.Interop.Excel in Visual C++2010 ? Pin
Paramu197324-Dec-11 4:33
Paramu197324-Dec-11 4:33 
AnswerRe: How to add reference for Microsoft.Office.Interop.Excel in Visual C++2010 ? Pin
Richard MacCutchan24-Dec-11 6:18
mveRichard MacCutchan24-Dec-11 6:18 
QuestionCutePDF writer generates PS not PDF Pin
susan1246821-Dec-11 12:33
susan1246821-Dec-11 12:33 

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.