By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,327 Members | 1,936 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,327 IT Pros & Developers. It's quick & easy.

Connecting to VB 6.0

P: 63
Hi I am trying to connect to VB 6.0 and access

I am new to VB so am having difficulty.

when I say
Global x as Database
in my module

it says "User defined type not allowed"

can anyone plz tell me wht I am doing wrong??
Aug 14 '07 #1
Share this Question
Share on Google+
2 Replies


Dököll
Expert 100+
P: 2,364
Hi I am trying to connect to VB 6.0 and access

I am new to VB so am having difficulty.

when I say
Global x as Database
in my module

it says "User defined type not allowed"

can anyone plz tell me wht I am doing wrong??
Are you using Access 97? It's been known to have this issue...There's a solution here but you'll need to do some reading. I'll attempt to find in and post link. I would fetch using "connect vb to ms access" something in that kind of a line...should pull up an array of examples nontheless!

In a bit!
Aug 24 '07 #2

missinglinq
Expert 2.5K+
P: 3,532
Hi I am trying to connect to VB 6.0 and access
I am new to VB so am having difficulty.
when I say
Global x as Database
in my module
it says "User defined type not allowed"
Am I write in reading this as saying that you're placing this code in a module in VB 6 and not in VBA?

Linq
Aug 24 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.