Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_webview.vcx(_webbrowser4) errors
Message
 
To
08/03/2006 17:06:32
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01102608
Message ID:
01104331
Views:
14
Hi Jim,

Nope, not using FullPath(). this is a problem with the control itself. It occurs in the Init() method.

Actually, my boss told me that the people having this problem were given new computers, with newer Windows and other software, and don't seem to be having the problem any more. So perhaps it was the older version of something that had a problem with this control. In a sense, Ken may have been corrent when he said it may be a configuration issue.

Thanks,
Dana

>We found a problem with FullPath() (fixed in VFP9 and later) where a crash occurs when the 1st parameter passed to FullPath() is empty. It crashes when VFP8 and earlier are run under Application Verifier. Usually these types of crashes which always occur under Application Verifier will be intermittent when not run under App Verifier. My guess is this is what you are seeing.
>
>You could either upgrade to VFP9, or change the code to use an alternate means of determining the path, and your should be good to go.
>
>>Ken,
>>
>>It is on a form, not in IE. I had tried the WebBrowser control initially. I thought the class was just a wrapper for that control anyway.
>>
>>It happens on different workstations. All have either Windows XP Pro with SP2 or Windows 2000. It works fine for any user some of the time, but then crashes for the same user sometimes.
>>
>>I do have NODEFAULT in the Refresh method. I learned that early on in the development of this form.
>>
>>Thanks,
>>Dana
>>
>>
>>>If you are getting a C5 error, it could be some configuration or installation issue with Internet Explorer and it's components. You should try just hosting the Microsoft Web Browser control on a form rather than use the _webview.vcx class. You need to put NODEFAULT in the Refresh method of the ActiveX control, and that's it. If you still have the came errors, then you should test it on a different machine to see if you still find that it occurs there.
Where's the damned Any Key?...too late
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform