If you have a multi-monitor setup and want an AdvancedHMI application to always start on the second monitor:
- In design view of the MainForm, double click in a blank area. This will take you back to the FormLoad event handler
- Add this coce:
Private Sub MainForm_Load(sender As Object, e As EventArgs) Handles MyBase.Load
If Screen.AllScreens.Length > 1 Then
Me.Location = Screen.AllScreens(1).Bounds.Location
End If
End Sub