I have a form that has a specific collection class as a private member.
The objects in that collection have a member variable that references the
form on which the collection class is.
After deserialization, I need to reset this member variable.
How can I best do it?
If I can't trust IDeserializationCallback, is there a way to call the
deserialization for the collection on the form, and the code not continue
executing until this call is made, and thus after the call comes back, I can
call a method on the collection class to set all items' ParentForm property
in the collection?
Does the vb code execute asynchronously here (i.e. the next thing would
never happen until the deserialization call is finished)? I think this is
the case unless it is a multithreaded app.
Any thoughts?
Thanks,
Shane
In Jeffrey Richters article on Serialization--part 2 from MSDN 2002, hementions that "IDeserializati...
By sstory
I have vb code that I am triggering a Data Driven Subscription. The problem I am having is that I n...
By bcorbett
Hi,I've an error "Object reference non set to an istance..." on the commandme.bindingcontext(myd...
By touiss
Hi,I've an error "Object reference non set to an istance..." on the commandme.bindingcontext(mydatas...
By touiss
I have a singleton class library(dll) that I have registered in the GAC. I am trying to get it so th...
By entropy9, 3 Comments
Hello everyone, I want to thank everyone for reading this and anyone with replies in advance. I hav...
By vbmatt, 4 Comments
Old function declaration:Public Function HW(ByRef Emulator By Number*or*ByRef Name As Object) As Obj...
By mythos44, 3 Comments
HiIs there a way to make a "singleton" assembly? I want to make my assemblysuch that only one instan...
By lev, 4 Comments
How do I declare a default size for my solidbrush. I was thinking something like this;Dim myPaintSiz...
By lk88, 5 Comments