-
Sep 11th, 2017, 11:54 AM
#1
Thread Starter
New Member
Unsupported DB engine or DB engine is not defined in the DEF File
Hi,
I am Using VB6 with Access 2007 database and I am getting the following error message just trying to run the code in VB6.
This code previously worked on this PC and now doesn't.
Any Tips or suggestions?
Thanks.
FVM
-
Sep 11th, 2017, 04:06 PM
#2
Re: Unsupported DB engine or DB engine is not defined in the DEF File
What OS are you using and what recent changes/updates to the system have you made? Can you please post your code and indicate which line you're getting that error? (Please wrap your code with [CODE] ... your code here ... [/CODE] tags.)
-
Sep 11th, 2017, 04:18 PM
#3
Re: Unsupported DB engine or DB engine is not defined in the DEF File
Hey Foxtrot,
Also, please specify what technology you're using to access this Access 97 database: DAO, ADO, RDO, other?
Also, at least what I can see of your post, you didn't give us the error message.
Take Care,
Elroy
Any software I post in these forums written by me is provided "AS IS" without warranty of any kind, expressed or implied, and permission is hereby granted, free of charge and without restriction, to any person obtaining a copy. To all, peace and happiness.
-
Sep 12th, 2017, 03:24 AM
#4
Re: Unsupported DB engine or DB engine is not defined in the DEF File
-
Sep 12th, 2017, 07:38 AM
#5
Thread Starter
New Member
Re: Unsupported DB engine or DB engine is not defined in the DEF File
Originally Posted by Elroy
Hey Foxtrot,
Also, please specify what technology you're using to access this Access 97 database: DAO, ADO, RDO, other?
Also, at least what I can see of your post, you didn't give us the error message.
Take Care,
Elroy
Thanks for getting back to me Elroy,
Access 2007 and ADO.
'Unsupported DB engine or DB engine is not defined in the DEF File' is the error message.
This message pops while trying to run the code in VB6. It seems to come up before any of the code is even run.
Foxtrot
-
Sep 12th, 2017, 07:49 AM
#6
Thread Starter
New Member
Re: Unsupported DB engine or DB engine is not defined in the DEF File
Windows XP, no recent changes PC was sitting on shelf with nothing plugged in and powered off.
Not getting the error on any line, it seems to appear before the program starts to run.
-
Sep 12th, 2017, 07:56 AM
#7
Re: Unsupported DB engine or DB engine is not defined in the DEF File
Originally Posted by FoxtrotVictorMike
Not getting the error on any line, it seems to appear before the program starts to run.
Are you using the ADODC control or some other pre-configured object? If so, you set up the connection string within that control. In any case, maybe we should see the connection string you are using to get to the database?
-
Sep 12th, 2017, 09:27 AM
#8
Re: Unsupported DB engine or DB engine is not defined in the DEF File
Yes, and if you're not using the ADODC control, which of the ADO libraries is your project using (IDE / Menu / Project / References...)...
I'm not the absolute expert as to when each of those versions became available, but simply changing the version you're using may fix your problems.
Good Luck,
Elroy
Any software I post in these forums written by me is provided "AS IS" without warranty of any kind, expressed or implied, and permission is hereby granted, free of charge and without restriction, to any person obtaining a copy. To all, peace and happiness.
-
Sep 12th, 2017, 03:33 PM
#9
Re: Unsupported DB engine or DB engine is not defined in the DEF File
Originally Posted by FoxtrotVictorMike
Access 2007 and ADO.
ConnectionString???
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|