Maybe you could delete everything in your temp directory, BUT ONLY AS A LAST RESORT.
There is a file in TEMP called ErrorReport.txt, which sometimes has helped in post mortem analysis, although you are not even getting out of the gate here.
Don't throw the baby out with the bath water, DBPro is better than all of that. Every system falls apart once in a while, it is really a delicate dance, making programs. Patience goes a long way.
The error command out of place is an open nest of some type...if/then, if/else/endif, for/next, really any of them, as well as leaving return out of subroutines, and also you can get it inside a function call.
Post the code, if you don't mind and let's see what is the matter.
EDIT: There is no need to post your code, your source is trashed; I'm pretty sure of that. Assuming you are using multiple source files, the most likely one is the first one in the list that is not the main source file. The last saves in TEMP might contain a correct copy of it, but...given your frustration level, I doubt it very seriously. Sorry, if that's the case.