473,320 Members | 1,865 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,320 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 12659
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...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.