ODBC in VB6 and MySql ODBC in VB6 and MySql peekay (Programmer) (OP) 4 Jul 18 14:20 I have created and tested a database with DSN - see attachment. When I try to open the connection in VB6 I get an error - see attachment (on next message). What can be the problem? Thanks PK Odendaal https://files.engineering.com/getfile.aspx?folder=2acb65eb-37f6-4909-b422-3 RE: ODBC in VB6 and MySql peekay (Programmer) (OP) 4 Jul 18 14:21 Second attachment PK Odendaal https://files.engineering.com/getfile.aspx?folder=4b883159-b0f4-4444-8aa3-1 RE: ODBC in VB6 and MySql SkipVought (Programmer) 4 Jul 18 19:37 Hi, Failed on which statement? Hit DEBUG. Skip, Just traded in my OLD subtlety... for a NUance! RE: ODBC in VB6 and MySql peekay (Programmer) (OP) 5 Jul 18 07:18 The code fails on this statement: Set Conn = wsODBC.OpenConnection("Conn1", , , "ODBC;DSN=IBSMSbloem;") Thanks PK Odendaal RE: ODBC in VB6 and MySql ChrisHirst (IS/IT--Management) 5 Jul 18 13:33 Read the FAQs for forum222: Visual Basic (Microsoft) Versions 5/6 as it is a VB issue not a MySQL one Chris. Indifference will be the downfall of mankind, but who cares? Time flies like an arrow, however, fruit flies like a banana. Never mind this jesus character, stars had to die for me to live.