Re: retrieve data from html page to input as a string or text file

Tech-Archive recommends: Fix windows errors by optimizing your registry



On 21 , 17:48, eddy erman <eddy er...@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote:
I am making an application in VB6 that i wish to update ppl in my database
with values retrieved from a web page.

Can anybody help me with the code to get data from a web page please? thanks
Edddy

if you write data like all in txt like txt and not with html code and
then you can simple rename it in html and will work with that

Private Sub Reading_Click()
Dim variable1 As String
Open "c:\My Documents\sample.html" For Input As #1
Input #1, variable1
Text1.Text = variable1
Close #1

End Sub



Just write anything you want in a text file(txt) and then rename it
in .html ;)
if you want something not so sibmple,with html code etc..i do not
know..i am sorry if i could not help you..wait for the experts :)

PS i got that for sample.txt from one other guy who helped me today :)


.



Relevant Pages

  • Re: problem dynamically removing items from a droplist..?
    ... which has a FindByText and FindByValue ... i have the following HTML code: ... Private Sub hddList_PreRender(ByVal sender As Object, ... For Each i As ListItem In hddList.Items ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Code to check for HTML messages being sent
    ... I am guessing that once I have set the myItem object I will be able to parse its content, but I am not sure if I can do this directly on myItem or if I have to take the content of myItem and set it to something else, if that makes any sense. ... Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean) ... What I want to do is check the email body for any lines of HTML code of over 999 characters. ...
    (microsoft.public.outlook.program_vba)
  • problem dynamically removing items from a droplist..?
    ... i have the following HTML code: ... Private Sub hddList_PreRender(ByVal sender As Object, ... enumeration operation may not execute. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Sending a datagrids column
    ... 'HTML Code ... <FooterTemplate> ... Private Sub dg_ItemCreated(ByVal sender As Object, ...
    (microsoft.public.dotnet.framework.aspnet.buildingcontrols)
  • Re: HTML code in eval
    ... You can also try here document syntax. ... They should just rename it to evil() and get it over with. ... I'm currently trying to put some HTML code into a variable and to use ...
    (comp.lang.php)