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:
00414683
Views:
16
>Have you made a reference to the component giving you the AcadCircle type?

Yes.

>You can also try to use the TypeName function like this:
>
Private MarkObject As AcadCircle
>
>Public Sub UnMark()
>    If typename(MarkObject) = "AcadCircle" Then
>        MarkObject.Delete
>        Set MarkObject = Nothing
>    End If
>End Sub
Thanks. That works great.
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