Executehostfile(Filename); Geterror() - Symantec PCANYWHERE - OLE AUTOMATION GUIDE V12.1 Manual

Ole automation guide
Table of Contents

Advertisement

66 Visual Basic object definitions
Awrem32 functions

ExecuteHostFile(FileName)

GetError()

Executes an existing file on the host computer. This function only executes
batch, command, and executable files. It does not execute files that are
associated with executables. For example, this function does not open Microsoft
Word if you execute a .doc file.
Table 2-77
defines the ExecuteHostFile parameter.
Table 2-77
ExecuteHostFile parameter
Parameter
FileName as string
Table 2-78
defines the ExecuteHostFile return value.
Table 2-78
ExecuteHostFile return value
Return value
Boolean
Returns the last error as a string.
Table 2-79
defines the return value.
Table 2-79
GetError() return value
Return value
String
Description
Contains the fully qualified path to the file on the host
computer
Description
TRUE if command executed
Description
Returns the last error generated in Awrem32

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pcanywhere v12.1

Table of Contents