Link to home
Start Free TrialLog in
Avatar of fhdigital
fhdigital

asked on

Using Reflection to Call a Friend Function

In my .NET 3.5 VB project, I'm trying to use reflection to call a friend subroutine on an object. Unfortunately, I haven't been able to get any of the Friend Subs or Friend Functions to return from any of Type.GetXXXX functions.

Can Friend functions/Subs be accessed with reflection? How?

Thanks!
Jeff
ASKER CERTIFIED SOLUTION
Avatar of Fernando Soto
Fernando Soto
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of fhdigital
fhdigital

ASKER

Thanks Fernando. I'll check it out.
That worked great! Thanks. I had tried the NonPublic and Instance BindingFlags previously but never together. Works like a charm!
Not a problem, glad I was able to help.  ;=)