VB's equivalent voor VBA function: IsObjectValid 
Author Message
 VB's equivalent voor VBA function: IsObjectValid

Hello

I would like to know what VB's equivalent voor the VBA function
IsObjectValid is.
Because I want to check if a form is still loaded so I'll have to check if
the object is still valid. I've searched everywhere in the helpfile, but
couldn't find such a function.
Who can help me?

Thanks in advance,

Peter



Tue, 22 Apr 2003 03:00:00 GMT  
 VB's equivalent voor VBA function: IsObjectValid
For Form objects, you might want to loop through the Forms collection and
check for it's name..

For most other objects, you say...
If MyObject Is Nothing Then
    'not loaded
End If


Quote:
> Hello

> I would like to know what VB's equivalent voor the VBA function
> IsObjectValid is.
> Because I want to check if a form is still loaded so I'll have to check if
> the object is still valid. I've searched everywhere in the helpfile, but
> couldn't find such a function.
> Who can help me?

> Thanks in advance,

> Peter



Tue, 22 Apr 2003 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. 'through account' VBA equivalent

2. VBA's Equivalent of VBScript's SetLocale

3. VBA's Equivalent of VBScript's SetLocale

4. Italian VBA function equivalents?

5. VB6 Equivalent of VBA Eval() function ?

6. VBA equivalent to GWBASIC's MKI$ ?

7. VBA equivalent to GWBASIC's MKI$ ?

8. Adding VBA function to Visio's VBA Editor from ActiveX DLL

9. vbscript equivalent to javascript's escape() function ??

10. Function equivalent to VBScript's Eval

11. VB equivalent of COBOL 'redefines'?

12. VOOR brand@et.tudelft.nl:Hoe kan men .EXE's maken

 

 
Powered by phpBB® Forum Software