1 Attachment(s)
[RESOLVED] Reading text file attached from web
Hi, i have worked with inet control before but this situation just doesn't work for me.
I'm just trying to read a txt file that is attached into a forum thread. It is a permanent thread and file attached so link will not change. I'm just getting a lot of garbage like if i where reading html.
Here is the simple code:
Code:
txtCheckVIP.Text = Inet1.OpenURL("http://www.BLABLA.com/forums/attachment.php?attachmentid=4775&d=1208579393", icString)
I know that i could download the file to the computer and then open the file but i will not like to download it, just read it.
I attached a txt file to do some test.
Any help will be appreciated.
Re: Reading text file attached from web
ohhh, man... I can read it fine from this forum. But not on the others.
Re: Reading text file attached from web
What other web sites have you tested on?
Re: Reading text file attached from web
One is xxxxxxx I have the appropriate access and automatically login as i have it here but will not work.
Re: Reading text file attached from web
Ok, found the problem. The problem was that i'm using FireFox and in firefox cookies i had the propper login but not in IE. VB seems to be using IE information. I didn't know that.
Re: [RESOLVED] Reading text file attached from web
VB's controls like WebBrowser, Inet, etc are Microsoft products so they all use IE as the engine behind those controls.