Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Web browser control issues
Message
 
À
02/02/2006 17:59:22
Information générale
Forum:
Visual FoxPro
Catégorie:
VFPX/Sedna
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01092541
Message ID:
01094080
Vues:
36
Hi Ken,

I didn't know you wrote that! Since you did, maybe you can tell me what these properties are (.cVFPScript, .cVFPScriptTable)? There is nothing about them in the help. I've always left them empty because I didn't know what they were and the default is supposed to be empty anyway.

Thanks again,
Dana

>>It happens in the init of the control. By the way, the official name of the control is WebView, from the foundation classes. It's based off the ActiveX control anyway, as I understand it. At any rate, the error happens on line 18 of the init method (not my code, Microsoft's):
>>
>>	CASE EMPTY(tcVFPScript) OR TYPE("tcVFPScript")#"C"
>>		this.cVFPScript=LOWER(FULLPATH(this.cVFPScriptTable,this.cProgramPath))
>>
>>
>>There is not a whole lot of help on this control. It tells you what this is, but not what it would be used for. It is the empty string by default, and that's where I leave it. All of the properties referenced in the above code have the empty string as default value. All of them are left with the default value.
>>
>>As I said, it doesn't happen every time, but it happens enough that it is a definite hardship. With no explanation of these properties or their use in the help files anywhere, I assume that they aren't required. If I am doing something wrong, why does it work at all? This is a Windows Fatal error. I can't trap it to see what's going on.
>
>That is my code actually, I wrote the _WebView, _WebBrowser4, and other classes in VFP 6.0 and 7.0, and Component Gallery (part of the class browser).
>
>If you are getting a C5 Windows error, then something external is happening (not the fault of the VFP code) and I suggest you connect Microsoft product support to report this issue and have them help figure out what is going on here.
Where's the damned Any Key?...too late
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform