Total Visual SourceBook

Total Visual SourceBook CD and Printed Manual

Microsoft Access/ Office 2016, 2013, 2010, and 2007 Version
is Shipping!

New features in Total Visual SourceBook for Access, Office 2007 and VB6

Supports Access/Office 2016, 2013, 2010 and 2007, and Visual Basic 6.0!

Separate version for Access/Office 2003, 2002, and 2000.

Separate version for:
Access 97/95


View all FMS products for Microsoft AccessAll Our Microsoft Access Products

SourceBook Info:

Why SourceBook?

 

"The code is exactly how I would like to write code and the algorithms used are very efficient and well-documented."

Van T. Dinh, Microsoft MVP

 

 

 

Microsoft Access, Office/VBA, VB6 Modules royalty-free source code libraryMicrosoft Access Modules royalty-free source code libraryMicrosoft Access VBA and VB6 Module Library Free trial of Total Visual SourceBook for Microsoft Access, Office, VB6 and VBA

Module: VisualSourceSafe in Category Microsoft Access : Environment from Total Visual SourceBook

Working Microsoft Visual SourceSafe from Microsoft Access using Access VBA.

Procedure List

Procedure Name

Type

Description

(Declarations) Declarations Declarations and private variables for the modVisualSourceSafe module
GetObjectSCCStatus Procedure Determine the specified object's SourceSafe status. Note: The Access implementation of SourceSafe integration groups all tables into one object. Because of this, this procedure does not handle tables.
IsObjectCheckedIn Procedure Determine if an object is checked into Visual SourceSafe (VSS) source code control
IsObjectEditable Procedure Determine if an object is editable. It can be checked out from Visual SourceSafe (VSS) source code control or not in VSS.
GetObjectSCCStatusID Procedure Get an object's Visual SourceSafe (VSS) source code control property to determine if it's checked in, checked out, or not part of VSS
IsCurrentDBUnderSCC Procedure Determine if the current database is under Source Code control
IsDBUnderSCC Procedure Determine if the specified Access Jet database is under Source Code Control (for MDB, not ADPs)
IsDataMiscCheckedIn Procedure Determine if the Data & Misc. Objects are checked into Visual SourceSafe (VSS) source code control
IsDataMiscEditable Procedure Determine if the Data & Misc. Objects are editable based on check-in status with Visual SourceSafe (VSS)

Example Code for Using Module: VisualSourceSafe

'
' Example of modVisualSourceSafe
'
' To try this example, do the following:
' 1. Create a new form
' 2. Create a command button 'cmdTest'
' 3. Paste this code into the form's module

Private Sub cmdTest_Click()
  Const cstrSample As String = "C:\Total Visual SourceBook 2013\Samples\sample.mdb"

  ' Example of GetObjectSCCStatus
  Debug.Print GetObjectSCCStatus(acForm, Me.name)

  ' Example of IsCurrentDBUnderSCC
  If IsCurrentDBUnderSCC() Then
    Debug.Print "Current database is under Source Code control."
  Else
    Debug.Print "Current database is not under Source Code control."
  End If

  ' Example of IsDBUnderSCC
  If IsDBUnderSCC(cstrSample) Then
    Debug.Print "Database '" & cstrSample & "' is under Source Control"
  Else
    Debug.Print "Database '" & cstrSample & "' is not under Source Control"
  End If

  ' Example of IsDataMiscCheckedIn
  If IsDataMiscCheckedIn() Then
    Debug.Print "Data/Misc. Objects is checked in."
  Else
    Debug.Print "Data/Misc. Objects is checked out."
  End If

  ' Example of IsDataMiscEditable
  If IsDataMiscEditable() Then
    Debug.Print "Data/Misc. Objects is editable."
  Else
    Debug.Print "Data/Misc. Objects is not editable."
  End If

  ' Example of IsObjectCheckedIn
  If IsObjectCheckedIn(acForm, Me.name) Then
    Debug.Print "The current object is checked in."
  Else
    Debug.Print "The current object is checked out."
  End If

  ' Example of IsObjectEditable
  If IsObjectEditable(acForm, Me.name) Then
    Debug.Print "The current object is editable."
  Else
    Debug.Print "The current object is not editable."
  End If

End Sub

Microsoft Access Module LibraryOverview of Total Visual SourceBook

The source code in Total Visual SourceBook includes modules and classes for Microsoft Access, Visual Basic 6 (VB6), and Visual Basic for Applications (VBA) developers. Easily add this professionally written, tested, and documented royalty-free code into your applications to simplify your application development efforts.

Additional Resources