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

Type 'XXX' is not defined on line 16707566

I upgraded by VS.NET to v2003 and I'm now attempting to upgrade all my project files. I have a solution with several projects. In project A is a interface called IForm which has 2 events: DBOperationComplete and DBOperationFailed. In project B is a Windows form which implements IForm. The IForm namespace is 'UI.Base'

I'm getting a build error "Type 'UI.Base.IForm.DBOperationFailedEventHandler' is not defined." The odd thing is that the line the error comes from is 16707566.

I've check my namespace, created new project files, new Windows App classes and recreated the entire project that is having the problem. The reference is seen. The other functions and methods that IForm requires all work fine. I can even right-click on IForm and 'Go To Definition'. I go across the reference and find the IForm file just fine.

Any ideas about what is happening and how I fix it? I have other interfaces which don't cause problems, but these also are also only interface for straight classes and not UI WinForms.

Thank you,
Kevin Rose
Jul 21 '05 #1
1 2102
guy
I had this a while back and it was a spurious error, the real error wasnt reported.
btw the line number 16707566 looks like a magic number or flag that has been misinterpreted somewhere, in hex it is FEEFEE !

guy

"Kevin Rose" wrote:
I upgraded by VS.NET to v2003 and I'm now attempting to upgrade all my project files. I have a solution with several projects. In project A is a interface called IForm which has 2 events: DBOperationComplete and DBOperationFailed. In project B is a Windows form which implements IForm. The IForm namespace is 'UI.Base'

I'm getting a build error "Type 'UI.Base.IForm.DBOperationFailedEventHandler' is not defined." The odd thing is that the line the error comes from is 16707566.

I've check my namespace, created new project files, new Windows App classes and recreated the entire project that is having the problem. The reference is seen. The other functions and methods that IForm requires all work fine. I can even right-click on IForm and 'Go To Definition'. I go across the reference and find the IForm file just fine.

Any ideas about what is happening and how I fix it? I have other interfaces which don't cause problems, but these also are also only interface for straight classes and not UI WinForms.

Thank you,
Kevin Rose

Jul 21 '05 #2

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

Similar topics

19
by: Peter A. Schott | last post by:
I've got a file that seems to come across more like a dictionary from what I can tell. Something like the following format: ###,1,val_1,2,val_2,3,val_3,5,val_5,10,val_10...
13
by: dawatson833 | last post by:
I have several stored procedures with parameters that are defined with user defined data types. The time it takes to run the procedures can take 10 - 50 seconds depending on the procedure. If I...
3
by: phil | last post by:
I recently tried converting my asp.net 1.1 app to 2.0 in visual studio 2005 beta 2. I get several "type xxx is not defined" errors. It seems that some of my code file within my web application...
1
by: Kevin Rose | last post by:
I upgraded by VS.NET to v2003 and I'm now attempting to upgrade all my project files. I have a solution with several projects. In project A is a interface called IForm which has 2 events:...
11
by: icanoop | last post by:
I would like to do this MyClass x; istringstream("XXX") >> x; // Works in VC++ but not GCC instead of MyClass x; istringstream iss("XXX"); iss >> x; // Works in both GCC and VC++
7
by: chaz | last post by:
Hi, * this class is defined in assembly XXXXClsLib : Public class VVDB : inherits DBFuncs ... * Assembly YYYYFwApi has a reference to XXXXClsLib * this class B in YYYYFwApi has an imports stmt...
2
by: whisher | last post by:
Hi. I'm taking my first steps with xml and SimpleXML functions. xml.php (It could be made dynamically with a mysql result I post this snippet for example ) PHP Code xml.php: <?php $xmlstr...
0
by: vve | last post by:
I'm discovering a strange behaviour in an C# project using ZedGraph (https://sourceforge.net/projects/zedgraph/). After adding a signal to it, it seems that the clr goes mad for some reason. I...
2
by: =?Utf-8?B?UGV0ZXI=?= | last post by:
I think if the object type of the control is not System.Windows.Forms.xxx, then it is a user-defined control. But how to tell the type of the user-defined control: Composite(User), Extended, and...
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: 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: 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:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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.