By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,692 Members | 1,218 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,692 IT Pros & Developers. It's quick & easy.

Problem with AxWebBrowser on an MDI Child

P: n/a
Hi All, I'm fairly new to VB.NET so I don't know if this is me or what, if I
drop a AxWebBrowser COM control on an MDI Child form, and run the program,
it appears to lock up as it's loading the form, take it off the form, and it
runs fine....I then put it back on, and Rem'ed out the line below from the
'windows designer generated code' region, and it works great!

CType(Me.AxWebBrowser1, System.ComponentModel.ISupportInitialize).EndInit( )

What does the above line do exactly, something to do with the COM/.NET
wrapper Ive read about?
It also runs fine if I drop the WebBrowser control on a regular form, rather
than an MDI child form.

While I'm here, is there a better alternative to using 'old' COM controls
such as the web browser?


Nov 20 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.