F
Fergus Cooney
Hi CM,
Lol, yes. it's that same question - am I dealing with a Type (class) or an
Object?
In Dim data As New DBAccess1, you <will> get all the methods after dotting
because data is an Object and so all the ClassAndObjMethods will be shown.
I think your task for the next day or so is to do some reading so that you
can get a firm answer to that question above. The MSDN documentation is ok,
but it helps to actually know what it's saying <before> you read it! See if
you can get hold of a book or two which will start you off gently. Read our
posts again as your understanding increases. At some pooint it will click and
suddenly become obvious. I have a feeling that you are not that far from that
point.
The code translation looks fine.
To fix the IDisposable problem you have to spell it out:
Public Sub Dispose() Implements IDisposable.Dispose
Regards,
Fergus
Lol, yes. it's that same question - am I dealing with a Type (class) or an
Object?
In Dim data As New DBAccess1, you <will> get all the methods after dotting
because data is an Object and so all the ClassAndObjMethods will be shown.
I think your task for the next day or so is to do some reading so that you
can get a firm answer to that question above. The MSDN documentation is ok,
but it helps to actually know what it's saying <before> you read it! See if
you can get hold of a book or two which will start you off gently. Read our
posts again as your understanding increases. At some pooint it will click and
suddenly become obvious. I have a feeling that you are not that far from that
point.
The code translation looks fine.
To fix the IDisposable problem you have to spell it out:
Public Sub Dispose() Implements IDisposable.Dispose
Regards,
Fergus