Solved

error reading form

Posted on 2012-12-27
3
457 Views
Last Modified: 2013-01-12
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
0
Comment
Question by:khaled salem
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 32

Assisted Solution

by:Ephraim Wangoya
Ephraim Wangoya earned 150 total points
ID: 38723557
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.
0
 
LVL 27

Accepted Solution

by:
Sinisa Vuk earned 200 total points
ID: 38724791
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).
0
 
LVL 37

Assisted Solution

by:Geert Gruwez
Geert Gruwez earned 150 total points
ID: 38729037
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
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question