D
Doe
Okay, I've given up on using the "new" WebBrowser in 2005 to do what I
want to do -- tabbed browsing. It seems I really need RegisterAsBrowser
and Application to get each instance of a browser working on each tab
(and those methods are not available in 2005).
I found some code on MSDN forums, but the extention didn't really cover
RegisterAsBrowser. Someone told me how to do it, but it's in c and
basically over my head. Even though he later added some VB code (<In>
should be changed to <[In]>). I would need definitions for each
OLECMD... and I couldn't figure out what to attach the interfaces to...
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=283565&SiteID=1...
Sigh. So I figured, okay, this is a LOT OF TROUBLE just to make the
"new" browser work like the "old" browser. So I'll just USE the "old"
AxWebBrowser in 2005. Solves all my problems, code will work, will have
RegisterAsBrowser. (Yes, someone on this group told me the browsers are
basically the same just "wrapped" differently.)
Dim ThisBrowser as New SHDocVw.AxWebBrowser
Only I can't declare a new browser as AxWebBrowser. I get an error of
AxWebBrowser ambigious in ShowDocVw namespace.
I have references to both Interop.SHDocVw and AxInerop.SHDocVw in my
project. But when I go into the form to do an Import, all I get is the
SHDocVw namespace with no ability to add on dots and sub namespaces.
What am I doing wrong? How can I do the right Imports and namespaces?
How can I declare a new instance of an AxWebBrowser?
This namespace stuff makes my head swim, actually. I am a fairly good
programmer, but some of this VB.Net stuff is too convoluted.
Any help appreciated as I stumble around in the dark.
Doe
want to do -- tabbed browsing. It seems I really need RegisterAsBrowser
and Application to get each instance of a browser working on each tab
(and those methods are not available in 2005).
I found some code on MSDN forums, but the extention didn't really cover
RegisterAsBrowser. Someone told me how to do it, but it's in c and
basically over my head. Even though he later added some VB code (<In>
should be changed to <[In]>). I would need definitions for each
OLECMD... and I couldn't figure out what to attach the interfaces to...
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=283565&SiteID=1...
Sigh. So I figured, okay, this is a LOT OF TROUBLE just to make the
"new" browser work like the "old" browser. So I'll just USE the "old"
AxWebBrowser in 2005. Solves all my problems, code will work, will have
RegisterAsBrowser. (Yes, someone on this group told me the browsers are
basically the same just "wrapped" differently.)
Dim ThisBrowser as New SHDocVw.AxWebBrowser
Only I can't declare a new browser as AxWebBrowser. I get an error of
AxWebBrowser ambigious in ShowDocVw namespace.
I have references to both Interop.SHDocVw and AxInerop.SHDocVw in my
project. But when I go into the form to do an Import, all I get is the
SHDocVw namespace with no ability to add on dots and sub namespaces.
What am I doing wrong? How can I do the right Imports and namespaces?
How can I declare a new instance of an AxWebBrowser?
This namespace stuff makes my head swim, actually. I am a fairly good
programmer, but some of this VB.Net stuff is too convoluted.
Any help appreciated as I stumble around in the dark.
Doe