Solved

error reading form

Posted on 2012-12-27
3
458 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 38

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses
Course of the Month8 days, 7 hours left to enroll

615 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