September 21st, 1999, 10:35 AM
I need to find out if a function exist before calling the function in VB.
|
Click to See Complete Forum and Search --> : How to check a function exist? September 21st, 1999, 10:35 AM I need to find out if a function exist before calling the function in VB. Ravi Kiran September 22nd, 1999, 12:51 AM 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 codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |