Jump: Search:

Total Visual SourceBook

Total Visual SourceBook CD and Printed Manual

Microsoft Access 2007/2010 Version
is Shipping!

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

Supports Access/Office 2010 (32 bit), 2007, 2003, 2002, 2000, and
Visual Basic 6.0!

Also available 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

 

 

 

 

 
Royalty free source code library modules for Microsoft Access, VB6, VBA, OfficeRoyalty free source code library modules for Microsoft Access, VB6, VBA, OfficeVBA and VB6 Source Code Library Download the free trial version of Total Visual SourceBook for Microsoft Access, Office, VB6 and VBA
Category: General VBA/VB6 : System Information
Description: System information for the computer, keyboard, memory, mouse, operating system, printers, and system folders

Class: COSInfo

Obtaining operating system information

Procedure Name

Type

Description

(Declarations) Declarations Declarations and private variables for the COSInfo class
Beep Property Returns whether the warning beeper is on or off
ComputerName Property Gets the name of the computer
CurrentHardwareProfile Property Gets the name of the current hardware profile
DefaultCompanyName Property Gets the default company name used by Microsoft setup programs
DefaultUserName Property Gets the default user name used by Microsoft setup programs
DisplayColors Property Gets the number of colors displayed by the adapter
GUID Property Generates a GUID (Globally Unique IDentifier)
Language Property Gets the user language
LargeFonts Property Returns whether large fonts are displayed
OSAdditional Property Gets additional information about the operating system version
OSBuild Property Gets the operating system build number
OSMajorVersion Property Gets the operating system major version
OSMinorVersion Property Gets the operating system minor version
ScreenResolutionX Property Gets the screen resolution X value
ScreenResolutionY Property Gets the screen resolution Y value
ScreenSaverActive Property Returns whether the screen saver is enabled
ScreenSaverTimeout Property Gets the screen saver time-out value
SystemDirectory Property Gets the Windows system directory
TempFile Property Gets a temporary file name. The TempFile property only uses the first three characters of the strPrefix parameter.
TempPath Property Gets the path of the temporary directory
username Property Gets the Windows user name
WindowsDirectory Property Gets the Windows directory
WindowsType Property Gets the Windows type. This property can have one of the following values: OSIWindows32s - Win32s OSIWindows95 - Windows 95 OSIWindowsNT - Windows NT
WindowsTypeString Property Gets the Windows version as a string with major and minor build (e.g. Windows 7 v.6.1)
WindowsUpTime Property Gets the length of time in minutes that the current Windows session has has been running
GetWorkArea Method Gets the visible area of the desktop, minus the taskbar
RegistryGetKeyValue Private Returns a value from the system registry
TrimNulls Private Returns the passed string terminated at the first null

Overview 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

Feedback

Contact Us  l   Web questions: Webmaster   l   Copyright © FMS, Inc., Vienna, Virginia
Celebrating our 26th Year of Software Excellence