Joselito
January 26th, 2000, 09:01 AM
Hi,
I wanted to do something really simple in VB using HTMLDocument. What I wanted to do was to retrieve the title of a URL. What would be the easiest way to do this using HTMLDocument. Example below:
...
Set inet = New HTMLDocument
inet.open "http://www.codeguru.com"
Title.Text = inet.Title
inet.Close ...
I'm not sure about the third line, I have an edit box on my form called title, and I wanted to set the text to whatever the title of the URL was. If you can help me out, I'd really appreciate it.
TIA, -Lito
I wanted to do something really simple in VB using HTMLDocument. What I wanted to do was to retrieve the title of a URL. What would be the easiest way to do this using HTMLDocument. Example below:
...
Set inet = New HTMLDocument
inet.open "http://www.codeguru.com"
Title.Text = inet.Title
inet.Close ...
I'm not sure about the third line, I have an edit box on my form called title, and I wanted to set the text to whatever the title of the URL was. If you can help me out, I'd really appreciate it.
TIA, -Lito