I need to get data from internet, any idea ???
Printable View
I need to get data from internet, any idea ???
What kind of data? Source, files...?
mainly, my project is control of buliten board, and i need to give the ability to the user to upload a message from the net, maybe the data is saved in a file on a server, or something like tha, i am using vb6
Well... you'll have to know with what are you dealing. I mean, where is the file located, does it need to be parsed...?Quote:
Originally Posted by ziad_jabbour
i think the data is saved in a text file, this file is located in a website
You can use the Inet (MS Internet Transfer Control) for example:
VB Code:
Dim source As String source = Inet1.OpenURL "http://www.somesite.com/somefile.txt"
10x anyway, but should i add any components, or simply like that, and should i open a text file as i am oppening a file from my pc, and what if my text file contains many line ???
Yes. Go to menu Project>>Components and search for MS Internet Transfer Control. Emm... i don't understand what has your multi line file got to do with this?
first i was unable to find,the components, should i add it to my vb, or i have when i instal the vb6, if should i have it, can u give me more details on it or from where should i get, any tutorial about it ?
plz need a tutorial about inet ,vb6 "MS Internet Transfer" , any help,, i found it , i should add it
wsorry but facing lot of problem usin inet any help or any tutorial, i need to access a file over the net (text file)