Solved

User-defined type not define error

Posted on 2002-06-23
2
194 Views
Last Modified: 2012-06-27
hi,

does anyone have any idea what should i do with this declaration that cause "User-defined type not defined" error prompted everytime i run the program.

in modUti.bas

Option Explicit
Public Cn As New ADODB.Connection
Public Rs As New ADODB.Recordset


Thanks.
0
Comment
Question by:icecool
2 Comments
 
LVL 2

Accepted Solution

by:
corvanderlinden earned 50 total points
ID: 7102833
Add a reference to Microsoft ActiveX data Objects library
0
 

Author Comment

by:icecool
ID: 7102838
more details pleasseee...
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
MS Access - Capture pressed key onclick 4 33
How to Add / Edit Windows Menu 4 61
Automatic Email Reminder 4 38
VBA - If Bookmark = "XXBOOKMARKXX" then 15 29
There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question