>While compiling a vb program I get the following error... Try to compile the same code using ms vbc.exe. If it compiles your code without errors, report a bug at http://bugzilla.ximian.com/ with a single file that causes this error when compiled using mbas but compiles using vbc.exe Kornél