473,386 Members | 1,708 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,386 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 12664
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
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
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...

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.