473,663 Members | 2,854 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Spurious error message

VB .NET 2003:

When I click on the Start button (>) in Visual Studio to run my project, I
get several messages in the Task List window. The first says:

C:\code\Caliber Generator\Inher ited Forms\frmDepart mentSummary.vb( 278):
'frmDeptUpdate' is not a member of 'CaliberGenerat or.frmMDIParent '.

However, in the frmMDIParent Class, at the beginning (just under "Public
Class frmMDIParent"), there is the line:
Public frmDeptUpdate As frmDepartmentUp date

So frmDeptUpdate IS IN FACT a member of CaliberGenerato r.frmMDIParent.

If I select "Rebuild CaliberGenerato r" from the Build menu, the Build
succeeds and the there are no messages in the Task List window.

Does anyone know how to prevent the spurious error message?
Nov 21 '05 #1
2 1040

"Mike W" <mi*******@nosp am.msn.com> schrieb:
When I click on the Start button (>) in Visual Studio to run my project, I
get several messages in the Task List window. The first says:

C:\code\Caliber Generator\Inher ited Forms\frmDepart mentSummary.vb( 278):
'frmDeptUpdate' is not a member of 'CaliberGenerat or.frmMDIParent '.

However, in the frmMDIParent Class, at the beginning (just under "Public
Class frmMDIParent"), there is the line:
Public frmDeptUpdate As frmDepartmentUp date

So frmDeptUpdate IS IN FACT a member of CaliberGenerato r.frmMDIParent.

If I select "Rebuild CaliberGenerato r" from the Build menu, the Build
succeeds and the there are no messages in the Task List window.

Does anyone know how to prevent the spurious error message?


Delete your project's "bin" and "obj" directories and try again.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #2
I had to close the project to delete those folders.

So I did and reopened it and then the project ran.

Then I changed some code and tried to run again and the same spurious
messages are coming up again
Nov 21 '05 #3

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

Similar topics

1
1209
by: Simon Dahlbacka | last post by:
Hi, I'm doing some preparation for a hopefully upcoming transition to python 2.4 (from 2.3.4) on winxp platform However, I'm getting SyntaxErrors in files that worked fine in 2.3, it tells me that e.g. newLanguage.language = languageElement.firstChild.data.encode("ascii")
4
2281
by: KKramsch | last post by:
My code is generating this type of error: Security Error: Content at http://nonexistent.org/somepage.html may not load data from about:blank. The "about:blank" page mentioned in the error message is a pop-up window, whose content is 100% dynamically-generated, and which is in fact *owes its existence* to code in the referring page (nonexistent.org/somepage.html), along the lines of something like
4
1894
by: Michael A. Covington | last post by:
Greetings, I am working on a program that is in beta testing and goes through a new version every week or so. When there's a new version, go into the setup project change the Product Code but leave the Upgrade Code and version number unchanged. RemovePreviousVersions is set to True.
0
1017
by: Carl Clawson | last post by:
The C++ compiler is choking on what looks like a valid dispinterface method declaration. I have an ATL object "A" that fires COM events, and an object "B" that receives them. CA is attributed with event_source("com"), and CB contains a sink object attributed with . In "B.h" I access A's declarations like this: ;
10
1630
by: Eric G. Harrison | last post by:
We have a project with many other projects referenced (all of which are referenced at the project level and are included in the solution). Frequenly, if we make a change in project A (such as adding a property, or even simply changing a line of code), a form in project B will then show 10 or more "object such-and-such is not defined". To fix this problem we check out the form in project B and 90% of the time that fixes it (but nothing changes...
0
857
by: Mike W | last post by:
VB .NET 2003: When I click on the Start button (>) in Visual Studio to run my project, I get several messages in the Task List window. The first says: C:\code\CaliberGenerator\Inherited Forms\frmDepartmentSummary.vb(278): 'frmDeptUpdate' is not a member of 'CaliberGenerator.frmMDIParent'. However, in the frmMDIParent Class, at the beginning (just under "Public Class frmMDIParent"), there is the line:
1
1659
by: Jeff Silverman | last post by:
I have a PHP program that almost works. I'm running it from the command line and simulating a form using a GET method. That part is working, but I get spurious records with all of the fields concatenated into a single field. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html; charset=windows-1252" http-equiv="content-type">
1
1017
by: guy | last post by:
VB.Net2005 / ASP.net i have had strange errors in this web app before, however on a control i am building i get a blue squiggly "Name lblName is not defined" although it is defined. lblName is not visible using Me. a build page shows this as an error a Rebuild Solution does NOT error, and returns build succeeded running the application returns build succeeded and runs correctly
10
3589
by: Andy Fish | last post by:
hi, I have an XSLT which is producing XML output. many of the nodes in the output tree contain namespace declarations for namespaces that are used in the source document even though they are not used in the result document or the stylesheet also I find that (for namespaces that are referenced in the stylesheet) even if I put an explicit namespace declaration on the root element of the result
0
8436
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
8345
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
8858
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8771
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...
0
8634
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...
0
7371
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
6186
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...
1
2763
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
1757
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.