Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MultiProject
Message
General information
Forum:
ASP.NET
Category:
Other
Title:
Miscellaneous
Thread ID:
00765136
Message ID:
00765146
Views:
22
Randy,

1. Open your VB.NET solution and add a reference to your C# project DLL in the Solution Explorer by right-clicking on References in your VB.NET project. Then choose the C# dll file. You don't have to add the C# project to your solution, just add the reference to the dll.

2. Add an Imports statement to the top of your code files (.vb) where you are going to use the class. If you are going to use it throughout your project, then you can add the Imports to the project itself and not have to add the Imports statement to each code file. You do this by right-clicking on the VB.NET project and choosing Properties. Then select Imports on the left-hand side. Add the library here.

>I figured I would start a new thread for this. I created a class library in C#. Built the project with no errors. Then I opened my VB app, right clicked on the solution, picked add existing project and added the C# project. It imported the project just fine. Its there and it looks good. How do I access it in my VB.NET app. Neither the project or any of the classes are showing up in intellisense? Is there something special I need to do or did I add the class library wrong? Thanks.
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform