I think the direction you want to go is using VIServer. The attached snippet of code demonstrates how to start another VI and keep the first one running. Whenever the user makes a menu selection, you could run this code with the appropriate VI name to start it.
Hope this helps
Denis
"Derek Hoiem" wrote in message news:396f6fe0@newsgroups.ni.com...
>
> I am trying to build an application that allows the user to open VI's using
> a menu. I have tried using the VI Refnum control. I tried choosing "Class
> Server..Browse" and selecting the VI that I want to open. That only produced
> a white-space icon. Then I tried browing and dragging the VI file to the
> box. This resulted in Labview crashing. Am I trying the wrong things?
>
If so, how do I do it. In case I wasn't clear, I want the user to be able
> to choose "Spectral Sampling" from the run-time menu and have the Spectral
> Sampling VI or application open. Is this possible?
> Thanks,
> Derek