AdvancedHMI Software

General Category => Support Questions => Topic started by: joko markono on May 04, 2023, 09:18:02 PM

Title: Startup Form
Post by: joko markono on May 04, 2023, 09:18:02 PM
Hi, I need to start the app from a different page. but the drop down menu only shows MainForm.
Can someone help please. Also I got this message at the Compile section:
An error occurred trying to load the page.
Object reference not set to an instance of an object.

is it meant to be like that?
Title: Re: Startup Form
Post by: Archie on May 05, 2023, 07:53:28 AM
Start with doing this:

https://www.advancedhmi.com/forum/index.php?topic=1062.msg5555#msg5555
Title: Re: Startup Form
Post by: joko markono on May 07, 2023, 08:59:47 PM
that has made my application totally crash, can't even load the form. VS not responding at all. tried to search for the deleted folder, but not in recycle bin, guess I've to redo all again.
Title: Re: Startup Form
Post by: Archie on May 07, 2023, 09:53:58 PM
Be sure to close forms in VS and do a Rebuild ALL

The bin directories and file in them are created by VS and not anything you can create. By deleting them, forces VS to recreate them.
Title: Re: Startup Form
Post by: joko markono on May 09, 2023, 09:49:16 PM
igot following error, maybe the gtrackbar is not that critical but how to solve the last two errors?
Title: Re: Startup Form
Post by: Archie on May 09, 2023, 10:26:50 PM
The last 2 errors are a result of the first error. Since it cannot compile gTrackbar, it cannot create the DLL's

If you double click the first error, what line of code does it take you to?
Title: Re: Startup Form
Post by: joko markono on May 09, 2023, 11:53:36 PM
surprsingly, after few times of rebuilding, all become fine again.