Database connection problem on VB6.0
- From: Engada <plengada@xxxxxxxxxxxxxxx>
- Date: Sun, 25 Feb 2007 08:20:54 +0900
I have an application written in VB6.0 which has previously been interfacing with MS SQL server 2000, which I have moved to Postgres 8.2.3.
When attempting to create an ODBC workspace, the application now errors on the following line of code:
Set autodrs_work = CreateWorkspace("autodrs", g_strUserName, g_strPWD, dbUseODBC)
Where g_str* variables are globals holding the username and password for connecting to the db.
The following is the resulting error:
3633 Cannot load DLL: '?????L?'
In all documentation I can find, error 3633 is an error loading MS Jet files, which I don't understand since I am using ODBC which should be bypassing the Jet engine (at least according to the VB documentation it does) and secondly neither this line of code nor any around it has changed since I moved the db from sql server to Postgres. As a side note, MS Jet 4.0 is installed on the machine, and both msjet35.dll and msjet40.dll are registered on the server.
Can anyone offer some pointers on what the problem might be?
Thanks in advance,
Paul.
--
Paul Lambert
Database Administrator
AutoLedgers
--
Posted via a free Usenet account from http://www.teranews.com
.
- Follow-Ups:
- Re: Database connection problem on VB6.0
- From: Jim Carlock
- Re: Database connection problem on VB6.0
- Prev by Date: Re: Select Case - abominable?
- Next by Date: Have a problem that is stumping me.
- Previous by thread: Help in translating C to VB
- Next by thread: Re: Database connection problem on VB6.0
- Index(es):
Relevant Pages
|
Loading