adding a class to asp.net project

admin

Administrator
Staff member
i have this code that i want to add as a class to asp.net project
so i can add the image into a page on my project:
the code is
<!-- m --><a class="postlink" href="http://www.codeproject.com/aspnet/AspNetCreateTextImage.asp">http://www.codeproject.com/aspnet/AspNe ... tImage.asp</a><!-- m -->
all the project is in vb language!
ccan i combine them and how?
thanks in advance
pelegCreate a reference to the remote project's DLL in VS. This will allow you to work with all of the public classes, modules, etc. It's that simple.can you please give a code example or an article that show how to do it?
thanaksi n advance
pelegThis isn't done in code, it is done within the Visual Studio IDE. You'd like an article, tried Google lately?yes i did but didnt know execlly what to look for2 ways..

1. compile the vb code that you Download ed. in the bin folder, you will get a DLL. Then open up your own project, and add a reference to the DLL. thats it, you can call functions from that vb code now.

2. create a blank solution, add both projects to it ( it doesnt matter what language its in)...then add a reference in your project, instead of browsing for another dll, reference it by projects....and select the vb projects.

thats it.

-Taki will try and let u know
and how execlly do ui user the compiled dll in my code?
 
Back
Top