Application Methods (ActiveX)
Installed With: Base Package
An Application object exports methods that affect LabVIEW.
![]() | Note Method parameters denoted by [] are optional for that method. |
Refer to the ActiveX Enumerations for more information about the enumerations used in various methods.
| Method | Description |
|---|---|
| BringToFront | On Windows and Mac OS, brings the application windows to the front. Details |
| BrowseDataSocket | Launches the National Instruments DataSocket Browser dialog box to establish a connection to a DataSocket item. Details |
| CreateLibrary | Creates a new LabVIEW project library. Details |
| GetVIReference | Places a VI in memory and returns the IDispatch pointer for the VI. Details |
| GetVIVersion | Returns the version of LabVIEW in which the VI was last saved. LabVIEW does not open the VI when retrieving the version information. If you specify a path to a file that is not a VI, LabVIEW returns error 6559. Details |
| LibraryGetFileLVVersion | Returns the version of LabVIEW in which the LabVIEW project library was created. Details |
| MassCompile | Loads and compiles all the VIs in a directory, including any VIs in subdirectories, for the specified application instance. Details |
| NewProject | Creates a new, empty LabVIEW project. You also can use the LabVIEW Project Explorer window to create a new project. Details |
| OpenLibrary | Opens the LabVIEW project library. Details |
| OpenProject | Loads a LabVIEW project from disk. If the project is already in memory, this method returns a reference to the existing project. You can use this reference with the Project properties. In LabVIEW, you also can select File»Open Project to navigate to and open a project. Details |
| Quit | Quits the application. Details |
