Hi George! Thanks for your reply. Perhaps I was not really clear.
- I want to write a component - This component needs to read some settings from a config file - Because of the fact, that the functions of the component are called directly, doing something like this: Private hCFG As New Settings(User.Home &/ "Path/To/Configfile") is not possible, because the declaration would be done, but not the assigning of the path to the config file So what I need is: Declare hCFG as Private and do the assignment of the path in _init-sub, so that gb.settings knows which config file it has to load. Private hCFG As New Settings("/Path/To/cfg") AS "hCFG" doesn't do the job...the object hCFG stays empty. > > ...and another question: Where can I get (read) informations about such > > things and how to do them in Gambas? > > Do you mean this? Not really. I meant this things like creating objects and assigning data to them in those various ways. Greetz Stevie ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user