Hi List,

This in the module area works.
Private hCFG As New Settings("/Path/To/cfg")

Because I'm writing a component, now I have to do this in the module area:
Private hCFG As Settings

And something like this in the _init-Sub
hCFG = New Settings("/Path/To/cfg")
'Just for testing
Print hCFG["General/Color"]

No complains when compiling it..but the object stays empty. Print() doesn't 
put any data out.

What I'm doing wrong?

...and another question: Where can I get (read) informations about such things 
and how to do them in Gambas?

TIA
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

Reply via email to