Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Search Google
Message
From
03/06/2003 10:09:54
Fabian Belo
Independent Developer
Argentina
 
 
To
03/06/2003 09:56:08
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
Miscellaneous
Thread ID:
00795558
Message ID:
00795652
Views:
14
Change:
lcURL="<a href=http://www.google.com/search?hl=en&lr=&ie=ISO-8859-1&q= target="_blank">http://www.google.com/search?hl=en&lr=&ie=ISO-8859-1&q=</A>"+;
<\PRE>

for:

<PRE>
lcURL="<a href=http://www.google.com/search?hl=en&lr=lang_pt&ie=ISO-8859-1&q= target="_blank">http://www.google.com/search?hl=en&lr=lang_pt&ie=ISO-8859-1&q=</A>"+;
<\PRE>

>Hi
>
>Thanks
>
>But , how can i change this code , for lr=lang_pt
>
>Thanks
>
>
><PRE>
>clear
>#DEFINE READYSTATE_COMPLETE 4
>oIE = CreateObject("InternetExplorer.Application")
>
>lcphone="(251) 602-5611"
>
>lcURL="http://www.google.com/search?hl=en&lr=&ie=ISO-8859-1&q="+;
>lcphone+;
>"&btnG=Google+Search"
>
>oIE.Navigate(lcURL)
>
>do while oIE.Readystate <> READYSTATE_COMPLETE
>wait wind time 1.0 ""
>enddo
>
>lcInnerText = oIE.Document.Body.InnerText
>ln=occur(lcphone,lcInnerText)
>if ln>=1
>   =alines(aa,lcInnerText)
>   for ia=1 to alen(aa)
>      if lcphone$aa[ia] and aa[ia]#"Searched the web"
>         ?aa[ia]
>      endif
>   endfor
>else
>   wait window "NOT FOUND"
>endif
>
>
>oIE.Quit
>oIE=.NULL.
>release oIE
>
>
"Since I've read that alcohol is bad... I quit reading."
Me


http://www.fabianbelo.com.ar
Previous
Reply
Map
View

Click here to load this message in the networking platform