SystemStartApp()

  SystemStartApp

Description

SystemStartApp() is used to open a file of almost any type and then start the executable associated with that open file where applicable.

Call Signature

int SystemStartApp ( string filename )

Return Value

int

A non-zero value is returned for success.

Argument

string filename:

The name of the file to open.

Remarks

On Windows this currently uses the ShellExecute() system call. This will utilize the application defined in the windows registry for use with files of the given extension. If the string passed is an URL, then the default system web browser will be launched.

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.