ODBC issue with VB4 (16 bits) - Mouse fail 
Author Message
 ODBC issue with VB4 (16 bits) - Mouse fail

The following code segment is written in VB4 (16 bit version):

    Dim strConnect As String
    Set wspRemote = DBEngine.Workspaces(0)

'Procedure 1: MYDB is the database in INGRES 6
'    strConnect = "ODBC;DSN=INGRES;DATABASE=MYDB;"    
'    Set dbsRemote = wspRemote.OpenDatabase("", False, False,
strConnect)

'Procedure 2: mydb.mdb is an attached database link to MYDB of INGRES 6
'    Set dbsRemote = wspRemote.OpenDatabase("C:\mydb.mdb")

'Continue
    Set Mycommission = dbsRemote.OpenRecordset("cm_commission",
dbOpenDynaset)  
    Data1.Connect = strConnect
    Data1.DatabaseName = ""
    Data1.RecordSource = "cm_commission"
    Data1.Refresh

Problem:
1. Whenever I use data control (Data1) in VB4 (with either Procedure 1
or 2), the left button of the mouse disable and it won't allow me to
open another tables (Error : 3146 ODBC call failed)

2. I take the data control out and run the Procedure 1. When a dialog
box display and request for the user name and password, the left button
of the mouse disable without any error message.
   (When I use the Procedure 2, no problem of the mouse is detected)

Anyone have ideas?




Sun, 07 Feb 1999 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. ODBC issue in VB4 (16-bits) - Mouse fail

2. I have problems with VB 4.0 16 bits, ODBC 16-bits and ORACLE

3. Opening Oracle 7.3 database via ODBC (16bits) with VB4 16-bits development environnement

4. VB4 16 bits / Oracle via ODBC

5. vb3 16 bits to vb4 32 bits translation code problems

6. Problems with vb3 16 bits to vb4 32 bits translation code

7. Migrating 16 bits Win3.1 app to NT 4.0 16 bits app

8. Migrating 16 bits app with mmcontrol to NT 4.0(16 bits)

9. Differences between VB4 16 and VB4 32 bits

10. ORACLE ODBC 16 bits driver

11. B4 16 bits / Oracle via ODBC

12. Hide Windows when You Call DOS-APPLICATION in VB4.0 16 Bits

 

 
Powered by phpBB® Forum Software