LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Launching a non top level VI from a html file

Is it possible to launch a non top level vi from an LabVIEW executable without explore asking you if you want to download or run the file. In older versions this was possible but not in later versions. If not can this be done.
 
0 Kudos
Message 1 of 10
(3,786 Views)

Hi,

The title of your post does not seem to match your question. Are you trying to run a non top-level VI from a LV Executable? If that is the case, I think you should be able to use VI server and use the 'run' method to run the VI. 

Also, you mentioned that what you are trying to do was possible in older versions but not in newer versions of LabVIEW. Can you please elaborate on this...specifically what versions it worked with and starting which version it stopped working. A sample code would be useful too.

Hope this helps.

Ankita

Message 2 of 10
(3,762 Views)
Thank you for the reply.
 
What I am trying to do is from within my executable that displays a web browers window with a html file loaded, that has hyperlinks to VI's., I want the user to  click on the link and the vi that is attached to the link runs. In development mode this works. When I compile the program I realize the vi is inside the executable and was wondering if there is any way to run it with the link in the browser window. I can use the MyApllication.exe -target MyVI.vi but you get the Windows message, would you like to download or run this file. I would like to get around this message. Im using Labview 7.1 Pro with no add ons.
 
 
 
 
0 Kudos
Message 3 of 10
(3,747 Views)
I just threw together a quick little example and seen the same message that you see, then I created a property node and selected silent and put it before the method to open the url and now all works fine no message.



Joe.
"NOTHING IS EVER EASY"
Message 4 of 10
(3,741 Views)
Thank you for responding with the silent property. I'm thinking this might work with 2000, but on my XP there is no effect with the use of this property. Im not sure if it is a Windows or Browser problem. If you have any other suggestions please let me know.
0 Kudos
Message 5 of 10
(3,728 Views)
I will try it my xp machine tonight when I get home and see if it does anyrhing different. I will let you know tomorrow how it turns out for me.



Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 6 of 10
(3,722 Views)
Thank You very much. jhoskins,
 
After playing around a little more and Selecting "Allow Active Content to Run on My Computer" in internet options everything runs smooth. The answer you gave was excellent. I have been looking on the web site for a long time and could not find the solution. Again thanks for the solution. This forum is great with people like you helping others out.
 
 
0 Kudos
Message 7 of 10
(3,717 Views)
Well around here we accept praise as well as stars.
 
Be sure to rate a good answer.



Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 8 of 10
(3,706 Views)
I also want to Thank Ankita for replying fast and pointing out I needed better explain my question. He/She help alot in getting the answer I needed.
 
Thank You All
 
 
 
 
0 Kudos
Message 9 of 10
(3,691 Views)
Thank you. A good explanation of the issue always helps in reaching a solution faster.
 
Ankita
BTW : I am the mother of a 4 month old. 
0 Kudos
Message 10 of 10
(3,674 Views)