SetMain Method

Sets the main file in a project.

Object.SetMain([cFileName])

Parameters

cFileName

Specifies a file in the project to set as the main file. The main file can be a program or a form. Be sure to include the file extension in cFileName. If cFileName is omitted or is an empty string, no file in the project is set as the main file.

Expand imageRemarks

Expand imageSee Also


© , 1996-2020 • Updated: 11/10/20
Comment or report problem with topic