Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error loading file, olecontrol 1

Status
Not open for further replies.

Clinkie

Programmer
Dec 29, 2005
3
US
After upgrading to vfp90, all forms with ole containers populated with the MSCOMM Control returns the error loading file - Record No. n . Olecontrol1 Methods:Ole error code Ox80020006: unknown name.

The help file states "the file containing the ActiveX controls was renamed from Comctl32.ocx to MSCOMCtl.ocx".
Is this an issue?

Any info on a workaround to open my forms for editing would be greatly appreciated?

Tried to discover the problem by browsing the form as a table. All seems well with objects, properties, and methods.

Regards;

Clinkie
 
Dave;

Replacing the ole would be my course of action, however the error restricts me from opening the form for editing.

Regards:

Clinkie
 

Clinkie,

Didn't you post this same question in another thread? If I remember right, the answer was to open the form as if it was a DBF (using USE), then browsing it to find the record containing the ActiveX control, which you then delete. Finally, pack the file. (Make a backup before you start any of this.)

Mike


__________________________________
Mike Lewis (Edinburgh, Scotland)

My sites:
Visual FoxPro (www.ml-consult.demon.co.uk)
Crystal Reports (www.ml-crystal.com)
 
Mike;

Thanks, Deleting the rec & packing allowed me to open the form. I'll be recoding the oncomm event on all avtive projects today.

Clinkie
 
Sorry I rushed through my reply. I guess when I read you were browsing the form as a table, I had it in my head you had already thought of trying to delete the records and pack the table.
We all know what happens when we ASSume. [blush]

-Dave Summers-
[cheers]
Even more Fox stuff at:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top