John,
This is not extremely straight-forward.
(1) You can take a look at the OpenG Application Builder <> installer which registers .bld files with a VB Script that invokes LabVIEW's ActiveX server. If you are building an EXE you would need to alter the VB Script to connect to the ActiveX server in your EXE.
(2) You can invoke you application with a command-line and use WinAPI calls to get the command-line arguments. Check out this project for an example of getting the command-line that launched LabVIEW: <> You will need to register your application to recieve the command-line from the windows shell by registering your extensions, as is done in the OGAB installer.
At OpenG, there are
a few of us who are working together on tools to make this a lot easier. We will eventually include them into the OGAB so that file registration and handling can be automatically added to an application that you are building.
Good luck,
-Jim
>>