Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ho can I get a Link to use myTarget ?
Message
 
 
To
18/07/2003 16:06:44
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00811624
Message ID:
00811667
Views:
13
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, 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'
>But it crashes.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform