hi,
I am encountering this silly error. i have two forms and a module. Form1 Collects data, Module contains Public Variable which stores data. Form2 Process the request. in Form 2 there are two classes, first one processes, and second one initiates the process. In second class which initiates the process(filling listbox of form by value present in public variable), in that class i din created object of first class. i simple used form2.listbox1.items.add("xxxx"). it was working fine. Now in order to set mdiparent property i used dim s as new form1 s.mdiparent=parentform s.show(). in form 2 at begining of class1(Class that processes) i set dim ins1 as new initates1. in constructor of initiates1 i have called a function in which i have used streamreader to insert values in arraylist.
Now problem, is that i cant find anything in my listbox.its working fine if i din created any object, and if i have used from2.listbox.items.add..
please help me.![]()




its working fine if i din created any object, and if i have used from2.listbox.items.add..
Reply With Quote