[Originally posted by Mirko Bordignon]

hi, I've got a problem with this compile error; precisely, I try to make something like that:
from a sub in a module, but the compiler gives me that error; note that I don't try to do something like:
Dim frm as frmMain
but instead I use the only instance of the MDIform in my project, frmMain
anyone can help? thank you