Forms with AxWebBrowser takes time to load

  • Thread starter Thread starter gogaz
  • Start date Start date
G

gogaz

Hi,

I am not sure if I am doing somthing wrong, but the forms with
AxWebBrowser control in my VB.NET application takes time to load and
show up on screen when i run in Debug mode in VS

Computer Config:
P4 3.2
1GB RAM
160 GB SATA HDD

Any comments friends?

Warm Regards
 
Hi Gogaz
... but the forms with AxWebBrowser control
in my VB.NET application takes time to load and
show up on screen when I run in Debug mode in VS

That doesn't really surprise me. The control throws several first-time
exceptions when it is loaded, and these take a moment to get over (in
particular the first one thrown). There doesn't really seem to be any way
around this, except to go to VS2005, which has a proper managed wrapper for
the WebBrowser control, and seems to load more quickly.

HTH

Charles
 
Thanx very much Charles.

I will try to convince my ProLeader to get a copy of VS2005 [hope you
are not saying this just to market MS new products :)]

But does that means i will need latest version of .NET Framework as
well? I have got v1.1 at the moment.

Regards
 
I will try to convince my ProLeader to get a copy of VS2005 [hope you
are not saying this just to market MS new products :)]

Not a bit of it. And I should add that although the control in VS2005 has a
proper managed wrapper, it is still the same mshtml and shdocvw underneath,
for better or worse. That means that if you want to do anything clever with
it - show grid, snap-to-grid, squiggly underlining, table column selection -
you will still have to get down-and-dirty with the mshtml interfaces, and
grapple with the lack of detailed documentation on their use and
implementation.
But does that means I will need latest version of .NET Framework as
well? I have got v1.1 at the moment.

Yes, but it will sit side-by-side with V1.1 if you still need to support
that (and the framework, of course, is free).

Charles


Thanx very much Charles.

I will try to convince my ProLeader to get a copy of VS2005 [hope you
are not saying this just to market MS new products :)]

But does that means i will need latest version of .NET Framework as
well? I have got v1.1 at the moment.

Regards
 
Back
Top