Wednesday 07 January 2009  
  3devroup Home | Tehnologies | Pending Projects | All projects | Team | History | BEST Links | Downloads
 
Reg.Engine Project
 Powerd by ZOL
 
Overview
Getting started
Arhitecture
Download
Team
Standards
Screen Shots
Todo List
Known bugs list
Search
Advanced search
 
  3devgroup home \ projects \ registration-engine
 
 

Code Conventions

 


Check out

  • microsoft coding standards
  • http://www.asp-help.com/getstarted/ms/vbscript/1.asp
  • http://www.vb-faq.com/Articles/Fresle/VB_Coding_Standards.asp


  • Visual Basic 6 - Object Naming Conventions for Standard Objects

    The following tables define the MCS standard object name prefixes. These prefixes are consistent with those documented in the Visual Basic Programmers Guide.

    PrefixObject type
    aniAnimation button
    cmbCombo box and drop down list box
    chkCheckbox
    cmdCommand button (3D)
    ctrControl (when specific type unknown)
    dlgCommon dialog control
    frmForm
    fra (3d) Frame (3d)
    imgImage
    lblLabel
    linLine
    mnuMenu
    opt (3d) Option Button (3d)
    pctPicture
    shpShape controls
    txtText Box
    tmrTimer


    Scope and Usage Prefixes:

    PrefixDesciption
    gGlobal
    mLocal to module or form
    stStatic variable
    (no prefix)Non-static variable, prefix local to procedure
    vVariable passed by value (local to a routine)
    rVariable passed by reference (local to a routine)



    File header comment convention:

    '************************************************************************************
    ' 3devgroup
    '
    ' File Name : file name
    ' Class Name : class,form,module or other type of object name
    ' Interface Name : Interface name
    ' Comments : scope,inputs,outputs
    ' --------------------------------------
    ' Author : author
    ' Email : email
    '************************************************************************************
     
     
    www.3devgroup.com
    Contact : Terms : Privacy Policy
    © 2004-2005 3DEVGROUP. All Rights Reserved.