re:
!> you inferred that I am trying to create a usercontrol in asp, which I am not
The first thing we need to have you clear up is
what you're referring to when you say "asp".
Did you mean "active server pages", or did you mean "asp.net" ?
Generally, when we refer to "asp", we mean "active server pages".
Is your question related to "asp" or to "asp.net" ?
Secondly, what did you mean when you said that you are using "asp 2005" ?
As I explained, there's no such animal.
There's "asp.net 2.0" and there's "vs 2005".
Asp.net is a mix of web server technologies and
vs 2005 is an Integrated Development Environment (IDE).
re:
!> I created a usercontrol in visual basic
You did not.
"Visual Basic" is the name of a pre-vb.net language.
Vb.net is not "Visual Basic" any more, just as it isn't the language known as "basic" any more.
They're totally different programming languages.
re:
!> I know I can use a visual basic class library in an asp project
Only if you compile it with VB 5.0 or 6.0 and use "active server pages".
You *can't* use a "visual basic class library" in asp.net,
except by going through contortions like Pinvoke.
re:
!> I do not think a usercontrol that is compiled with visual basic can be used in an asp project
You, finally, said something which is undeniably correct.
User controls aren't usable in "active server pages".
I'm not sure, however, that you meant to refer to "active server pages".
I think you meant to refer "asp.net".
Did you ?
Summarizing, you need to make clearer whether you are
referring to "asp" ("active server pages") or to "asp.net".
....and you need to make clearer whether you are referring to "visual basic" or to "visual
basic.net".
The difference between them is critical and whether you get an answer
to your questions depends on us understanding what you are referring to.
Juan T. Llibre, asp.net MVP
asp.net faq :
http://asp.net.do/faq/
foros de asp.net, en español :
http://asp.net.do/foros/
======================================
To clarify, all my projects are in vs 2005. Please re-read my post
because you inferred that I am trying
to create a usercontrol in asp, which I am not. I stated that I
created a usercontrol in visual basic, and
want to re-use it in my asp project. I know I can use a visual basic
class library in an asp project, but I do not think a usercontrol
that is compiled with visual basic can be used in an asp project. If
it can I would like to know how to reference it
because I have tried the usual ways as explained in my post.