Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Measurement Studio Deploy in Visual Studio 2017 - LED does not show up

I have been programing with Visual Basic and Measurement Studio for some time now.  I wrote a program specifically for acoustic measurements that does what I need for my business.The work was done using VB-2008.  I had both VB and MS on two different machines so I never really had to make a published version of my program and install it on another machine.  Now those two machines are failing and I am struggling with a solution to porting the programs over to Windows 10.  I thought I would try one of 3 options to get one that worked to run the program on Windows 10.

 

Option 1: publish from VB-2008 on a Windows 7 computer.  I tried that and get the normal general installation screens but the program does not run on Windows 10

 

Option 2: Compile the VB-2008 program in VB-2017 on a Windows 10 computer.  I thought I could just load the program into VB-2017 and it would update but it shows me a message saying that was not possible and must be rewritten!

 

Option 3: Write the program in VB-2017 using copy and paste for the transfer.  This means I would need the same forms and same controls.  I have a trial version of MS to see if I could get a simple program to run.  If I can, then I would do the grunt work of re-entering code.  So, I put  a simple button on a form that changed the color of the button.  I published that and ran it on another Windows 10 machine and it worked.  Next I put a MS LED on the form and changed its color in a similar way.  It works in VB-2017 on the source machine  but the published version in Windows 10 on another machine does not show the LED.  So I put other MS controls and elements like a graph and a slider and a thermometer.  They showed up, but the LED did not.  I figured a .dll was missing, but NationalInstruments.UI.WindowsForms.dll seems to be the right one and it is deployed.  I know there is and LED as part of NationalInstruments.Controls.dll, but I can't use both without a conflict.

 

Can anyone give me some help on this???

 

0 Kudos
Message 1 of 2
(2,148 Views)

Thanks for this information. It useful

0 Kudos
Message 2 of 2
(2,070 Views)