1

Topic: Syntax of a command - VB

Hello
At access to a DB from VB such circuit is used
VB-> ADO-> OLEDB-> A DB
Model ADO consists of the following
-connection
-command
-recordset
In the code is  lines
Set Conn = CreateObject ("ADODB.Connection")
Set Com = CreateObject ("ADODB.Command")
Why then it is accepted to write ADODB.Connection instead of ADO.Connection? With what it ?

2

Re: Syntax of a command - VB

PUT_2012 wrote:

it is accepted

That means it "is accepted"? As the class is named, on that name it and use, it not , and programming.

3

Re: Syntax of a command - VB

Shocker. Pro, class ADOBD is a part ADO?

4

Re: Syntax of a command - VB

ADO - technology. ADODB - a title of a class from ADO

5

Re: Syntax of a command - VB

Shocker. Pro, prompt please where about it  and to read on more detailed?
In an Internet on demand classes ADO are  only on ADO.NET
But as I understand it a little not that....

6

Re: Syntax of a command - VB

PUT_2012 wrote:

where about it  and to read on more detailed?

As the initial information can look, say, here at it .

7

Re: Syntax of a command - VB

Shocker. Pro wrote:

it is passed...
What means it "is accepted"? As the class is named, on that name it and use, it not , and programming.

programming by verses. The interesting idea if the code is rhymed, live becomes more cheerful smile

8

Re: Syntax of a command - VB

Roman Mejtes wrote:

if the code will be rhymed, live becomes more cheerful

It looking with what it will be rhymed...

9

Re: Syntax of a command - VB

Roman Mejtes wrote:

programming by verses. Interesting idea

https://habr.com/post/186044/

10

Re: Syntax of a command - VB

Shocker. Pro wrote:

ADO - technology. ADODB - a title of a class from ADO

a title of the library implementing technology. And classes with name ADODB are not present.

11

Re: Syntax of a command - VB

ADODB.Connection is ProgID

12

Re: Syntax of a command - VB

Antonariy, your truth!
And here to that acknowledgement
http://picua.org/?v=2018-05-21_zvk3c85b … 6f9fk6.png