469,590 Members | 2,254 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,590 developers. It's quick & easy.

how the HTML file contents read from visual basic

198 100+
can any one help me by providing the method how i read the text from html file.
i did it by this method

Open newstr For Input As #1
While Not EOF(1)
Line Input #1, strtemp
txtfile = txtfile & strtemp
Close #1
If txtfind <> "" Then
If InStr(txtfile, txtfind) <> 0 Then
txtfile.SelStart = InStr(txtfile, txtfind) - 1
txtfile.SelLength = Len(txtfind)

with this code i transfer the whole text from html file into textbox "txtfile"
and then search the particular text using "Instr"function . all it works fine but

when special characters like " ö,ä " comes , these characters change there format in txtfile and not searched by user
please provide some method how i will read html file with out transfering into text box so that these special characters can be searched
Apr 25 '08 #1
0 1024

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

17 posts views Thread by Lloyd Sheen | last post: by
3 posts views Thread by http://www.visual-basic-data-mining.net/forum | last post: by
3 posts views Thread by news | last post: by
1 post views Thread by vbvjain | last post: by
59 posts views Thread by Lennart Björk | last post: by
2 posts views Thread by joshua_jacobsen | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.