error reading form

khaled salem
khaled salem used Ask the Experts™
on
Hi Guys:
I've open an old Delphi 5  project with Delphi 2010, there is an error message appear
error msgif i chose ignore all component in the main form deleted
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Ephraim WangoyaSoftware Engineer
Commented:
Looks like some of the properties in your old component have been renamed or removed.

You will need to rename them in your .dfm file if that is the case, using an text editor.
Software architect
Top Expert 2012
Commented:
Some properties from older versions of delphi will failed on load because of unicode strings.
If you have instaled mfca component in newer delphi put it on form and look for caption property. If it is missing, then you can click ignore easily and all should be fine. If old mfca component is inherited from twincontrol then component have caption property, but newer is maybe inherited from tobject then you have this situation. Or, as ewangoya suggest open dfm file in text edit and make some changes (remove Caption property and switch back to dfm).
Geert GOracle dba
Top Expert 2009
Commented:
you'll have to install all the old components in the newer version first
some tweaks will be required on the old components

i hope you have the source for the old components
compiling the old source package in the new version will give errors to what isn't working

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial