Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WIN2000 & VFP7 & IE Browser Control
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
WIN2000 & VFP7 & IE Browser Control
Divers
Thread ID:
00714086
Message ID:
00714086
Vues:
46
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform