473,404 Members | 2,114 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,404 software developers and data experts.

The type or namespace name 'Windows' does not exist in the class or namespace 'System' (are you missing an assembly reference?)

Ray
<%@ Import Namespace="System.Windows.Forms"%

I got this error message. I searched System.windows.Forms, I found the dll file in the c:\programfiles\visual studio..
It is only 1 137kb size. Hwoever, the file also exists in the c:\winnt\midcrosoft.net...... directory. the file size is 1992 kb
However, when I search it , it doesnot show up. Only the smaller file in the c:\prgramfiles\visual studio......driectory show up. I tried to add reference in the solution explorer and it still does not work

Please help

Thank

Ray Cheung
Jul 21 '05 #1
2 12668
And why do you need this namespace for? It's meant to be used for Windows
forms applications! As far as I can see it doesn't contain anything usable
in a web based application

Willy.

"Ray" <an*******@discussions.microsoft.com> wrote in message
news:1E**********************************@microsof t.com...
<%@ Import Namespace="System.Windows.Forms"%>

I got this error message. I searched System.windows.Forms, I found the dll
file in the c:\programfiles\visual studio...
It is only 1 137kb size. Hwoever, the file also exists in the
c:\winnt\midcrosoft.net...... directory. the file size is 1992 kb.
However, when I search it , it doesnot show up. Only the smaller file in
the c:\prgramfiles\visual studio......driectory show up. I tried to add
reference in the solution explorer and it still does not work.

Please help.

Thanks

Ray Cheung

Jul 21 '05 #2
And why do you need this namespace for? It's meant to be used for Windows
forms applications! As far as I can see it doesn't contain anything usable
in a web based application

Willy.

"Ray" <an*******@discussions.microsoft.com> wrote in message
news:1E**********************************@microsof t.com...
<%@ Import Namespace="System.Windows.Forms"%>

I got this error message. I searched System.windows.Forms, I found the dll
file in the c:\programfiles\visual studio...
It is only 1 137kb size. Hwoever, the file also exists in the
c:\winnt\midcrosoft.net...... directory. the file size is 1992 kb.
However, when I search it , it doesnot show up. Only the smaller file in
the c:\prgramfiles\visual studio......driectory show up. I tried to add
reference in the solution explorer and it still does not work.

Please help.

Thanks

Ray Cheung

Jul 21 '05 #3

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

Similar topics

1
by: Ray | last post by:
<%@ Import Namespace="System.Windows.Forms"% I got this error message. I searched System.windows.Forms, I found the dll file in the c:\programfiles\visual studio.. It is only 1 137kb size....
2
by: Matthew Louden | last post by:
using System.Data; using System.Data.SqlClient; //etc... SqlConnection conn = new SqlConnection(connString); SQLDataSetCommand myCmd = new SQLDataSetCommand("select * from Test;", conn);...
1
by: hazz | last post by:
"Value cannot be null.\r\nParameter name: type" is the exception thrown after the CreateInstance method below. Type t = Type.GetType(GetConfigValue("PasswordProvider")); IPasswordProvider ppdr=...
11
by: Wolfgang Kaml | last post by:
I am not sure if this is more of an expert question, but I am sure that they are out there. I'd like to setup a general application or bin directory on my Win2003.Net Server that will hold some...
29
by: Natan | last post by:
When you create and aspx page, this is generated by default: using System; using System.Collections; using System.Collections.Specialized; using System.Configuration; using System.Text; using...
0
by: li.eddie | last post by:
Hi All, I'm new to ASP.NET and trying to create a Database application with MS Visual Web Dev 2005. In my project, I wrote a generic abstract class called DataAccessHelper.cs under App_Code folder...
0
by: WebDev2 | last post by:
I can't get AJAX.NET Pro to work. I keep getting a Compiler Error Message: CS0246: The type or namespace name 'AjaxPro' could not be found (are you missing a using directive or an assembly...
6
by: antonyliu2002 | last post by:
Hi, guys, I am using Visual Web Developer Express 2005 for my web application. I wrote a simple class called MyTestClass.cs and put it in the App_Code folder. I compiled it to library from...
7
by: Saber | last post by:
In an ASP.Net Website I've a string and want to convert that to Type. Let's consider the string "Class1" I tried: Type t = Type.GetType("Class1"); but it returns null.
2
by: Andrus | last post by:
I'm trying to compile myGeneration PropertyCollectionAll.cs file with VCS Express 2005 bot got error Error 1 The type or namespace name 'Collection' could not be found (are you missing a using...
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.