Link to home
Start Free TrialLog in
Avatar of gbmcneil
gbmcneil

asked on

Reference to a non-shared member in VB.NET

Hello Experts:

What does this error want me to do to eliminate it?
ASKER CERTIFIED SOLUTION
Avatar of lenordiste
lenordiste
Flag of France 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 gbmcneil
gbmcneil

ASKER

Hello lenordiste -

Thanks very much for responding. You've hit the nail on the head. This is exactly my situation.

Could I ask you one more question?  If the assembly were a COM DLLand not an executable, how would I get access to the DoSomething function in Class Test from outside the DLL?
 
Would I instantiate...

Dim t as New dllname.Test()
t.DoSomething()

Thanks.
Your answer was a big help.