Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to determine if var = nothing
Message
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00413401
Message ID:
00413580
Views:
19
>I see one problem with it, if MarkObject is not an object of the AcadCircle, it will not be able to find the Delete method! Maybe you just forget to delete the Not?
>
>Private Sub Class_Terminate()
> ' If the MarkObject is still here delete it.
> If MarkObject Is AcadCircle Then
> MarkObject.Delete
> Set MarkObject = Nothing
> End If
>End Sub

I thought I tried it that way and got an error. I'll try it again tonight (it's on my machine at home). Thanks.
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Previous
Reply
Map
View

Click here to load this message in the networking platform