AdvancedHMI Software

General Category => Support Questions => Topic started by: mourazo on October 22, 2019, 01:49:36 PM

Title: AdvanceHmi on c#
Post by: mourazo on October 22, 2019, 01:49:36 PM
I have imported the files advancedHMIcotroller.vproj and advancedHMIdrivers.vproj to a new project in c #, I try to obtain PLC readings using the modbusTCPcom component in visual studio 2017 in the same way that I obtain them in VB, but I don't get any results, what would it be The correct way to develop a project in C #? Thank you very much.
Title: Re: AdvanceHmi on c#
Post by: Archie on October 22, 2019, 01:53:15 PM
You need to import your project into AdvancedHMI
Title: Re: AdvanceHmi on c#
Post by: mourazo on October 23, 2019, 05:32:49 AM
Is there no way to get the drivers in another project in c # other than the advancedHMI solution? Thank you.
Title: Re: AdvanceHmi on c#
Post by: Archie on October 23, 2019, 06:25:55 AM
The licensing does not allow you to strip parts from the solution.
Title: Re: AdvanceHmi on c#
Post by: mourazo on October 23, 2019, 11:16:20 AM
And how could I do that when I run the solution it is the mainForm.cs that runs?
Title: Re: AdvanceHmi on c#
Post by: Archie on October 23, 2019, 11:20:44 AM
Add you files to the AdvancedHMIcs project
Right click the project and select properties
Set the Startup form to the one you want to run first
Title: Re: AdvanceHmi on c#
Post by: Godra on October 23, 2019, 03:37:20 PM
If necessary, set the AdvancedHMIcs project as the startup project for the solution.