Loading class not from a form

  • Thread starter Thread starter NachoShaw
  • Start date Start date
N

NachoShaw

Guest
Hi

With my limited knowledge, id like to know if this if feasible and if so, how i would go about doing it.

Right now when i run my application, there is a form that gets loaded. I have a bunch of property classes that store local data for settings etc which need to be accessible between other classes. Currently i am loading them in my form like

Dim PT As NewPropertyTables


Then each Class is looking at MyForm.PT.MyTable and i dont believe that this is the best way to do it. Id like to load my classes as the application starts but not with the form so that its not tied to the form.

Is that possible? If so, whats the methods for that?


When i make Class projects (inside Inventor), its much easier because there is global class called AddinGlobal and i can do all of this in that class but with a standalone, im not sure where i would do this so it gets called when starting.




Thanks



I am here to ask questions and learn from others. Cor Ligthert DO NOT REPLY TO ANY OF MY POSTS!!

Continue reading...
 
Back
Top