Link to home
Start Free TrialLog in
Avatar of gamestors
gamestors

asked on

Accessing the client from the DLL

How can I access the methods and properties of a form that calls a dll from a dll?

LEt's say,  I have form "A"  and DLL  "D"

From A, I call a method in D.  How can the method in D access the properties and controls in A?

Thanks
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

You could have a Private property in the DLL that contains a Form reference.  

You could then pass in the Form reference for "A"
Avatar of gamestors
gamestors

ASKER

Can you give me an example?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of manojamin
manojamin

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
Make this as (Project2 not Project1, it's a typo)

5) Craete C as new Standard Exe and put the reference to Project2. Also put a command button on the from and following code.

Thanks