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, WM_SETTEXT, 0, @lcBuff) 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'