473,390 Members | 959 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,390 software developers and data experts.

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.Release

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

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

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

Similar topics

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...
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...
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...
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...
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...
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...
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...
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....
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...
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
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...
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
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,...
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...
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,...
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...

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.