very strange bug in my app

I made a small app, before Xmas, which worked almost perfectly (it is
really simple anyway). But I tried recompiling it again, and it won't
work. The worst is that it creates a form either when opening a
previously saved file (that works) or when creating a new file from
scrach (this doesn't work !). I checked the code that seems "exactly"
the same in both functions ! Anyone has an idea ??
Thanks a lot for any answer you can provide.
(Please reply by mail as well)

L@urent Savaete
(remove one @ to reply to this mail)
ICQ # 15485560