I have a form that, in the load procedure, tries to find a file. If it finds it, fine, but if it can't locate the file, I want an error displayed, and the form to never appear.
In my FormLoad procedure, I have :
if filenotfound then
this results in :
"cannot call dispose while doing createhandle"
Any ideas? Thanks