Jump to content

Recommended Posts

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

  • 1 month later...

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)

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.