Hi,
I started as a part-timer in my current job(vb.net developer - windows forms) 6 months ago and now I'm stuck with a major problem...
My boss gave me the project he was working on, my problem there is: the project uses a submain as startup object which is located in a module, thy so the application will be started in tray. Within the main() event i need to deserialize a xml file and with it set the properties of a class and then set what the application will do.
The problem is, after I deserialize it and put set the property values I try to get them in the same event(main) but when it gets the value it returns as nothing(if string) or 0(if integer) but in the debugging i saw it setting the values.
Is there a way to do that, within the main() event of a module to set the properties of a class and then get them without being nothing/0 ?
Sorry if there's any grammar error, I'm still improving my English.
I started as a part-timer in my current job(vb.net developer - windows forms) 6 months ago and now I'm stuck with a major problem...
My boss gave me the project he was working on, my problem there is: the project uses a submain as startup object which is located in a module, thy so the application will be started in tray. Within the main() event i need to deserialize a xml file and with it set the properties of a class and then set what the application will do.
The problem is, after I deserialize it and put set the property values I try to get them in the same event(main) but when it gets the value it returns as nothing(if string) or 0(if integer) but in the debugging i saw it setting the values.
Is there a way to do that, within the main() event of a module to set the properties of a class and then get them without being nothing/0 ?
Sorry if there's any grammar error, I'm still improving my English.
Last edited: