473,803 Members | 3,410 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Datasets disappear from designer

We have several programs that will lose datasets from the designer and / or
give compile time errors if a component is changed on the form.

This is one of the lines of code that is flagged as an error.

Friend WithEvents Release As VersionList.Rel ease

Release is a dataset - it has a corresponding .xsd file. The dataset was
defined through the designer.

If the above line of code is changed to

Friend WithEvents Release As Release

The compile error goes away. VersionList is the name of the class for the
application form.

If a dataset disappears from the disigner form, and we attempt to
re-generate the same dataset, it says that there is another component with
the same name. Being very explicit, if dataset X disappears, and a new
dataset is generated. it is named X1. All of our code need dataset X, not
dataset X1. Going to properties and changing the name of the dataset from X1
to X gives the above error.

The applications that are giving us trouble have been copied from other
working applications and modified by changing the name of the form and class.
It appears that making this change loses some internal linkage within the
project.

--
Jim Durbin
Durbin Enterprises
VB developer
Jul 21 '05 #1
0 1203

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

Similar topics

0
1125
by: Jonathan Stone | last post by:
Has anyone had a problem with the VS.NET 2003 IDE web form designer where the designer components at the bottom of the design view just disappear and at the same time, you lose all the initialize component code that is web form designer generated as well? This keeps happening randomly and its driving me insane.. its a pain in the a** to have this happen over and over. I am not wanting to manually recreate all the code nor do I have a clue...
8
10113
by: Aaron Smith | last post by:
I have a problem... Have a form, made some changes.. now all the controls are gone. I didn't make any changes to the designer generated region.. I'm not really sure what happened to them, but this has happened before where one or two will disappear.. They are still in the code too.. And if I try to add a new control with the same name, it says it exists... Any ideas? -- --- Aaron Smith Remove -1- to E-Mail me. Spam Sucks.
0
258
by: public heath vb developer | last post by:
We have several programs that will lose datasets from the designer and / or give compile time errors if a component is changed on the form. This is one of the lines of code that is flagged as an error. Friend WithEvents Release As VersionList.Release Release is a dataset - it has a corresponding .xsd file. The dataset was defined through the designer.
9
2918
by: GaryDean | last post by:
We have been noticing that questions on vs.2005/2.0 don't appear to get much in answers so I'm reposting some questions posted by some of the programmers here in our organization that never got answered... There are articles on the new TableAdapters where it says that a key new advantage is that a single TableAdapter, which can have multiple queries, can be used on multiple forms. Now that was in an article on using TableAdapters with...
1
1485
by: Patrick | last post by:
When I open forms in my project which contain a typed-dataset dropped onto the form (in the component tray), the dataset will often disappear from the component tray and be removed from the designer-generated code. I am also having problems adding newly-created datasets to a form. This results in: "Could not add an instance of to the designer. To resolve this problem, build the project, fix any errors, and add the
2
1382
by: eugenet | last post by:
Hello, In ASP.NET 1.1, I followed this data access methodology: At design time - Create a strongly typed dataset - Add this dataset to a form and bind controls to the dataset using the designer At run time
21
2435
by: Peter Bradley | last post by:
Hi all, This post is sort of tangentially related to my earlier posts on configuration files for DLLs. Does anyone know how to create typed DataSets using VS2005's new DataSet designer, but with the ability to configure the connection string via a config file? The designer seems to hard-code the connection string into the dataset itself, which just can't be right.
3
8300
by: daokfella | last post by:
In my solution, I have a project that is my data access layer. This layer simply consists of strongly-typed datasets created by dragging tables from the server explorer into the dataset designer. The connection string that it uses is stored in the My Project folder under Settings.settings. My business layer contains objects that consume the data layer to read/ write information...pretty basic. My question is....how do I tell the data...
0
1223
by: S.Tedeschi | last post by:
Hi all; as posted some days ago, I'm converting an on-line app; I used to heavily rely on strongly-typed DataSets directly dropped onto pages, and so viewed by code(-behind) as well. In the next two weeks I discovered that such objects are no more directly usable in pages, namely in DataGrid which don't see them any more. Even if rebuilt in Component Designer, and so visible in code, DataSets are invisible in Page Designer, so now it's...
0
9700
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
9564
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
10310
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
10292
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
10068
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
9121
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
7603
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
6841
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5627
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.