In
vb.net 2005, I have created a custom user control. The control works quite well at design time and at run time. However, if I try to "create" an instance of the control at run time (dim ctl = new foo()), This gives an error "type needed". In the intellisense autocomplete, it shows the "foo" object with an icon that looks like pair of brackets {}. any idea what I did wrong?