Creating new objects
-
-
Hello! I'm trying to find a way to create several instances of a module class that represents for example a shape, then setting a variable to that module class i could change its properties and so on.. Is this possible in Vb6? Thank you in advance
I could be wrong but I thought that a module was like a class where all the members and properties were shared. If this is correct then any instances would have the same properties, change the value of one and the property changes in them all. I think you should just use a normal Class and create multiple instances. This way the properties and members are not shared by instances. Hope this helps. Regards Wayne Phipps ____________ Time is the greatest teacher... unfortunately, it kills all of its students LearnVisualStudio.Net