"liamfitz" <liamfitz DeleteThis @discussions.microsoft.com> wrote in message
news:2630DA8E-B0D3-42A2-91EC-FBA6B396862C@microsoft.com...
> It's worked perfectly in the past. When I have a 'Dim MyDb As Database'
> statement in my program, it rejects it saying'User-defined type not
Declared'
> (I have checked that the 'VB' library where this resides is available, and
it
> works on new projects from scratch) PLease Help !!!! ?????
Check and make sure there is nothing 'missing'in the References.
Fully qualify the declarations, as in...
Dim MyDb As MyLib.Database
or Dim MyDb As DAO.Database
-ralph
>> Stay informed about: Problem with 'Dim' ..... As Database ???