Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WIN2000 & VFP7 & IE Browser Control
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
WIN2000 & VFP7 & IE Browser Control
Miscellaneous
Thread ID:
00714086
Message ID:
00714086
Views:
45
Hi All,

Does anyone know anything about calling an IE Browser control from WIN 2000?

Here's my code:
PUBLIC oxx

oxx=CREATEOBJECT('internetexplorer.application')

IF !FILE(HOME()+'Report.htm')
	SET SAFETY off
	m.blankhtm='<html><HEAD><STYLE>@media print { DIV.PAGEBREAK {page-break-before: always} }</STYLE></HEAD><body></body></html>'
	=STRTOFILE(m.blankhtm, HOME()+'Report.htm')
	SET SAFETY on
ENDIF 

oxx.navigate(HOME()+'Report.htm')
 
DO WHILE oxx.readystate#4
	WAIT WINDOW 'Document Loading...' NOWAIT 
ENDDO 

WAIT CLEAR 

oxx.Document.body.innerhtml=tcBodyText
oxx.execWB(19,2,2,.NULL.)
I ran RegSvr32 on SHDOCVW.DLL with no errors.

I'm getting an error # 0x80040100: Trying to revoke a drop target that has not been registered.

Any ideas?

Hugh
Microsoft hears loudest what the VFP community says about Visual FoxPro by looking at the bottom line!

Support the product. Buy the latest version!

Hugh Winters @ WorldData 408-512-1131
Next
Reply
Map
View

Click here to load this message in the networking platform