Link to home
Start Free TrialLog in
Avatar of essbb
essbb

asked on

Error Creating Form

I have just had to re-install windows and delphi after my system files became corrupted and now one of my forms in my delphi 2.01
project will not open.

I get the message cannot open form - unspecified error

I have reinstalled all the components for the form but I still cannot load it up. When the program runns it works ok until I get an interaction between the ChartFX and a VCFormula 1 table at which point I get an  Exception - EAccessViolation

Anybody have a solution?
ASKER CERTIFIED SOLUTION
Avatar of StevenB
StevenB

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of essbb
essbb

ASKER

Steven,

Our project only uses Formula 1 in a small way the table size is about 6 x 20 cells and the values rarely exceed 100. The point at which the program crashes is when I set the chartfx.maxserie to formula1.maxcol.

My Main Problem is that I Cannot display the form in design mode, this is when I get the error.
Avatar of essbb

ASKER

If you delete all refernces to the table (from both the .pas & .dfm) and then add a new one it works!
F1UPDATE F1UPDATE F1UPDATE F1UPDATE F1UPDATE F1UPDATE F1UPDATE

  Recently discovered bug (Fortunately with very easy work around)

  Never do this : EntryRC := '';

  The empty string siezes the machine. Always check for empty strings.

  Steven.