03-19-2018 06:34 AM
Hello
I am using the 'Open URL in default browser core.vi' to open a text file. The text file is opened in Notepad as expected on my development computer but when using an exe of the program on a secondary computer, the text file opens in Chrome.
It seems to be an issue others have had also but no one has found a solution other than using SystemExec.vi. Some have mentioned a possibility of it being something to do with Labview version.
Default programs for a text file are set to Notepad on both computers
Development computer is running LabVIEW 2014 SP1 with the latest runtime version being LaBVIEW Runtime 2015 SP1 f3.
Secondary computer has runtime 2015 SP1 f3 also installed.
Any ideas as to why this is happening and how to fix it would be much appreciated?
Thanks
03-19-2018 08:58 AM
The IDE seems to be the problem to me because it doesn't behave as the help file for the function indicates. The help file says it displays a URL in the default web browser, which is what you are seeing in the EXE. I can confirm this behavior in Labview 2012. However in 2017, this appears to have been fixed because files now open inside the web browser window, and not the default application. In 2017, if a file is selected that the browser can't open, it will give you the Open With/Save File dialog box that you see when downloading a file from a website.
03-20-2018 04:58 AM
Sorry what is the IDE? Is it possible to fix this?