Message 1 of 2
VB/VBA object type

Not applicable
03-20-2003
02:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Is there a way of determining an object type variable asignment?
say:
Dim MyObject as object
Set MyObject = CreateObject(, "AutoCAD.Application")
Then
I would like to check if is still a valid object
VarType(MyObject) will return vbObject (==9) even if I did not set an object
to it
and I did not want to Create avery time
I need someting like (in C)
Thanks
say:
Dim MyObject as object
Set MyObject = CreateObject(, "AutoCAD.Application")
Then
I would like to check if
VarType(MyObject) will return vbObject (==9) even if I did not set an object
to it
and I did not want to Create avery time
I need someting like
Thanks