Okay, I'm a bit new to API stuff, but I've read that you can use an API to open the ODBC dialog.

So I've added :
VB Code:
  1. Private Declare Function SQLManageDataSources Lib "ODBC32.DLL" (ByVal hwnd) As Boolean
at the top of my code, and then included
VB Code:
  1. Private Sub Command1_Click()
  2.     SQLManageDataSources (hwnd)
  3. End Sub
within the code.

It don't work, and not being much of an API pro, I don't know what to do!
What's wrong? I bet I've done something stupid!