|
-
September 21st, 1999, 10:35 AM
#1
How to check a function exist?
I need to find out if a function exist before calling the function in VB.
-
September 22nd, 1999, 12:51 AM
#2
Re: How to check a function exist?
If it is a VB function, when you compile before run, Cntrl+F5 ( or set the "Compile on demand" on options tab), VB will say that the particular fn doesn't exist.
If it is a dll function, you are linking at run time, then put a On Error Goto Hell and look for error "Dll function not found (453)" or "Error loading dll (48)" etc. Same for Act-x comps also
But, I am wondering if it is possible to get a list of functions for an Active-x component?! at runtime.
At design time, you can add a reference and get the list of functions. will Check this!
RK
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|