mike mcintyre's

.N e t J o u r n a l

vbCity Blogs moved to:
http://cs.vbcity.com/blogs
  Home :: Syndication  :: Login

OctNovember 2009Dec
SMTWTFS
25262728293031
1234567
891011121314
15161718192021
22232425262728
293012345

Archives

Topics

Source Code

The VB example code in the Visual Studio 2005 Beta1 help topic: “How to Implement Two-Way Communication Between DHTML Code and Client Application Code” does not work.

By default, Visual Studio 2005 disables COM visibility. The class that will be the WebBrowser control's ObjectForScripting, Form1 in the example, must be COM visible.

To give Form1 in the help topic example COM visibility use the ComVisible attribute to make it COM visible:

_

Public Class Form1

   ‘... code

End Class

posted on Tuesday, November 30, 2004 8:06 AM