I am opening up a new Internet Explorer window with the following code:
Explorer = New SHDocVw.InternetExplorer()
Explorer.Visible = True
Is there a way to set the size of this window in VB.NET?
If there isn't a way to remove the tag, is there a simple way to tell what the color of the background behind a certain link is so I can set it to this?
I am trying to set, and then unset the background color of links using html. Setting the background color is easy enough using something like this:
Dim htmldoc As mshtml.HTMLDocument
htmldoc.links.item(1).style.backgroundColor() = "#AAFFFF"
However, to unset the background color I need to...
OK, I feel like a huge noob, which I am. Basically what I am trying to do is create a program which will go though each link in a webpage individually just like you would if you were pressing the tab key each time. I want the program to automate this process waiting half a second before moving...
Sorry, I am an uber newbie. Should I be doing something else? I just realized that I didn't input my code entirely correctly. It should look like this:
Dim htmldoc As mshtml.HTMLDocument
htmldoc = DirectCast(Explorer.Document, mshtml.HTMLDocument)
Debug.WriteLine(htmldoc.links(2).innerText)
Sorry for the newbie question, but this is driving me nuts. I am trying to access each link individually, but am having trouble. When I try this:
htmldoc = DirectCast(Explorer.Document, mshtml.HTMLDocument)
Debug.WriteLine(htmldoc.links(2).innerText) 'writing innerText of second link
I keep...
I want to be able to highlight the links as I scroll through them using the "tab key". Using WebBrowser, how can I change the background color for the current link that I am on (the one surrounded by dots)?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.