Author Topic: Startup Form  (Read 768 times)

joko markono

  • Full Member
  • ***
  • Posts: 132
    • View Profile
Startup Form
« 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?
« Last Edit: May 04, 2023, 09:25:33 PM by joko markono »

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5262
    • View Profile
    • AdvancedHMI
Re: Startup Form
« Reply #1 on: May 05, 2023, 07:53:28 AM »

joko markono

  • Full Member
  • ***
  • Posts: 132
    • View Profile
Re: Startup Form
« Reply #2 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.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5262
    • View Profile
    • AdvancedHMI
Re: Startup Form
« Reply #3 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.

joko markono

  • Full Member
  • ***
  • Posts: 132
    • View Profile
Re: Startup Form
« Reply #4 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?

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5262
    • View Profile
    • AdvancedHMI
Re: Startup Form
« Reply #5 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?

joko markono

  • Full Member
  • ***
  • Posts: 132
    • View Profile
Re: Startup Form
« Reply #6 on: May 09, 2023, 11:53:36 PM »
surprsingly, after few times of rebuilding, all become fine again.