Solved

error reading form

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

856 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