VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Create / Delete DSN

Waty Thierry  (60 Submissions)   Graphics   Visual Basic 4.0 (32-bit)   Unknown Difficulty   Tue 30th March 1999   Mon 8th February 2021

Create / Delete DSN

API Declarations


' * Programmer Name : Waty Thierry
' * Web Site : www.geocities.com/ResearchTriangle/6311/
' * E-Mail : [email protected]
' * Date : 25/11/98
' * Time : 15:07
' * Module Name : DSN_Module
' * Module Filename : DSN.bas
' **********************************************************************
' * Comments : Some functions for DSN
' *
' *
' **********************************************************************

Option Explicit

'Declarations Used to Generate DSN
Private Const ODBC_ADD_DSN = 1 ' Add data source
Private Const ODBC_CONFIG_DSN = 2 ' Configure (edit) data source
Private Const ODBC_REMOVE_DSN = 3 ' Remove data source
Private Const vbAPINull As Long = 0& ' NULL Pointer

Private Declare Function SQLConfigDataSource Lib "ODBCCP32.DLL" (ByVal hwndParent As Long, ByVal fRequest As Long, ByVal lpszDriver As String, ByVal lpszAttributes As String) As Long



Rate Create / Delete DSN (1(1 Vote))
Create / Delete DSN.bas

Create / Delete DSN Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters