09-10-2008, 03:18 AM
ok i tried the following thing :
it worked for me I suspect something wrong with the hwnd:=" & hwnd(0) hwnd:=" & hwnd
check if you could set some value of any object using the pag
I feel pag is not becoming a page so it is erroring out
Regards
Kishore
Code:
Dim brow, pag
Set brow = Browser ("name:=Google" )
Set pag = brow.Page("title:=Google" )
pag.WebEdit("name:=q").Set "Kishoreinchennai"
pag.Sync
it worked for me I suspect something wrong with the hwnd:=" & hwnd(0) hwnd:=" & hwnd
check if you could set some value of any object using the pag
I feel pag is not becoming a page so it is erroring out
Regards
Kishore