Hi Steve,
Try this - it worked on my NT box.
VB Code:
Option Explicit Private Declare Function SQLManageDataSources Lib "ODBCCP32.DLL" (ByVal hwnd As Long) As Boolean Private Sub Command1_Click() Dim bln As Boolean bln = SQLManageDataSources(CLng(Me.hwnd)) End Sub




Reply With Quote