Major problems trying to open a project file

Posted on 2005-05-16
Last Modified: 2010-04-05
Hi, i am having problems trying to open a project. Whenever i attempt to open this project, Delphi hangs and the only way to exit the application is to terminate the task. I assume it is due to a component i am using, but im not sure how to fix it. I have installed/reinstalled and double checked all of the components installed.

I suspected it may have been due to using JVCL, as when i remove this component selection I can open the project but it complains about missing components. The trouble is the same projects opens without any problems on the other pc, the only differences i can see is a later version of Jedi, RTL2 patch and the new pc is running service pack two.

Please help, as i am not entirely sure what to do, other than copy/pasting the controls individually as text into a new unit. There must be an easier way?
Question by:Actia
    LVL 12

    Accepted Solution


    a) Holding shift down as you open the project, which stops it loading some of the desktop stuff...

    b) Deleting the desktop file. (It's the .dsk in Builder, not sure if it's the same in Delphi?) which prevents it loading various forms etc.

    These might help you find out which unit is causes the problems.

    Might also be worth deleting the symbol file (.tlb?) in case it's corrupt.

    You _can_ open Delphi with no project OK can't you?
    LVL 13

    Assisted Solution

    seems like a package is what is causing this problem, in that case you can rebuild the packages if you have the source code, or check the jvcl site to see if they have some known bugs/fixed

    Author Comment

    Hmm ok i had to do it the very long way, i removed the components from the dfm text file one by one. Finally after much tedium, i found out the component that caused the problem was for some moronic reason JvAnimatedImage. I disabled the "Enabled" property, and it opened 1st time!

    Thanks for the help

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
    Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    737 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

    17 Experts available now in Live!

    Get 1:1 Help Now