PC-Dmis 2010 MR3 Object Library | Send comments on this topic. | See Object Hierarchy Chart
Application Object Members
See Also Overview

Collapse All Expand All

# Public Methods

_AddRegistrySetting |
ChangeLanguage | set the new langugage
DeleteRegistryKey | Deletes a key and all its subkeys from the registry
DeleteRegistryValue | Deletes a value from the registry
ExportRegistrySettings |
GetHelpMap | Returns help map for menu id, used by online help
GetRegistryBool | Gets a boolean from the registry
GetRegistryDouble | Gets a double from the registry
GetRegistryDWORD | Gets a DWORD from the registry
GetRegistryInt | Gets an integer from the registry
GetRegistryPoint | Gets an XYZ triple from the registry
GetRegistrySettings | Gets the settings object for the application
GetRegistryString | Gets a string from the registry
Help | Shows application or specified help file Calls and opens a help file and topic.
ImportRegistrySettings |
Maximize | Maximizes application window The Maximize Subroutine expands the PC-DMIS window to full-screen size.
Minimize | Minimizes application window The Minimize subroutine reduces the PC-DMIS window to the taskbar.
PartProgramMirror | Mirrors the supplied part program. The szPartProgramPathName, szTargetProgramPathName and szReferencePathName should be full path name. If szTargetProgramPathName is empty the default name is used
Post | Imports or exports data to/from specified part program The Post function tells PC-DMIS to import or export Source into Destination. It returns TRUE if the import or export process is successful, FALSE otherwise. Exactly one of Source and Destination must be a PC-DMIS .prg or .cad file. If it is Source, then PC-DMIS will export based on the name of the Destination file. If the Destination file is a PC-DMIS .prg or .cad file, then PC-DMIS will import based on the name of the Source file.

The Source file must already exist, but the Destination file need not already exist.

Quit | Quits application - once all object pointers have been released The Quit function tells PC-DMIS to close. It always returns TRUE.
RegistryKeyExists | Queries the registry for a specific key
RegistryValueExists | Queries the registry for a specific value
Restore | Restores application window The Restore subroutine makes the PC-DMIS window open and neither maximized nor minimized.
SetActive | Makes application the active application for the OS Brings PC-DMIS to the foreground, making it the active application.
SpawnNewInstance | Returns Application Object of newly created instance of application
SwitchLanguageFiles | switch language resource files from current to expected
WaitUntilReady | Waits until online machine has fully initialized or timeout period has elapsed before returning Waits until the online machine has fully initialized or timeout period has elapsed before returning.
WinHelp | Invokes internal help
WriteRegistryBool | Writes a boolean to the registry Sets a PC-DMIS registry entry to a TRUE or FALSE value.
WriteRegistryDouble | Writes a double to the registry Sets a PC-DMIS registry entry to a specified Double value.
WriteRegistryDWORD | Writes a DWORD to the registry Sets a PC-DMIS registry entry to a specified long value.
WriteRegistryInt | Writes an integer to the registry Sets a PC-DMIS registry entry to a specified integer value. Write Integer.
WriteRegistryPoint | Writes an XYZ triple to the registry Sets a PC-DMIS registry entry to a specified XYZ value. Write double.
WriteRegistrySettings | Writes current registry settings to the debug file Writes the current PC-DMIS registry entries and their values to the debug.txt file.
WriteRegistryString | Writes a string to the registry This writes a specified string value to a valid PC-DMIS registry entry. Write String.

# Public Properties

