473,944 Members | 17,311 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem with designer verb

I'm trying to add a designer verb to my custom control. I'm using the
document
http://msdn.microsoft.com/library/de...classtopic.asp
as a reference. I also looked at the page
http://msdn.microsoft.com/library/de...classtopic.asp

But, when I try adding the statement "Inherits
System.Componen tModel.Design.C omponentDesigne r", Intellisense is not
recognizing the statement as being valid. And, when I attempt to build the
solution, the compiler grips about "Type
'System.Compone ntModel.Design. ComponentDesign er' is not defined."

I'm using Visual Studio 2003 running under Windows XP Pro.

Is the documentation incorrect?

Richard Rosenheim
Nov 21 '05 #1
2 1384
You need to add a reference to System.Design.d ll

--
Mick Doherty
http://dotnetrix.co.uk/nothing.html
"Richard L Rosenheim" <ri*****@rlr.co m> wrote in message
news:ez******** *****@TK2MSFTNG P11.phx.gbl...
I'm trying to add a designer verb to my custom control. I'm using the
document
http://msdn.microsoft.com/library/de...classtopic.asp
as a reference. I also looked at the page
http://msdn.microsoft.com/library/de...classtopic.asp

But, when I try adding the statement "Inherits
System.Componen tModel.Design.C omponentDesigne r", Intellisense is not
recognizing the statement as being valid. And, when I attempt to build
the
solution, the compiler grips about "Type
'System.Compone ntModel.Design. ComponentDesign er' is not defined."

I'm using Visual Studio 2003 running under Windows XP Pro.

Is the documentation incorrect?

Richard Rosenheim

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.742 / Virus Database: 495 - Release Date: 19/08/2004
Nov 21 '05 #2
Thanks, that helped.

Richard Rosenheim
"Mick Doherty"
<EX***********@ AND.REMOVE.SQUA REBRACKETS.[mdaudi100#ntlwo rld.com]> wrote in
message news:OG******** ******@TK2MSFTN GP11.phx.gbl...
You need to add a reference to System.Design.d ll

--
Mick Doherty
http://dotnetrix.co.uk/nothing.html
"Richard L Rosenheim" <ri*****@rlr.co m> wrote in message
news:ez******** *****@TK2MSFTNG P11.phx.gbl...
I'm trying to add a designer verb to my custom control. I'm using the
document
http://msdn.microsoft.com/library/de...classtopic.asp as a reference. I also looked at the page
http://msdn.microsoft.com/library/de...classtopic.asp
But, when I try adding the statement "Inherits
System.Componen tModel.Design.C omponentDesigne r", Intellisense is not
recognizing the statement as being valid. And, when I attempt to build
the
solution, the compiler grips about "Type
'System.Compone ntModel.Design. ComponentDesign er' is not defined."

I'm using Visual Studio 2003 running under Windows XP Pro.

Is the documentation incorrect?

Richard Rosenheim

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.742 / Virus Database: 495 - Release Date: 19/08/2004

Nov 21 '05 #3

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

Similar topics

5
569
by: fripper | last post by:
I posted this problem a couple of days ago but felt I might have better luck re-stating the problem. Apparently I messed up IIS (v. 5) somehow because I am suddenly unable to load web forms! A simple example will help. I created a simple web project that contains two simple forms ... WebForm1 and WebForm2. WebForm1 has a button which when clicked simply does a Response.Redirect("WebForm2.aspx"). When I run the program and click the...
1
1483
by: Jacob | last post by:
I'm working on custom control where a designer verb will snap the control to a preset size. I can set the control size perfectly and it will resize, however, the grip around the control dosn't resize with it. How can I get the resizing grips to adjust when my control adjusts its size in the designer? Thanks, Jacob
4
1559
by: Nadav Popplewell | last post by:
Hi Everybody, I've got a problem debugging ASP.NET applications on an XP SP2 System. The Details: Up to now I've been developing on an XP SP1 computer. Several days ago I got a new computer with XP SP2 installed. I moved the ASP.NET to the new computer (got the source from source safe and compiled on that computer), and i've run into several problems which are probably related.
7
2194
by: Maravilloso | last post by:
Hi I'm trying to automatically send a postscript file to be printed to the default printer in a Win98 PC, by means of using the instrucction: win32api.ShellExecute (0, "print", "file.ps", None, ".", 0) but it raises an exception with the message: error: (31, 'ShellExecute', 'A device attached to the system is not
0
917
by: Gaetan | last post by:
Anyone knows why IIS 6.0 requires that the user account required write access to the web application folder when a custom verb is used? I configured my web application and added COMP to the list of verbs. I coded a small ASPX and ASPX.cs file who process web requests whose HTTP verb is COMP instead of the more common GET, PUT. When the user account used on the HTTP requests (I use WinHTTP on the client side) is granted NTFS "Modify"...
0
1124
by: Bram | last post by:
Hello, I'm designing a PageControl which hosts a number of pages. I added a verb to the designer of the pages in the PageControl to select the parent control, like this: public class PagePanelDesigner : ParentControlDesigner { public override DesignerVerbCollection Verbs { get { DesignerVerbCollection verbs = new DesignerVerbCollection();
4
3240
by: ayman723 | last post by:
hi, I'm trying to write a program in wich I would generate 20 sentences out of 4 arrays(articles,nouns,preposition,verb).I have to select an item at random from each array and concatetane each one of those selections to form a sentence, I have to form 20 sentences. I have no compiling errors but when I execute the program is giving an execption. This is the code I have // program uses randon number generation to create sentences
2
1865
by: Georgy Malyshev | last post by:
Hello, All! I have a simplistic ASP application, only default.asp file without any scripts just HTML to say "Hello world!". It is running under IIS 5.1 on XP SP2 machine. I also have some simplistic ISAPI extension DLL as reference point for my performance measurements. My client is a console application using WinInet API. Later I also wrote C# console application just to sure I made no mistakes in WinInet calls but it didn't change...
4
2659
by: Goran Djuranovic | last post by:
Hi all, I am experiencing a strange thing happening with a "designer.vb" page. Controls I manually declare in this page are automatically deleted after I drop another control on a ".aspx" page. - Why is this happening? - Can I disable automatic declaration and have everything be declared manually? - Any other options to fix this? Thanks in advance. Goran Djuranovic
0
10148
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
9974
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11140
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
11317
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
9871
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8239
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
6093
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4927
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
4519
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.