ADO - PELogOnSQLServerWithPrivateInfo() Handle to database connection 
Author Message
 ADO - PELogOnSQLServerWithPrivateInfo() Handle to database connection

Hi All,

I had a VB6 system running using RDO & used Crystal Reports 6 for reporting.
Now that I've converted that system to ADO, I cannot find any reference to
the 'hDBC'
either on the Connection or Recordset objects.  I'm using the standard ODBC
driver
and am using ADO to establish the connection.

Does this now mean I have to change my standard logon procedures to use the
low-level
ODBC API functions to establish the connections first?  Sounds crazy that I
have to do
that.

Any ideas?

Problem code (where 'rdCn' is a RDO Connection object):

    If PELogOnSQLServerWithPrivateInfo("PDSODBC.DLL", rdCn.hDbc) = False
Then
            MsgBox "PELogonSQLServerWithPrivateInfo failed", vbExclamation +
vbOKOnly, "CmdOutput"
            GoTo CloseJob
    End If



Mon, 08 Apr 2002 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. PELogOnSQLServerWithPrivateInfo and PB6.5

2. PELogOnSQLServerWithPrivateInfo???

3. PELogonSQLServerWithPrivateInfo

4. DIRE NEED OF HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

5. ADO and ODBC connection handle

6. ADO Guru: How do I get connection handle?

7. ADO connection Handle?

8. microsoft.public.vb.database;microsoft.public.vb.database.ado;microsoft.public.vb.database.dao

9. database connection error handling

10. How do I handle database connection over API?

11. A Question about ADO.Net Database Handling and N-Tier Applications

 

 
Powered by phpBB® Forum Software