I have the following code:
Code: Select all
// Open IE
LibFunc>%hIE%,CreateIE,IE[0],0
// Open BPI site for companies
LibFunc>hIE,Navigate,r,%IE[0]%,https://www.bpinetempresas.pt/SIGNON/signon.asp
LibFunc>hIE,WaitIE,r,%IE[0]%
Wait>delay
WindowAction>1,BPI Net*
Wait>delay
Let>HTML0_SIZE=40098
Let>_DUMP_VARS=1
IE_ExtractTag>%IE[0]%,,HTML,0,1,HTML0,r
MidStr>r_6,1,r,HTML0
\\IE_ExtractTag>%IE[0]%,,BODY,0,1,BODY0,r
\\MidStr>r_6,1,r,BODY0
Let>_DUMP_VARS=0
DeleteFile>C:\data\log.txt
WriteLn>C:\data\log.txt,e,%HTML0%
WriteLn>C:\data\log.txt,e,HTML_File1
WriteLn>C:\data\log.txt,e,%r_6%
On Windows Xp I correctly get the webpage Html.
On windows Vista I get the following text on the log.txt file:
Code: Select all
HTML_File1
%r_6%
What could be the problem.
I am running the exact same script that is located on a shared drive (samba).
Thanks,
Pedro