473,379 Members | 1,184 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,379 software developers and data experts.

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.ComponentModel.Design.ComponentDesigner", Intellisense is not
recognizing the statement as being valid. And, when I attempt to build the
solution, the compiler grips about "Type
'System.ComponentModel.Design.ComponentDesigner' 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 1366
You need to add a reference to System.Design.dll

--
Mick Doherty
http://dotnetrix.co.uk/nothing.html
"Richard L Rosenheim" <ri*****@rlr.com> wrote in message
news:ez*************@TK2MSFTNGP11.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.ComponentModel.Design.ComponentDesigner", Intellisense is not
recognizing the statement as being valid. And, when I attempt to build
the
solution, the compiler grips about "Type
'System.ComponentModel.Design.ComponentDesigner' 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.SQUAREBRACKETS.[mdaudi100#ntlworld.com]> wrote in
message news:OG**************@TK2MSFTNGP11.phx.gbl...
You need to add a reference to System.Design.dll

--
Mick Doherty
http://dotnetrix.co.uk/nothing.html
"Richard L Rosenheim" <ri*****@rlr.com> wrote in message
news:ez*************@TK2MSFTNGP11.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.ComponentModel.Design.ComponentDesigner", Intellisense is not
recognizing the statement as being valid. And, when I attempt to build
the
solution, the compiler grips about "Type
'System.ComponentModel.Design.ComponentDesigner' 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
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...
1
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...
4
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...
7
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",...
0
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...
0
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...
4
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...
2
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...
4
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. -...
1
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: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
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?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.