You can get better control over this if you use the LabVIEW automation interface. For example, create a new VB application, go to the Project/References menu item, and check "LabVIEW 6.0 Type Library". Add a button to the form, double-click on the button, and try the following code:
Dim app As labview.Application
Set app = New labview.Application
Dim path As String
path = app.ApplicationDirectory & "\examples\dll\hostname\hostname.vi"
Dim vi As labview.VirtualInstrument
Set vi = app.GetVIReference(path)
vi.FPWinOpen = True
vi.FPWinIsFrontMost = True
vi.Run
Check out the other properties and methods in the LabVIEW automation interface to see other interesting things that you can do. Hope this he
lps.
- Elton