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?
Microsoft Development.NET ProgrammingVisual Basic.NET

Avatar of undefined
Last Comment
gbmcneil

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
lenordiste

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
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.
gbmcneil

ASKER
Your answer was a big help.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck