"neona" <x@no.email> wrote in message news:1175865006915-503413@exchange.ni.com...
Hello,
I built an application with LV7.1, this LV application must open external VIs (not included in the application) in edit mode. My problem is that the application opens the front panel of the desired VI but I can't open its block diagram. In the application I open the external VI as shown in the attachment.
Regards
Neona
Open VI.vi:
http://forums.ni.com/attachments/ni/170/240167/1/Open VI.vi
If you open a vi reference, the vi is openen in the instance of the executable. When you use the development environment, the vi is open in labview.exe, so you can edit it. When you open the reference in an exe, the vi is opened in that exe's run time engine, so you can't edit it.
Perhaps if you open an application reference, and open the vi with that reference, you can open it in the development environment, with the run time.
You can also use the "System Exec.vi": "<path to labview.exe> "<path to vi>\vi to open.vi". This will open LabVIEW if it's not open, and open the vi in it.
Needless to say: you can never open a vi in edit mode, if you didn't install LabVIEW!
Regards,
Wiebe.