473,406 Members | 2,894 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,406 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
project.

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

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

Similar topics

0
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...
8
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...
0
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...
9
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...
1
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...
2
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...
21
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...
3
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....
0
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...
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: 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
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...
0
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,...
0
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...
0
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,...
0
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,...
0
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...

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.