471,354 Members | 2,060 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,354 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 1066

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by Aaron Smith | last post: by
reply views Thread by public heath vb developer | last post: by
9 posts views Thread by GaryDean | last post: by
2 posts views Thread by eugenet | last post: by
21 posts views Thread by Peter Bradley | last post: by
reply views Thread by XIAOLAOHU | last post: by

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.