> I have an LabVIEW (6.1) application that opens and analyses an arbitrary
> file using
> the filepath control.
> What I would like to achieve is when I build a executable of this LabVIEW
> VI,
> an arbitrary file that I select using the windows explorer (I use
> windows2000 and windowsXP)
> and pressing the right mouse button , selecting the option "open with" or
> "send to" ,
> the build LabVIEW executable gets called (thats the easy part)
> but also that the selected file is send to the filepath control ,
> and the LabVIEW executable runs , and in this case analyses the file I have
> selected using the windows explorer.
> 

To get the right click connection in Windows, I believe you register a 
DLL as a shell extension.  I don't know if this can be done completely 
in LV or if you will have to write a wrapper DLL.  First determine if 
the shell extension is really what you have to write, or is there some 
other ActiveX interface that you implement.  Then see if you can write a 
LV DLL that fits the interfaces they prescribe.

Greg McKaskle


Reply via email to