volatileboy Posted July 28, 2010 Share Posted July 28, 2010 Hey guys I lack some knowledge in VB and I have noticed that searching on Yahoo with VB or Visual Basic in the search term really does nothing to help me, it's not like getting help with php. Anyway, I was wondering how to open a file on the internet? so for example if www.url.com/script.php outputted some text how could I connect to that page with VB and grab that page data? I hope someone can help, thanks! Link to comment https://forums.phpfreaks.com/topic/209104-visual-basic-read-a-url/ Share on other sites More sharing options...
Username: Posted September 22, 2010 Share Posted September 22, 2010 Hey guys I lack some knowledge in VB and I have noticed that searching on Yahoo with VB or Visual Basic in the search term really does nothing to help me, it's not like getting help with php. Anyway, I was wondering how to open a file on the internet? so for example if www.url.com/script.php outputted some text how could I connect to that page with VB and grab that page data? I hope someone can help, thanks! What version of Visual Basic is it? Do you mean the web-page source? I know, in 6 you can do WebBrowser1.Navigate Text1Do While Me.WebBrowser1.Busy: DoEvents: LoopText2.RefreshText2 = WebBrowser1.Document.documentElement.OuterHTML Just put that on a command button and make two textboxes (Text1, Text2) Link to comment https://forums.phpfreaks.com/topic/209104-visual-basic-read-a-url/#findComment-1114181 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.