AdvancedHMI Software
General Category => Support Questions => Topic started by: Douglas on January 02, 2018, 08:22:15 PM
-
I’ve built a program with 2 trend charts on separate forms. I want the data to log as soon as I start my program. Right now I must open both forms then from that point on it trends. But if I forget to do that it dosent trend. I’m sure it’s a simple code addition but I’m a real noob at this.
Thanks in advance
-
You can possibly try this code (double click the MainForm to get there):
Private Sub MainForm_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Page2.Show() 'Use your 2nd form name instead
End Sub
-
That did the trick. Thanks much.