Visual Basic Error

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

i am using office professional 2003 on a xp professional operating system. When I open my main database in access 2003 I now get the following error message in visual basic debugger = "set dbs=CurrentDb()
Compile error - Error in loading dll. The above relates to the switchboard form

If I try to load the swithboard manager I get the message ActivX component cant create object

The Northwind sample database opens OK

Anyone got any ideas

Thanks in anticipation

Geof

'
 
Yupp
You Don't Have a Reference to DAO
Open a Module -> Tools/References -> Microsoft DAO 3.6
You Should also change every declaration of Recordsets to DAO.Recordset or
remove the reference to ADO

HTH

Pieter

GeoffT said:
i am using office professional 2003 on a xp professional operating system.
When I open my main database in access 2003 I now get the following error
message in visual basic debugger = "set dbs=CurrentDb()"
 
Back
Top