Is Microsoft only allowed to play in the sandbox too ?


V

Vic Ceccato

VB6 let me do a simple thing...
.... create an ActiveX Document and host it in a WebBrowser Control with
2-way communication enabled to the parent form.

(ie. put a webbrowser control on a form and browse an activex doc (*.vbd)
and call public functions in the doc to pass data)

After migrating to Visual Studio 2005 I find out Microsoft don't want this
anymore (cool .. ive already come to terms with microsoft torching my years
of work and investment money)

So .. I decide to create a UserControl (VB.NET 2005) and host it in a
WebBroswer control on a parent form.

After pulling a lot of my hair out I work out how to acheive this and show a
UserControl (local from disk) in the webbrowser control.

Yes I know ... I have to implement COM interop and create a registry CLSID
... and yeah I know microsoft are working towards torching this in the future
too, but for now it seems I have no choice (maybe I can make my invested
money/time back and quit the software industry before it constricts down to
a web terminal).

Heres my last problem .. How do implement 2-way communication between the
UserControl (hosted in the WebBrowser Control) and the parent form (hosting
the WebBrowser Control) ?

PS ... I wonder if Microsoft Applications (like MS Office) are only allowed
to play in the sandbox too ... or is the sandbox only for enthusiasts like
me and all the other independent software developers (oops enthusiasts) of
the world.

Victor
 
Ad

Advertisements

G

Guest

Heres my last problem .. How do implement 2-way communication between
the UserControl (hosted in the WebBrowser Control) and the parent form
(hosting the WebBrowser Control) ?

Give up on user controls - way too many security restrictions.
 
Ad

Advertisements

S

SurturZ

ActiveX Documents? You poor bloke, I feel sorry for you.

I think Silverlight is the new way of running code through the browser.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top