Vb is probably thinking that you are missing a UDT when you are really missing a reference. Have you setup any references for your project?