Avatar of VBdotnet2005
VBdotnet2005Flag for United States of America

asked on 

Creating Class Library in Visual C#

I am trying to following this sameple and using dll in my vb.net project, just for testing. I am using VS2008 3.5. I added it to Reference.

dim test as new Classlibrary1.class1 < this won't work.



C#
ee.jpg
C#ASP.NETVisual Basic.NET

Avatar of undefined
Last Comment
VBdotnet2005
Avatar of Paul Jackson
Paul Jackson
Flag of United Kingdom of Great Britain and Northern Ireland image

Looks like you've created a private class ensure you have the public keyword before the class i.e.

namespace ClassLibrary1
{
    public class class1
    {

     }
}

Open in new window

SOLUTION
Avatar of kaufmed
kaufmed
Flag of United States of America image

Blurred text
THIS SOLUTION IS 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
ASKER CERTIFIED SOLUTION
Avatar of Paul Jackson
Paul Jackson
Flag of United Kingdom of Great Britain and Northern Ireland image

Blurred text
THIS SOLUTION IS 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.
Avatar of VBdotnet2005
VBdotnet2005
Flag of United States of America image

ASKER

excellent !!! Thank you
ASP.NET
ASP.NET

The successor to Active Server Pages, ASP.NET websites utilize the .NET framework to produce dynamic, data and content-driven web applications and services. ASP.NET code can be written using any .NET supported language. As of 2009, ASP.NET can also apply the Model-View-Controller (MVC) pattern to web applications

128K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo