Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Instanciating an object from a Classlib What am I missing ?
Message
From
20/01/2006 16:32:48
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Instanciating an object from a Classlib What am I missing ?
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01089052
Message ID:
01089052
Views:
79
I have created a Class Project which has been sucessfully tested in a Winforms project. Now I want to use this Class in a ASP WebForm project. In the Solution explorer I added a reference to the DLL and in the CodeBehind VB file I tried to instanciate the object as I did in WinForms. However the class reference is no in Intellesence and if I type it in the reference is flagged as an error. Here is a snippet of my code behind.
Partial Class _Default
    Inherits System.Web.UI.Page

    Dim nSearchId As Integer = -1
    Dim owsdata As New WebStoreData  (class name flagged as error)


    Public Sub New()

    End Sub
End Class
Thanks

Glenn
Next
Reply
Map
View

Click here to load this message in the networking platform