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?

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


Please Help Members By Posting Answers For Below Questions

Timer control contains ________ no. of events.

2249


Difference between Class Module and Standard Module?

2625


How do I use GetPrivateProfileString to read from INI files?

1430


What are the uses of List View Control?

1914


When should we use recursive programming?

1013


How do I get the Tab key to be treated like a normal character?

1467


Types of LockEdits in DAO? 51 .Types of Recordsets.

1886


Is it possible to set a shortcut key for label?

1896


What is ado data control in vb?

1008


How do I prevent multiple instances of my program?

1434


Does VB support pointers to functions?

1651


What is the difference between adodc and adodb in vb?

1032


How to down load image properties.

1063


How would you access objects created in ActiveX Exe and ActiveX D1T ?

2060


What is the use of ActiveX Documents?

2455