Answer Posted / suresh
Any code you write to call a function pointer from Visual
Basic must be placed in a standard .BAS module ? you can't
put the code in a class module or attach it to a form. When
you call a declared function using the AddressOf keyword,
you should be aware of the following conditions:
? AddressOf can only be used immediately preceding an
argument in an argument list; that argument can be the name
of a user-defined sub, function, or property.
? The sub, function, or property you call with
AddressOf must be in the same project as the related
declarations and procedures.
? You can only use AddressOf with user-defined subs,
functions, or properties ? you cannot use it with external
functions declared with the Declare statement, or with
functions referenced from type libraries.
? You can pass a function pointer to an argument that
is typed As Any or As Long in a declared Sub, Function, or
user-defined type definition.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
what are the Types of LockEdits in RDO?
Which method is preferred to save datas like database?
Is it possible to Access BackEnd procedures?
What is the use of Tabledef?
which method used to move a recordset pointer in nth position in DAG?
What is the use of debug Window?
____ property is used to lock a textbox to enter a datas.
What is Seek Method which type of record set is available this?
What is the use of Data Form Wizard?
How do I get a bitmap picture in a field in an Access database?
What is the use of Data Form Wizard?
Can you create a Updatecascade, Deletecascade relation in Ms- Access?
How would you Create a Query Builder and Explain its uses
How can you Navigate from the DHTML application to another DHTML application? .
Advantage of ActiveX Dll over Active Exe.