What does Addressof operator do?
Answer / 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 |
How do I dial a phone number without using the MSCOMM VBX?
What is datagrid in vb net?
how to use unicode data in vb6 regarding to telugu language, my output is in only telugu language
How can you save and Get data from Clipboard?
What is constructors and distructors.
Advantage of ActiveX Dll over Active Exe.
Explain the differences between ActiveX Dll and ActiveX Exe?
What are the different cursor types that can we create using ADO Recordset? Difference between these cursor types?
How do I get the Tab key to be treated like a normal character?
What is the difference Between ADO and other data access objects?
how many no of controls in form?
16 Answers AIMS, Airex Logistics,
How can you Add API functions to your Application?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)