Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_webview.vcx(_webbrowser4) errors
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
_webview.vcx(_webbrowser4) errors
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01102608
Message ID:
01102608
Views:
85
Hello,

I am still plagued by a sporadic error that occurs in the use of the above named class. It is very strange, and really problematic. It doesn't happen all the time. Under the same circumstances it sometimes crashes with a C0000005 error. This totally blows the application away. Data is lost. Since it is sporadic and doesn't happen every time a particular user opens the form wherein the class resides, I can't figure out why it is happening.

The dialog shows that it occurs in line 18 of the Init method. That line is a CASE where it checks and tries to set the value of a property. Here is the CASE in question:
	CASE EMPTY(tcVFPScript) OR TYPE("tcVFPScript")#"C"
		this.cVFPScript=LOWER(FULLPATH(this.cVFPScriptTable,this.cProgramPath))
There is very little help on this control. cVFPScript and cVFPScriptTable are not really explained. It does say that the default value is the empty string. I do not change the value, nor do I attempt to use these properties since I don't know what they are for. Yet it crashes on this line of code.

Does anyone have any idea what these properties are for and why the code crashes when they are empty, even though that is the default? It has been a nagging issue for over a year and I haven't gotten any answers. Even Ken Levy didn't have any eye openers, and he designed it.

Please help. I wanted to just bypass this class and spawn an actual browser, but my boss isn't sure he likes that idea. In the mean time, data is lost when this control crashes because usually it is called upon while in the middle of entering customer data. The control is used in a form to display information that the custome may inquire about.

Thanks for any help,
Dana
Where's the damned Any Key?...too late
Next
Reply
Map
View

Click here to load this message in the networking platform