AdvancedHMI Software
General Category => Support Questions => Topic started by: arbor on June 05, 2015, 09:04:33 AM
-
I am wanting to use your HMI with AB compactlogix and Keyence camera controller. I installed Visual Studio 2013 Community. When trying to add COM Component, VWXG Control (Keyence camera control Active X), get message "added...but not enabled". Keyence documentation says compatible with VB2010. Any workarounds or do you have earlier AdvancedHMI software that will run on VB2010? Thanks much.
-
Just received reply from Keyence, "According to our most updated manual, the Active X package is compatible with
VB 6.0, VB 2005, VB 2008, and VB 2010. I would assume VB 2013 would be fine,but have no way to confirm as we are working with VB 2008."
-
Typically compatibility problems are more with the .NET framework version than the Visual Studio Version. AdvancedHMI is based on .NET 4.0
The latest release of AdvancedHMI still works in Visual Studio version as far back as 2010 as long as Service Pack 1 for Visual Studio 2010 is installed. You can try this with Visual Basic Express 2010 and the service pack.
-
Thanks Archie:
I am getting errors when I try to build AdvancedHMI in VB Express 10 that it cannot find Controls or Drivers. Tried to build them first, no luck yet. Also added file loacations in references in each. Is there a specific file location for the AdvancedHMI project? I realize this is probably all due to my lack of VB experience, but sure would appreciate a little guidance.
-
Can you post the exact error message you are getting?
-
this is before building
-
and after build
-
That almost sounds like the AdvancedHMIDrivers and AdvancedHMIControls projects are not part of the Solution. What do you see in the Solution Explorer?
Also try this:
- Exit Visual Studio
- Go to AdvancedHMIControls folder and delete \bin and \obj directories
- Do the same with AdvancedHMIDrivers folder and the AdvancedHMI folder
- Open the Solution again and Rebuild All
-
I noticed that I can open the VBPROJ file in AdvancedHMI but not the SLN file since it says "created with newer version" and I am using VB Express 2010. Does this matter? Is so, do you know workaround? I have verified the keyence activex control works in 2010 but not 2013.
-
That error generally means the service pack is not installed. Go to Help->About to check. If it does not show the service pack, go to Microsoft downloads and search for Visual Studio 2010 service pack.
-
Thanks Archie for the guidance. Seems to be building without errors now. I will probably be asking more questions once I actually start using! Bill
-
Archie:
Wanted to let you know everything is working. When adding a duplicate visual control on a screen, do I need to change it's name? Thanks again.
-
When adding a duplicate visual control on a screen, do I need to change it's name?
If you add controls to the form in the designer, it will assign a default name that is unique. You can leave this name, but it is usually helpful if you change it to something meaningful.