Answered ShockwaveFlash and SHDocVw?

Nebster

New member
Joined
Jun 19, 2008
Messages
2
Programming Experience
3-5
Hi everyone,

I'm wondering, so far, I have created a browser with AxSHDocVw.AxWebBrowser and it loads a webpage with a Shockwave element in it. How can I access this?

For C++:
http://www.codeproject.com/KB/cpp/FlashGui.aspx

I can't find QueryInterface in the VB.Net libraries (I've also looked for IUnknown). How can I load the element into a variable of type IShockwaveFlash?

Thanks
 
Last edited:
Thought I'd just like to say, I sorted this.
It was quite simple and I'll post the info here for anyone else:

Dim t As MSHTML.IHTMLObjectElement = GlobalVars.Browser.Document.all.item("radio", 0)
Dim tst As ShockwaveFlashObjects.IShockwaveFlash = t.Object

That works so far

btw:
GlobalVars.Browser is an AxWebBrowser
radio is the id of the flash item
 
Back
Top