calling C# class from VB.NET ASP.NET web app?

calling C# class from VB.NET ASP.NET web app?

Post by Andy » Sun, 24 Oct 2004 06:43:22


Is it possible to call a C# class from a ASP.NET application using VB.NET?
I had to create a class in C# (Creating a DPAPI Library) and now am having
trouble calling the class in my project.
 
 
 

calling C# class from VB.NET ASP.NET web app?

Post by Karl » Sun, 24 Oct 2004 07:01:21

Yes, it should be easy so I'm not sure what problems you are running into.
In ASP.Net when you call base.OnLoad(e) in your vb.net app, you are actually
hooking into a C# function...

Perhaps you are confused with the namespace? Is the C# dll properly
referenced?

Karl

--
MY ASP.Net tutorials
http://www.yqcomputer.com/