473,387 Members | 1,799 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Import Statement

3
I am trying to use the import statement to access my class object, but it does not recognize the classes -- . In order words the intellisense does not show my project name
Aug 10 '07 #1
8 968
kestrel
1,071 Expert 1GB
I am trying to use the import statement to access my class object, but it does not recognize the classes -- . In order words the intellisense does not show my project name
Hey Debora, Welcome to the Scripts.
Do you think i could have a bit more detail on what you are trying to accomplish? Your description is pretty vague.

--
Kestrel
Aug 10 '07 #2
Debora
3
I created a Web Application named Debora_CRPP. I also created several classes. One of which was called clsUtilities. After creating a new WebForm I attempted to add an import statement to access the clsUtility. When I typed the import statement the intellisense showed ASP, Microsoft and System. My project name was not listed. So, I typed it in anyway and it shows with the green squilly lines. The comments reads "Namespace or type specified in the imports 'clsUtility' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
Aug 10 '07 #3
kestrel
1,071 Expert 1GB
Im going to move this thread to the ASP forum
Aug 10 '07 #4
jhardman
3,406 Expert 2GB
Im going to move this thread to the ASP forum
and I'm going to move it to the .NET forum, as ASP classic does not use classes.
Aug 10 '07 #5
kestrel
1,071 Expert 1GB
Go for it, i have to idea where things go, unless its in plain print.
Aug 10 '07 #6
jhardman
3,406 Expert 2GB
Go for it, i have to idea where things go, unless its in plain print.
Oh I don't expect you to see the difference. You'd be surprised (except you probably wouldn't) how many .NET users post C# questions in the asp forum, and we scratch our heads and think "What in the world could that mean?" I do expect them to see the difference, except that microsoft insists on discontinuing the old technology and calling the new technology the exact same thing, so the newbies should be excused too. the whole fault lies with microsoft. In the end, that's what it all boils down to.

Jared
Aug 10 '07 #7
Debora
3
The answer was I had put the clsUtility in the App_Data folder instead of the App_Code folder.
Aug 15 '07 #8
jhardman
3,406 Expert 2GB
The answer was I had put the clsUtility in the App_Data folder instead of the App_Code folder.
Sorry we weren't more help but glad to see you found the solution anyway.

Jared
Aug 15 '07 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: bry | last post by:
Hi, I'm trying to do a dynamic import of a file that has no problems with it, that is to say I can import it normally, my sys.path is set to the right folder etc. but my dynamic import code is not...
1
by: mirandacascade | last post by:
O/S: Windows 2K Vsn of Python: 2.4 Currently: 1) Folder structure: \workarea\ <- ElementTree files reside here \xml\ \dom\
16
by: didier.doussaud | last post by:
I have a stange side effect in my project : in my project I need to write "gobal" to use global symbol : .... import math .... def f() : global math # necessary ?????? else next line...
2
by: Jon | last post by:
It appears that (windows) python searches in the current working directory before looking in the local site-packages directory, or that '.' comes first in sys.path? The problem arises when I made...
3
by: kwatch | last post by:
What is the condition of module name which is available in 'from .. import ..' statement ? ---------------------------------------- import os print os.path # <module 'posixpath'...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.