About Markish Expertise I can answer general questions related to Foxpro from Version 2.0 to 9.0. I'll try to answer them as quickly as possible.
Experience I've been into Dbase programming from age of 11. I've worked in versions from FoxPro 2.0 and Foxbase. Education/Credentials I've done my B.Tech (IT) with distinction from Anna University, Chennai - India.
Good day. I'm working on VFP 7 and Crystal Report 8.5.
I always received the following error when loading the form with Crystal Report Viewer.
"OLE exception error: Exception code c00000005. OLE object may be corrupt."
Below is my form.init code.
Local oCR As CRAXDRT.Application
Local cr As crviewer.crviewer
Local oRpt As CRAXDRT.Report
Local oDB As CRAXDRT.Database
Local ocDBT As CRAXDRT.DatabaseTables
Local oDBT As CRAXDRT.DatabaseTable
ANSWER: Hi Flex,
IMHO, it seems there is some issue with your activex control - i.e the Crystal report viewer control. Please try re-installing the same.
Sorry for sending the same question many times...As a follow up, I've already removed and reinstalled Crystal Report 8.5. I've got the same problem. I tried running Crystal Report 9, it went smoothly. Can you help me with this. . . I'm running Win XP SP2, VFP 7.0 and Crystal 8.5.
Thanks.
FLeX
Answer Hi Flex,
I tried the same environment in my laptop today.... It's fine here.. Probably needs to check more on your machine..
If you can give any more information on this, probably I can try debugging.