Hello,
I have been using Visual Basic 2008 with Measurement Studio since 2008. Over the years I have developed what for me was a complicated program to measure the audio frequency response of microphones and speakers. It is called DFR. I used two computers for the development work. One used Windows XP and the other Windows 7.
While my program worked quite well on both computers, I was never able to publish it to another machine. I was able to transfer simple Visual Basic 2008 programs, but I was not able to publish any programs involving Measurement Studio up to version 2013 (the highest version I had). Since they were the two computers I used, it was not really an issue. However, over time, both computers have aged, and the newer machine has failed twice. Windows no longer supports XP machines and at the end of the year, Windows 7 will no longer be supported.
It is extremely important that I be able to transfer the DFR program to a new machine!
I considered several approaches. The first was to fix the problem with publishing a program using Visual Basic 2008 and Measurement Studio 2013 on one of the old computers. That has not been successful at all as the publish process appears to work but no program runs.
The second approach was to upgrade both my version of Visual Basic and Measurement Studio on a new computer and then compile the old program on the new machine. I now have Visual Studio 2017 on my new computer. I have also installed the evaluation version of Measurement Studio 2019 on the same computer. When I tried to update the DFR program, I received an error message that the program could not compile. Ultimately the problem was traced to the use of an MS LED on the program.
My third approach would be to completely rewrite the program on the new computer. Just to be sure this was possible, I tried to compile and publish a very simple program using both VB 2017 and MS 2019. It has a button and an LED and is called Red_Green. The button changes the color of the LED. The program works on the new computer with VB 2017 and MS 2019 installed, but when I publish it to a another Windows 10 computer, the publish process appears to work, and the starting Windows form appears with the button on it, but the LED is nowhere to be found. This appears to be a basic problem. I tried other MS instruments on a slightly more complex version of the simple program, and the other instruments did appear.
Should I be able to update a VB 2008 with MS 2013 program in VB 2017 with MS 2019???
I would buy Measurement Studio 2019 as long as I knew why this LED problem occurs and that it could be corrected. Could you help me with that? If absolutely necessary, I would install both VB 2017 and MS 2019 on a special computer I would use only for testing microphones. However, my old version of MS 2013 could be installed on more than one computer. Does this happen for MS 2019? Obviously, this approach would not allow me to sell my program or even allow others to use it.
Just as a note, I did try the NI Forum and signed on as PLM767 but received no assistance there.
Please help!