Not
Åtkomst till denna sida kräver auktorisation. Du kan prova att logga in eller byta katalog.
Åtkomst till denna sida kräver auktorisation. Du kan prova att byta katalog.
Contains the name and path of the file set as the main program in a project. Read-only.
Object.MainFile
Remarks
MainFile contains the empty string if a main program has not been set for a project. A program or form can be set as the main program in a project by right-clicking the program or form and choosing Set Main from the shortcut menu. You can also use the SetMain method to programmatically specify a main program for a project.
See Also
Applies To: Project Object