_Name |
ActivePartProgram | Read/Write: Returns/Sets pointer to Currently Active Part Program Represents the currently active part program.
AdminPrivileges | Read Only: Returns true if current user has administrator privileges
ApplicationEvents | Returns Application Events Object for use in capturing application events Returns the ApplicationObjectEvents object for use in capturing application events.
ApplicationSettings | Read Only: Returns the ApplicationSettings Object Returns the ApplicationSettings object for use in modifying PC-DMIS’s settings.
Caption | Read/Write: Returns/Sets text of application title bar The text in the title bar of the application.
ConnectedInDriveMode | Read Only: Returns true when computer connected as driving computer
ConnectedInRelayMode | Read Only: Returns true when computer connected as relay computer
ConnectedToMaster | Read Only: Returns true if connected to master computer as slave
ConnectedToSlave | Read Only: Returns true if connected to slave computer as master
CurrentUserDirectory | Read Only: Returns the directory where user information is stored This returns a string showing the directory that contains the current user’s setup information.
DefaultFilePath | Read/Write: Returns name of current working directory The directory in which the File Open dialog starts. If you set this property to empty it returns the installation path.
DefaultMachineName | Read Only: Name of next available machine - CMM or offline The name of the next available machine for attaching to a part program.
DefaultProbeFile | Read Only: Name of last used probe file The name of the last chosen probe file used when creating a new part program.
ErrorDialogEnabled | Read/Write: Returns/Sets whether the CMM Error Dialog is enabled
FullName | Read Only: Returns full path for application executable - ex. C:PCDMISWPCDLRN.EXE The fully qualified path name of the PC-DMIS executable.
GetBoolSetting | Read Only: Returns the boolean value of the named PC-DMIS setting
GetDoubleSetting | Read Only: Returns the double value of the named PC-DMIS setting
GetDWORDSetting | Read Only: Returns the DWORD, or unsigned long, value of the named PC-DMIS setting
GetIntSetting | Read Only: Returns the integer value of the named PC-DMIS setting
GetStringSetting | Read Only: Returns the string value of the named PC-DMIS setting
Height | Read/Write: Returns/Sets height of application window The height of the PC-DMIS window in screen pixels.
LabelTemplates | Read Only: Returns the Label Templates object
Left | Read/Write: Returns/Sets left coordinate of application window The left edge of the PC-DMIS window, measured from the left edge of the Windows Desktop.
LocaleID | Read Only: Returns the current LocaleID (LCID) of the application
Machines | Read Only: Returns Machines Object - CMMs, including offline, available to application Returns the read-only Machines collection object.
MajorVersion | Read Only: Returns the major version number of the application Returns the major version number of the application.
MinorVersion | Read Only: Returns the minor version number of the application Returns the minor version number of the application.
Name | Read Only: Returns name of executable - ex. PCDLRN.EXE The file name of the PC-DMIS executable.
OperatorMode | Read/Write: Returns/Sets status of application operator mode Represents whether or not you are in operator mode. TRUE when in operator mode, FALSE otherwise.
PartPrograms | Read Only: Returns pointer to Partprograms object Returns the collection of part programs currently active in PC-DMIS.
Path | Read Only: Returns path location for application - ex. C:PCDMISW Returns the directory in which the PC-DMIS executable resides.
PortLock | Read Only: Returns pointer to PortLock object
RemotePanelMode | Read/Write: Indicates that PC-Dmis is in Remote Panel mode. Used by remote panel. Indicates that PC-DMIS is in Remote Panel mode. Used by Remote Panel Application (RPA).
ReportTemplates | Read Only: Returns the Report Templates object
StatusBar | Read/Write: Returns/Sets text of application status bar The text on the status bar of the main PC-DMIS window.
Top | Read/Write: Returns/Sets top coordinate of application window The top edge of the PC-DMIS window, measured from the top edge of the Windows Desktop.
UserExit | Read/Write: Determines whether user can close application TRUE if the PC-DMIS automation engine is will shut down when the user exits PC-DMIS, otherwise FALSE.
VerboseDialogs | Read/Write: Controls verbose debugging dialogs
VersionString | Read Only: Returns the version string for the application Returns the version string for the application.
Visible | Read/Write: Returns visibility status of application or Shows or Hides the Application TRUE if PC-DMIS is visible, otherwise FALSE.
Width | Read/Write: Returns/Sets width of application window The width of the PC-DMIS window in screen pixels.

# See Also

Application Overview

© Wilcox Associates, Inc. All Rights Reserved.

© 2010 All Rights Reserved.