View Full Version : Compile error - userdefined type

March 11, 2004, 15:41:22
I'm working with a copy of the FirstApp project (VB6) and just tried to compile it. I get an error on this line: Public ImagingControl As ICImagingControl in frmDeviceSettings - "Expected userdefined type not Project.

I can work around this by starting over with your sample project and reinserting my changes, but wanted to know what this error means. Maybe there is a simpler way to resolve the error. The problem may have been caused when I deleted and reinserted the Imaging control on the main form.