Solved

Where I can find ADO Coding conventions?

Posted on 2001-08-29
2
215 Views
Last Modified: 2013-11-23
Can anybody tell me how I can get hold of a coding convention document for ADO objects in the Microsoft site or MSDN Help or Visual Basic help? When a search is done in MSDN Help with the text "Visual Basic Coding Conventsions", I come up with coding coventions for DAO objects under Object Naming Conventions but not ADO.

I need somethig official that people can relate to, not your own coding conventions.

Thanks

0
Comment
Question by:mfarid2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 6

Expert Comment

by:JonFish85
ID: 6437448
Well, microsoft recommends Hungarian notation for variable names. Basically that is approx. 3 letter prefix to a variable name, ie:

Dim strInfo As String
Dim intCount As String
Dim varMyObject As Variable
Dim objCreate As Object

Based on that, for ADO, I use:

Dim acnConnection As ADODB.Connection
Dim arsRecordset As ADODB.Recordset

(acn = Ado ConnectioN)
(ars = Ado RecordSet)

hope this helps!
0
 
LVL 75

Accepted Solution

by:
Anthony Perkins earned 50 total points
ID: 6437502
Here check this out:
http://www.xoc.net/standards/rvbanc.asp#ADO

Anthony
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question