mike mcintyre's

.N e t J o u r n a l

This blog hosted by:
http://blogs.vbcity.com      
  Home :: Syndication  :: Login

AprMay 2008Jun
SMTWTFS
27282930123
45678910
11121314151617
18192021222324
25262728293031
1234567

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