MattWoberts
Programmer
Hi,
I need to implement a class in VB6 that is contains "static" variables. Now, in VB.NET, these would be "shared":
Public class class1
public shared X as integer
End Class
With this code I can access Class1.X without instantiating a class1:
class1.X = 2
Can anyone please tell me if/how I can do the same in VB6?
Thanks!
I need to implement a class in VB6 that is contains "static" variables. Now, in VB.NET, these would be "shared":
Public class class1
public shared X as integer
End Class
With this code I can access Class1.X without instantiating a class1:
class1.X = 2
Can anyone please tell me if/how I can do the same in VB6?
Thanks!