Bill,
The following code will change the title of open IE window.
loIE = createobject('InternetExplorer.Application')
DECLARE Long SendMessage IN WIN32API Long hWnd, Long Msg, ;
Long wParameter, STRING @ lParameter
lcBuff = "MyWindow" + CHR(0)
lnRet = SendMessage(loIE.HWND, 12, 0, @lcBuff)
>Do you know why this crashes?
>
>loIE = createobject('InternetExplorer.Application')
>loIE.NAME = 'myName' << get ole error "Invalid number of parameters"
>
>I was hoping I could then set target = 'myName'
>But it crashes.
--sb--