Click here to Skip to main content
15,895,813 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hello,

I need to navigate to

http://uae.souq.com/ae-en/nokia-6300-480117/i/

for example, but the site is not accepting the vb.net browser and it is saying I need to upgrade. A workaround was to use webkit, that worked but after many refreshes it crashes. What I am working on is a tool to monitor the products I sell online.

I tried
C#
WebBrowser1.Navigate("http://uae.souq.com/ae-en/nokia-6300-480117/i/", Nothing, Nothing, "User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)")


with no luck, I also tried to just open the page in IE, but I cant seem to access the page html.

Help appreciated. <
Posted
Comments
Sergey Alexandrovich Kryukov 15-May-15 13:26pm    
Not accepting Mozilla? Blacklist this site and never get back to it.
Also, what do you mean by "WebBrowser1"? Please, it's type, full name (simple name like "WebBrowser" would be ambiguous, so please give us the full name).
—SA
Sascha Lefèvre 15-May-15 14:05pm    
You might want to try it with some other user agent string of a well-known browser:
http://www.useragentstring.com/pages/useragentstring.php

Please see my comment to the question, which would be the best solution.
But you also can fake browser information, if you really want to, it might help you.

—SA
 
Share this answer
 
Don't use the
"User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0"
Just type.

VB
WebBrowser1.Navigate("http://uae.souq.com/ae-en/nokia-6300-480117/i/")
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900