Click here to Skip to main content
16,020,253 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am doing an survey in asp.net ( with visual basics) .. I just imported an existing class into mu project.. but then when I go behind the code and trying to create an object of that class, i cant access my class, it doesn't recognize it...

what can be my problem?!!

dim obj as new NameOfMyClass ' And the clas doesnt exist
Posted

1 solution

Did you add the appropriate Imports statements to your code as well as the reference?
 
Share this answer
 
Comments
Voley 11-Apr-14 6:04am    
Actualy, i solved this.. I had put the class in a ordinary folder.. Not in the App_code folder (asp.net folder) :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900