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: Microsoft Visual Basic 6 : Application Techniques
Description: VB Application Techniques

Module: modVB_Application

Routines for working with VB modules and IDE.

This includes handling chores such as ensuring that all forms in the application are closed before exiting, and testing the open status of forms in your and other applications.

Procedure Name

Type

Description

(Declarations) Declarations Declarations and private variables for the modVB_Application module
AnyModulesOpen Procedure Determines if any modules are open in the VBE.
CloseAllVBEModules Procedure Closes all open modules in VBE.
CloseForms Procedure Closes all forms in the application. The calling form is closed last. If you want to close your application without using the 'END' statement, and you have many forms which may or may not be open, it can be difficult to completely close an application. The application does not stop until all forms are unloaded.
CloseVBEWindow Procedure Closes the VBE window
GetOpenModuleCount Procedure Returns the number of modules open in the VBE
IsAppRunningTitled Procedure Checks to see if there is an application running with the specified caption. This function finds exact matches only. For example, if you have a copy of Notepad running with no document loaded, you would need to search on the value "Untitled - Notepad", not just "Notepad".
IsCurrentProjectSaved Procedure Determines if the current VBE project is in a saved state
IsFormLoaded Procedure Tests to see whether the default instance of a form is loaded. If the default instance of a form is loaded, it will be in the Forms collection. This function tests to see whether a form of the specified name is in the collection.
IsModuleSaved Procedure Determines if the current module is in a saved state in the VBE.
RunningFromIDE Procedure Tests whether the program is currently running from the VB IDE, or from the compiled executable. Requires an app with at least one form

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