PC-Dmis 2010 MR1 Object Library | Send comments on this topic. | See Object Hierarchy Chart
WriteRegistrySettings Method
See Also

Collapse All Expand All

# Description

Writes current registry settings to the debug file Writes the current PC-DMIS registry entries and their values to the debug.txt file.

# Syntax

Visual Basic

    Public Sub WriteRegistrySettings()

# Return Type

The debug file is a text file with a default name of debug.txt and is located inside your PC-DMIS installation directory. When you have PC-DMIS set up to write data to this text file, you can use it to keep track of every action of PC-DMIS. This is useful data to give to Technical Support so that they can track down possible bugs or problems you may be encountering inside of PC-DMIS.

When you run a script with this method, all the registry entries get appended to the end of your debug file. You will see a line that says:

//// Start of registry settings ////

Following this line you will find all the registry entries and their values. After the final entry, PC-DMIS shows this line:

//// End of registry settings ////

# Example

' This code sample writes all of PC-DMIS’s registry entries and their values to the debug.txt file:

Dim myapp As New PCDLRN.Application

Set myapp = CreateObject("pcdlrn.application")

myapp.WriteRegistrySettings

# See Also

Application Object

© Wilcox Associates, Inc. All Rights Reserved.

© 2010 All Rights Reserved.