Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Marquee and webbrowser

Status
Not open for further replies.

hinchdog

Programmer
Feb 14, 2001
380
US
i want to start and stop a marquee item that exists on a webpage from my vb app. i tried to access it using...

Set doc = WebBrowser1.Document
Set scroller = doc.All.Item("scroller")
scroller.stop


..but i got a object or with variable not defined. on the html page i have

<Marquee Id=&quot;scroller&quot;>
....
</Marquee>

i can figure out why it won't work. any suggestions??
 
yes, i can certainly do it from javascript with no problem. i just want to have controls (ie. arrows) within my vb application that would control the flow of the marquee, so they could reverse the direction or pause it. i thought it could just access the document object of the webpage and change it like that, but i now think the marquee would have to be an imbedded object, which i don't want because the webpage has to be clickable. i think i'm just going to use the marquee's mouseover and out events to do what i want, even though i wanted to have the controls on a vb form. oh well!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top