Visual Basic 3.0 , Oracle Glue 1.1 
Author Message
 Visual Basic 3.0 , Oracle Glue 1.1


> (1) How does one specify what database is to be connected to in VB ?

Use Execsql() with any valid SQL statement, e.g.

> (2) At what stage should the glueinit command be issued , and what other
>      glue commands are required ?

GlueInit() should be called before any other Oracle Glue function gets called.
This essentially primes the DLLs provided with Oracle Glue.

> (3)What does vbglue.bas do and when should it be invoked ?

VBGLUE.BAS contains the declarations for the 10+ Oracle Glue functions.

Something to note
Your path should include the directory where all the Oracle Glue DLLs are
kept, or you can copy them to the Windows (or system) directory.

When you run your application, you will notice that a few DLLs from the
Oracle Glue DLLs are loaded.  When you end your application, you will
also notice that they sometimes remain.

Reason: when a function in a DLL is called, VB will load the DLL if this
function has not been called before.  So, if you call two different
functions in the same DLL, the DLL has a referece count of 2.  When you
end your application, VB unloads the DLL, subtracting the reference count
by 1.  But, the DLL is still{*filter*} around with a reference count of 1.
I don't like this "feature".  You have to decide how to clean up.

- Nicholas

Fri, 23 May 1997 13:21:51 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Q:Netscape(1.1) DDE and Visual Basic

2. MSCHAT Control 1.1 and Visual Basic 5

3. Visual Basic 3.0 to Visual Basic 6.0

4. loading visual basic 3.0 applications in visual basic 5.0

5. Visual Basic 3.0 vs Visual Basic 4.0

6. Access 1.1, VB 3.0, multi-user ?

7. Help: VB 3.0/Access 1.1/ 2.0 with Office 97

8. VB 3.0 and Jet 2.0/1.1

9. Access 1.1, VB 3.0, multi-user ?

10. VB 3.0 and Access 1.1

11. Access 1.1, VB 3.0, multi-user ?

12. DDE link between WinFax 3.0 and Visual Basic 3.0


Powered by phpBB® Forum Software