docs

Home All functions Categories

vuShell(FileName)

vuShell(*CSTRING), Long

Description

Runs a file with its associated executable. For example, opening a Word document will launch Microsoft Word.

Parameters

Parameter Data Type Description
FileName CSTRING(256) Fully qualified path and name of the file to run.

Returns

A LONG value containing the instance handle of the application that was run.

Example

FileName = 'MyDocument.doc'
AppHandle = vuShell(FileName)

IF AppHandle
  MESSAGE('Application launched successfully.')
ELSE
  MESSAGE('Failed to launch application.')
END

Notes

Home All functions Categories