Hi,
I have just upgraded to .NET and very confused![]()
I am trying to port some code I wrote in VB6 and it works just fine. However trying to do the same in .NET is causing me grief!
I am using the webbrowser control to display local HTML pages, however I wish to suppress right clicks, to stop the context menu being displayed (and no I don’t want to use JAVASCRIPT as there is other reasons for this).
In VB6 my code work a treat, however trying to do the same in .NET it don’t work right. The basic problem is I cannot click on any button, control or link!
I have attached sample code for VB6 version and .NET version.
I am using .NET 2003
Any help of where I am going wrong would be very grateful![]()




Reply With Quote