472,364 Members | 2,112 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

System namespace.

Hello everyone
I'm looking at an example in the MSDN library and it says that this code requires a reference to the system namesppace. What does this mean?
Thanks in advance.
Nov 20 '05 #1
6 1342
CT
You should try and open a project in VS .NET, if you have it installed. That
way you can see for your self. Anyway, it means that the code relies one or
more classes/types "located" in the System namespace. A namespace is a
logical grouping of classes and types.

--
Carsten Thomsen
Enterprise Development with VS .NET, UML, and MSF
http://www.apress.com/book/bookDisplay.html?bID=105
"jeffo" <an*******@discussions.microsoft.com> wrote in message
news:83**********************************@microsof t.com...
Hello everyone,
I'm looking at an example in the MSDN library and it says that this code
requires a reference to the system namesppace. What does this mean?
Thanks in advance.

Nov 20 '05 #2
"jeffo" <an*******@discussions.microsoft.com> schrieb
Hello everyone,
I'm looking at an example in the MSDN library and it says that this
code requires a reference to the system namesppace. What does this
mean? Thanks in advance.


I don't know what "referencing" a namespace means exactly. A namespace is a
method of structuring an assembly (a dll/exe). You can set a reference to an
assembly and you can refer to a namespace or use a namespace's name to
qualify a name in the namespace. To set a reference to an assembly,
right-click on "references" in the solution explorer. Which assembly depends
on the class you need. At the bottom of the documentation of the class, the
dll file to be referenced is listed.
--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #3
CT
Armin,

There's not a one to one relationship between namespaces and assemblies. A
namespace is not used to structure an assembly; an assembly is a unit of
deployment containing one or more namespaces, whereas a namespace is a
logical grouping that can span several assemblies.
--
Carsten Thomsen
Enterprise Development with VS .NET, UML, and MSF
http://www.apress.com/book/bookDisplay.html?bID=105
"Armin Zingler" <az*******@freenet.de> wrote in message
news:40***********************@news.freenet.de...
"jeffo" <an*******@discussions.microsoft.com> schrieb
Hello everyone,
I'm looking at an example in the MSDN library and it says that this
code requires a reference to the system namesppace. What does this
mean? Thanks in advance.


I don't know what "referencing" a namespace means exactly. A namespace is
a
method of structuring an assembly (a dll/exe). You can set a reference to
an
assembly and you can refer to a namespace or use a namespace's name to
qualify a name in the namespace. To set a reference to an assembly,
right-click on "references" in the solution explorer. Which assembly
depends
on the class you need. At the bottom of the documentation of the class,
the
dll file to be referenced is listed.
--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #4
"CT" <ca******@spammersgoawaydotnetservices.biz> schrieb
Armin,

There's not a one to one relationship between namespaces and
assemblies. A namespace is not used to structure an assembly; an
assembly is a unit of deployment containing one or more namespaces,
whereas a namespace is a logical grouping that can span several
assemblies. --


I know. That's why I wrote that the assembly to be referenced depends on the
class to be used, not on the namespace.
--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #5
CT
Heck, as long as we can agree...<g> Sorry, if I misunderstood your writing
:-)

--
Carsten Thomsen
Enterprise Development with VS .NET, UML, and MSF
http://www.apress.com/book/bookDisplay.html?bID=105
"Armin Zingler" <az*******@freenet.de> wrote in message
news:40***********************@news.freenet.de...
"CT" <ca******@spammersgoawaydotnetservices.biz> schrieb
Armin,

There's not a one to one relationship between namespaces and
assemblies. A namespace is not used to structure an assembly; an
assembly is a unit of deployment containing one or more namespaces,
whereas a namespace is a logical grouping that can span several
assemblies. --


I know. That's why I wrote that the assembly to be referenced depends on
the
class to be used, not on the namespace.
--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #6
"CT" <ca******@spammersgoawaydotnetservices.biz> schrieb
Heck, as long as we can agree...<g> Sorry, if I misunderstood your
writing :-)


No problem, I was not clear enough. :-)

--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: audipen | last post by:
I have a problem with System.Type.GetType method. If you try out the following code in C# console app .. System.Type t = System.Type.GetType("System.DateTime"); System.Type t1 =...
1
by: Tom Welch | last post by:
You can really mess up ASP.NET easily. 1. Create a new ASP.NET project. 2. Create a new folder on the web named System Now all objects in the System namespace are invalid because the compiler...
2
by: John Chrisman | last post by:
I get the above error message as well as a complaint about the RunInstallerAttribute not being found when compiling the following code. This couldn't be any simpler and I see examples on the web...
0
by: Kirk | last post by:
I'm trying to use a Web Service to be a Remoting client of an existing ..NET 2.0 server. But I get the following error when I try to use System.Runtime.Remoting.Channels.Http in my WebService. ...
0
by: Jim Duffie | last post by:
Hi, I am trying to build a simple websire using the above in Visual Web Developer. When finished I have build the website and it works fine locally but when I FTP it to the server I am getting a...
0
by: DC | last post by:
Why would this code give me the error "Could not load type System.Web.UI.WebControls.AccessDataSource from assembly System.Web, Version=1.0.5000.0" at line 16... <form id="form1"...
0
by: nicomp | last post by:
I created a Web Service: I imported System.Data.SqlClient so I could access SQL server tables programmatically. The web service builds and deploys with no problems. When I try to add the...
2
by: AnalogKid17 | last post by:
Keywords: ASP.NET app with VS2005 running on Win2003 with IIS6, and SQL2000 on a WinXP Box I've betting the following for days... it's driving me insane: Server Error in '/' Application. ...
9
by: Arpan | last post by:
If I am not wrong, System.IO is one of the seven namespaces that get imported in all ASP.NET page automatically but in the following code: <%@ Import Namespace="System.IO" %> <script...
0
by: Pantokrator | last post by:
Hi! Could you please tell me what am I doing wrong here.... I've got a simple form called Form1 and all I want to do is to pass the pointer to my other class called CCueMakerEngine. Here's what...
2
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and credentials and received a successful connection...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
1
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
2
by: Ricardo de Mila | last post by:
Dear people, good afternoon... I have a form in msAccess with lots of controls and a specific routine must be triggered if the mouse_down event happens in any control. Than I need to discover what...
1
by: ezappsrUS | last post by:
Hi, I wonder if someone knows where I am going wrong below. I have a continuous form and two labels where only one would be visible depending on the checkbox being checked or not. Below is the...

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.