Solved

error reading form

Posted on 2012-12-27
3
453 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
3 Comments
 
LVL 32

Assisted Solution

by:ewangoya
ewangoya 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 26

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

863 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

Need Help in Real-Time?

Connect with top rated Experts

29 Experts available now in Live!

Get 1:1 Help Now