Adding a reference is if i am making my web app in VS. But i am doing it in Dreamweaver. If i placed the dll in my bin folder and then imported the namespace shouldnt it work?
Eg i Create a Class Library Projecy named ABC
I create a file named MyTestClass.vb
Namespace MySpace
Public Class MyTestClass
Public Function ShowString() As String
Dim someString As String
someString="abc"
Return someString
End Function
End Class
End Namespace
I then build this. I go to the folder where i had placed the class library and then pick up the dll from the bin folder. I copy it to the bin foder of my site in wwwroot.
Then i create a page (in Dreamweaver or Notepad). it imports the namespace and tries to create an object instance of the class.
Is there something wrong? Somehow i cant create a object of the class. I import the namespace etc. Is there something else i need to do?