Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 138
  • Last Modified:

Class or methods not recognize

hello, i have the following dims but for some reason (probably add-ins, etc.) i can't see the ADODB in my properties/methods

Dim objConn As ADODB.Connection
Dim objRec As ADODB.Recordset

as well i can't set excel.application (i.e. myexcel As Excel.Application)

can someone help understand what I might be missing in my vb6 install.  Thanks

Mahonek
0
Mahonek
Asked:
Mahonek
1 Solution
 
EDDYKTCommented:
you need to add MS ADO references

From project menu->references -> MS ActiveX Data Objects 2.x library

where x can be 0, 1, 2, 3, 4,5 etc
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now