Author Topic: Version 3.99 and VB 2010  (Read 2423 times)

mlefebvre64

  • Newbie
  • *
  • Posts: 14
    • View Profile
Version 3.99 and VB 2010
« on: February 13, 2018, 08:31:50 AM »
Good morning,
I downloaded and installed version 3.21 and was able to communicate with an Allen-Bradley Micrologx 1400.
I am using Visual Basic 2010 SP1 (I know, we need to upgrade) and .NET 4 Framework (Full).

I downloaded version 3.99 to try, opened the solution, built it without issue.
When I try to add the DigitalPanelMeter control to the form I receive this error:


Also, I am not seeing any of the Allen-Bradley com controls in the toolbox.
Is there anything I'm missing or should I go back to 3.21?
Thanks in advance for any suggestions.

Godra

  • Hero Member
  • *****
  • Posts: 1447
    • View Profile
Re: Version 3.99 and VB 2010
« Reply #1 on: February 13, 2018, 09:26:19 AM »
Did you add any driver to the form (if not then just add one for a test)?

Do you get this same error when trying to add other controls to the form?

Here is the link for some older versions of AHMI that were used in VS2010 (you can try them separately from your current project):

http://advancedhmi.com/forum/index.php?topic=516.msg4427#msg4427

mlefebvre64

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Version 3.99 and VB 2010
« Reply #2 on: February 13, 2018, 09:45:30 AM »
I had not added drivers to the form yet.  :-[

I added the OmronEthernetFINSCom1 driver to the form and the DigitalPanelMeter was able to be placed on the form without error. Thanks!
I tested several random controls and they were added to the form successfully.

How do I get the Allen-Bradley drivers to show up as choices in the Toolbox?

mlefebvre64

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Version 3.99 and VB 2010
« Reply #3 on: February 13, 2018, 10:12:33 AM »
The version AHMI v3.8.4 came in without issue.
I will work with this version. Thanks for your help!

Godra

  • Hero Member
  • *****
  • Posts: 1447
    • View Profile
Re: Version 3.99 and VB 2010
« Reply #4 on: February 13, 2018, 10:41:29 AM »
For drivers not showing, read posts in this topic: http://advancedhmi.com/forum/index.php?topic=1266.0

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Version 3.99 and VB 2010
« Reply #5 on: February 13, 2018, 05:54:20 PM »
Out of curiosity, why are you using VS2010 and not the latest version of 2017?

pal

  • Jr. Member
  • **
  • Posts: 65
    • View Profile
Re: Version 3.99 and VB 2010
« Reply #6 on: February 13, 2018, 06:12:29 PM »
If it helps , I am using AHMI v 3.99r with 2010 sp1 . As Godra said ,  non - appearing drivers was a problem suspected to be in studio . Putting any driver from the toolbox onto your form and then building has always populated the rest of the drivers into the toolbox for me . You can then insert the driver you want and delete the 1st .
Archie , for me I still have not figured out how to deploy a small enough version of VB offline . The target machine has no internet connection , nor will it for security reasons .
Paul

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Version 3.99 and VB 2010
« Reply #7 on: February 13, 2018, 06:18:27 PM »
Archie , for me I still have not figured out how to deploy a small enough version of VB offline . The target machine has no internet connection , nor will it for security reasons .
This is the method to install VS2017 on an offline computer:

https://docs.microsoft.com/en-us/visualstudio/install/install-vs-inconsistent-quality-network

I have done this and it does work.

mlefebvre64

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Version 3.99 and VB 2010
« Reply #8 on: February 14, 2018, 08:10:47 AM »
Out of curiosity, why are you using VS2010 and not the latest version of 2017?

The software I am writing integrates with third party software deployments that have not been updated or tested with VB versions newer than 2010.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Version 3.99 and VB 2010
« Reply #9 on: February 14, 2018, 08:44:58 AM »
The software I am writing integrates with third party software deployments that have not been updated or tested with VB versions newer than 2010.
For the most part if it is a .NET component, then it should have no issues with newer versions of Visual Studio. The compatibility is related to the .NET version more than Visual Studio.

If it is a Visual Studio add-in, then it will very likely have issues with newer versions of VS.