AAARRRRGGGHHH - those damned elementary school programmers at MS!@#!@#!#$#@@!~.
Suddenly, I have the urge to kill something!
Thanks!<g>
>Ok, I get the same error as you, but can resolve it by assigning the frame to its own object reference first:
>
>oIE = CREATEOBJECT("InternetExplorer.application")
>oIE.navigate("
http://www.shelbynet.com/vfp/test.htm")
>oFrame2 = oIE.Document.Frames(1)
>oframe2.Document.Forms(0).UserName.value = "Howdy"
>oframe2.Document.Forms(0).password.value = "password"
>oframe2.Document.Forms(0).Submit()
John Harvey
Shelbynet.com
"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright