Are there any "gotchas" to watch for in using a Class (object) within itself?

Posted by Clay Nichols on Stack Overflow See other posts from Stack Overflow or by Clay Nichols
Published on 2010-06-04T18:00:28Z Indexed on 2010/06/05 21:22 UTC
Read the original article Hit count: 134

Filed under:
|

I've got a Registry class and there are a few Registry values that I want to access from within that Registry class. (There is a bit of a calculation with these values so I thought I'd just put all that code right in the Registry Class itself).

So we might have something within our RegistryRoutine.cls like:

Function GetMyValue() as integer
    Dim R as new RegistryRoutine

<calculations>
GetMyValue=R.GetRegisetryValue (HKEY, key, value, etc.)

End Function

© Stack Overflow or respective owner

Related posts about oop

Related posts about vb6