stanM


Hi,

Some of us are using WebBrowser control in WinForms environment.
There is a bug intoduced in V6(not present in V5) which occuring when panning the map(an error messages ."Null is 'null or not an object")
It happens unpredictably.
I wonder have MS VE team acknowleged the bug Will it be fixed

Also another bug, 3D map is not resizing correctly in my testing

Regards,

Stan




Re: 'null' is null or not an object

Richard_Brundritt


This would not be considered a bug.The reason for this is that using a WinForm with WebBrowser controls is the same as using an unspported browser. If you were getting the same results using a supported browser then it would be considered a bug.






Re: 'null' is null or not an object

RobertoRaimondo

I am using WebBrowser as well. I encountered that problem, as many others. It was not a VE bug, but rather a wrong usage of the control. I've already answered to this in two other threads: this and this.
I've seen you wrote a couple of posts in one of them before the answer was provided, so I guess you haven't seen it. However let us know if this solution doesn't work for you.

Roberto.






Re: 'null' is null or not an object

stanM

Roberto,

Regretfully the solution you've provided did not work for me.

I do not know where the problem is really but thank you for the good idea in any case.

Stan





Re: 'null' is null or not an object

stanM

Richard,

So, what you are saying that the standard WEB Browser IE control supplyed in .NET is not supported by VE.

Is that so I am confused

Stan





Re: 'null' is null or not an object

RobertoRaimondo

I am sorry about that, Stan, but if you want to explain a little more in detail maybe we can find a solution. In the meanwhile, I'll go back and read what you already wrote in the other thread.

Roberto.





Re: 'null' is null or not an object

stanM

Roberto,

I fixed it thanks to you because I was focused on VE6 and after your post I put the focus on my code.

It is true that I did not allow on page start to reload the map twice but...

Deep in my code at some poit I reloaded the map again based on some conditions, so

instead of reloading I just set the map center, zoom etc.. and everything is fine.

So, thanks again

Stan





Re: 'null' is null or not an object

RobertoRaimondo

Great, the symptoms were so similar to the other problems that it was very likely to be caused by the same issue. I am glad you fixed it.

Roberto.

stanM wrote:

Roberto,

I fixed it thanks to you because I was focused on VE6 and after your post I put the focus on my code.

It is true that I did not allow on page start to reload the map twice but...

Deep in my code at some poit I reloaded the map again based on some conditions, so

instead of reloading I just set the map center, zoom etc.. and everything is fine.

So, thanks again

Stan