Hi
Everyone
Now I'm try to write a program.....to find out the text from the html source code by using vb.net.
If there any program that similar idea please send to my email nanoowai.wai@gmail.com.
Thx

Recommended Answers

All 4 Replies

Member Avatar for iamthwee

Pretty simple, once you have the html source as plain ascii text, just search through it using string.find() methods.

Pretty simple, once you have the html source as plain ascii text, just search through it using string.find() methods.

Thx for your suggestion, anyhow
But I wanna VB.Net program not C++
If you have other idea, I'll appreciate

Aerofoil

Dim webResponse3 As System.Net.HttpWebResponse = Nothing
        Dim webRequest3 As System.Net.HttpWebRequest = System.Net.HttpWebRequest.Create("http://www.yahoo.com")
        Try
            webResponse3 = DirectCast(webRequest3.GetResponse(), System.Net.HttpWebResponse)
            Dim srResp As System.IO.StreamReader
            srResp = New System.IO.StreamReader(webResponse3.GetResponseStream())
dim SOMESTRING as string
            SOMESTRING = srResp.ReadToEnd
        Catch ex As Exception

        End Try

Pretty simple, once you have the html source as plain ascii text, just search through it using string.find() methods.

Thx
It help me many.....If you don't mind
Tell me "how can I find out the words from this HTML source?"
Regards

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.