Author Topic: HMI wont start on my program  (Read 1140 times)

Richard Waterson

  • Newbie
  • *
  • Posts: 9
    • View Profile
HMI wont start on my program
« on: December 23, 2016, 06:12:50 PM »
I have added C# project to the AdvancedHMIv399s in visual studio and set my project as the startup project. When I click on the EXE in the file the program starts up on the AdvancedHMI black screen with red letters. When I run it in visual studio it starts up on my project. How do I get my project to run when stated from EXE.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: HMI wont start on my program
« Reply #1 on: December 23, 2016, 06:20:26 PM »
Are you using the default C# project (AdvancedHMIcs) that is part of the 3.99s solution?

Where are you starting the EXE from?

Richard Waterson

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: HMI wont start on my program
« Reply #2 on: December 24, 2016, 01:43:57 PM »
 This is the path to the EXE: \AdvancedHMIv399s\AdvancedHMI\bin\Debug

And I am not using the Default C#. I have loaded my own C# project.
Merry Christmas by the way

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: HMI wont start on my program
« Reply #3 on: December 24, 2016, 02:13:13 PM »
The EXE you are starting for the default VB project. Each project has its own directory and EXE file. The method I use is to right click the project in Solution Explorer, then select Open Folder in Windows Explorer. That will take you to the folder of that particular project. From there browse into \bin\Debug to get to the EXE for that project.