Compilation error: Automation Error (Error 440) 
Author Message
 Compilation error: Automation Error (Error 440)

The help file says I should try to recompile, but compiling is impossible.
Compilation stops when reffering to DAO objects like

     Dim rcs As RecordSet

The problem started when I desperately (to correct an 'unexpected error')
exported, deleted and reimported all modules.

Dag



Tue, 14 Nov 2000 03:00:00 GMT  
 Compilation error: Automation Error (Error 440)

Sounds like you have some missing references.  Open a module in design
view, from menu choose: Tools>references...

Select any libraries that show as "missing".

Steve



Quote:
> The help file says I should try to recompile, but compiling is
impossible.
> Compilation stops when reffering to DAO objects like

>      Dim rcs As RecordSet

> The problem started when I desperately (to correct an 'unexpected error')
> exported, deleted and reimported all modules.



Tue, 14 Nov 2000 03:00:00 GMT  
 Compilation error: Automation Error (Error 440)

Well these are the selected libraries:
-Visual Basic for Applications
-Microsoft Access 8.0 Object library
-Microsoft Word 8.0 Object library
-Microsoft DAO 3.5 Object library

It's not possible to uncheck: "Cannot perform this operation"

Any ideas?

Dag

Quote:
Steve Thompson wrote...
>Sounds like you have some missing references.  Open a module in design
>view, from menu choose: Tools>references...

>Select any libraries that show as "missing".

>Steve



>> The help file says I should try to recompile, but compiling is
>impossible.
>> Compilation stops when reffering to DAO objects like

>>      Dim rcs As RecordSet

>> The problem started when I desperately (to correct an 'unexpected error')
>> exported, deleted and reimported all modules.



Tue, 14 Nov 2000 03:00:00 GMT  
 Compilation error: Automation Error (Error 440)

You may need to check your references.
Open a module in design mode and click on the tools menu, then click on
references.  Make sure you have an entry saying Microsoft DAO x.x Object
Library.  Also, if any references are prefixed with "MISSING:", uncheck the
check box corresponding to this entry.  
You'll be all set.



Quote:
> The help file says I should try to recompile, but compiling is
impossible.
> Compilation stops when reffering to DAO objects like

>      Dim rcs As RecordSet

> The problem started when I desperately (to correct an 'unexpected error')
> exported, deleted and reimported all modules.

> Dag



Wed, 15 Nov 2000 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Run-time error '-2147417846 (8001010a)': Automation error (error 440)

2. Run-time error '-2147417846 (8001010a)': Automation error (error 440)

3. Automation error (Error 440)

4. Automation Error, Error 440 !!

5. Automation error (Error 440)

6. Automation Error Error 440

7. Help: error 440 automation error

8. Error 440, Automation Error

9. Error 440, Automation Error

10. Compilation error/Automation error

11. Automation Error 440

12. OLE Automation Error-440

 

 
Powered by phpBB® Forum Software