GefApplication.ConvertToCTX (method)

Converts the specified binary format input screen file to the specified text format output screen file using the specified textual encoding.
Syntax: Boolean = object.ConvertToCTX ( BinarySrcFile, TextDestFile, Encoding )
Parameters:
BinarySrcFile As String -
TextDestFile As String -
Encoding As GefCTXEncodingEnum -
Description: Saves a binary screen file (.cim) as a text screen file (.ctx) using the specified encoding. The source file (first parameter) can be specified as either a fully qualified path or just a filename. If specified as just a filename, the customary project search path will be used to find the file. Likewise, the destination file may be specified as either a full path or a filename. If specified as just a filename, the path where the source file existed will be used as the path component.

Examples

Sub OnSmartObject()
  Dim oCimApp As GefApplication
  Set oCimApp = CimGetScreen.Application
  oCimApp.ConvertToCTX "MyScreen.cim", "MyScreen.ctx", CTXE_UTF8
End Sub