473,976 Members | 1,520 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

Ray
<%@ Import Namespace="Syst em.Windows.Form s"%

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\midcro soft.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......dri ectory 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 12718
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*******@disc ussions.microso ft.com> wrote in message
news:1E******** *************** ***********@mic rosoft.com...
<%@ Import Namespace="Syst em.Windows.Form s"%>

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\midcro soft.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......dri ectory 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*******@disc ussions.microso ft.com> wrote in message
news:1E******** *************** ***********@mic rosoft.com...
<%@ Import Namespace="Syst em.Windows.Form s"%>

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\midcro soft.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......dri ectory 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
400
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. 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...
2
9245
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); DataSet ds = new DataSet(); myCmd.FillDataSet(ds, "test");
1
3229
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= (IPasswordProvider)Activator.CreateInstance(t); GetConfigValue DOES return the correct value from the config file - "namespace.DBPassword, namespace" It appears that Type.GetType is NOT finding the assembly whose name is the
11
3164
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 useful utils that more pages on that server can use. As an example, I have created a Page Counter class that opens an Access .mdb file, counts the current entries for that page, and adds a new entry with some information regarding the current...
29
4276
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 System.Text.RegularExpressions; using System.Web; using System.Web.Caching;
0
1736
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 which handles all the Database related work, so all my WebForm classes can inherit from it and consume its functions. Inside the dev env, when I press F5, it launches the browser with http://localhost:2739 and everything shows up as expected....
0
3282
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 reference?) I have a reference to AJAX.NET Pro and I created and the wire up was placed in the Webconfig file. <!-- Wire up Ajax.NET Pro ashx Handler --> <location path="ajaxpro">
6
27055
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 the DOS console using the command line compiler csc and got a new file called MyTestClass.dll in App_Code.
7
2021
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
30047
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 directive or an assembly reference?) PropertyCollectionAll.cs 17 39 I looked to .NET 2 help and found that Collection class is included in mscorlib so it doen't need assembly reference. How to fix this error ?
0
10352
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
11408
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
11571
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10907
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
8459
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6557
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
5153
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4731
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3761
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.