Connecting Tech Pros Worldwide Help | Site Map

VC++ and ActiveX Microsoft Web Browser

Zawa
Guest
 
Posts: n/a
#1: Jul 23 '05
Why, when a I put and ActiveX Microsoft Web Browser component on my dialog
(e.g. CBrowserDlg) and then call DoModal() dialog doesn't appear and
DoModal() reasult -1 ? Should I register somehow this ActiveX in my project?



Alf P. Steinbach
Guest
 
Posts: n/a
#2: Jul 23 '05

re: VC++ and ActiveX Microsoft Web Browser


* Zawa:[color=blue]
> [off-topic][/color]

--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
Victor Bazarov
Guest
 
Posts: n/a
#3: Jul 23 '05

re: VC++ and ActiveX Microsoft Web Browser


Zawa wrote:[color=blue]
> Why, when a I put and ActiveX Microsoft Web Browser component on my dialog
> (e.g. CBrowserDlg) and then call DoModal() dialog doesn't appear and
> DoModal() reasult -1 ? Should I register somehow this ActiveX in my project?[/color]

Why, when there are ActiveX programming newsgroups and MFC programming
newsgroups and MS Windows programming newsgroups, specifically created
for these questions, do we get those posts here, in a _language_ forum?
Zawa
Guest
 
Posts: n/a
#4: Jul 23 '05

re: VC++ and ActiveX Microsoft Web Browser


Sorry, my mistake ...


Ron Natalie
Guest
 
Posts: n/a
#5: Jul 23 '05

re: VC++ and ActiveX Microsoft Web Browser


Zawa wrote:[color=blue]
> Why, when a I put and ActiveX Microsoft Web Browser component on my dialog
> (e.g. CBrowserDlg) and then call DoModal() dialog doesn't appear and
> DoModal() reasult -1 ? Should I register somehow this ActiveX in my project?
>
>
>[/color]
Make sure you do OLEInitialize or something appropriate if you're going
to use COM/ActiveX in your app.
Closed Thread