Author Topic: Add a new or replace the existing control/component in AHMI  (Read 3527 times)

Godra

  • Hero Member
  • *****
  • Posts: 1438
    • View Profile
Add a new or replace the existing control/component in AHMI
« on: September 05, 2020, 05:57:09 PM »
- Make sure you can see the Solution Explorer in your Visual Studio window. If you don't see it then press Ctrl+Alt+L or click "View" on the top menu and select Solution Explorer (see the attached picture of what you should be looking at).

- You need to know where that new control/component vb file is located on your computer

- You need to know either where you want to put the new or where the existing control/component is so you can replace it. Standard folders are located inside the AdvancedHMIControls project and would be either of Components / Controls / PurchasedControls. You can also create new folders/subfolders.

- Right click the folder of your choice and on the popup menu point to "Add" and then click "Existing Item", browse to the location of your new file and double click it. IF the Visual Studio pops a message asking if you want to replace the existing file always choose Yes.

- Close all open forms and rebuild the solution

If, by any chance, the PurchasedControls folder gives you an error then use Windows Explorer, go to your AdvancedHMIControls project and if it's not there then create it and repeat the above steps.
« Last Edit: February 05, 2021, 02:16:32 AM by Godra »