Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What does Addressof operator do?



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

Post New Answer

More Visual Basic Interview Questions

What is DAO?

2 Answers  


How can I speed up my VB database application?

0 Answers  


What is database vb?

0 Answers  


I have several megabytes of memory. Why do I get an "out of memory" error?

0 Answers  


What are the types of Error? In which areas the Error occurs?

0 Answers  


what are the Types of ActiveX Components in VB?

1 Answers  


What is Pseudocode?

0 Answers  


which VB constant make the menu item in centre?

1 Answers  


in vb6.0 can we use function keys (F1 to F12) in form_keypress event in a form which contains commandbutton (s) control? if yes, then explain me how it is possible. Thanks.

2 Answers   Wipro,


What is the current version of Visual Basic for Windows?

0 Answers  


What is a thread pool and how are the threads within a thread pool managed?

0 Answers  


What are 3 main differences between flexgrid control and dbgrid control?

0 Answers  


Categories