473,382 Members | 1,423 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,382 software developers and data experts.

Corrupted form/control

I posted the other day that the Incremental Search box that I had been using
was no longer working properly. When I checked the code against an older
version that was working properly, the changes to the code from the old
(good) to the new (bad) version were minor and seemed unlikely to be the
cause of a problem. I then changed them one-at-a-time back to the old
version. Finally, the code blocks seemed identical. Just to be sure, I
copied all of the code from the good form to the bad form and the bad form
still did not work.

But then I copied the ListBox control itself from the good form to the bad
form and then the bad form suddenly worked fine. IOW, I had a corrupted
control.

Q: Is there a better way to test for a corrupted control than to pound
your head against a wall for a few days, some testing procedure, some
checksum value, anything?

Q: Even though things are working now, is it likely that the form itself is
corrupted and that the control will become unstable again?

Q: What, if anything, should I do now?

Thanks
CA
Nov 13 '05 #1
3 1825
Good troubleshooting.

Based on our experiences, there are several things you can do to prevent the
corruption recurring. We listed them in this article:
Preventing corruption
at:
http://allenbrowne.com/ser-25.html
The first 4 items are the most crucial.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Colleyville Alan" <ae***********@nospam.comcast.net> wrote in message
news:wKMEc.7900$%_6.4186@attbi_s01...
I posted the other day that the Incremental Search box that I had been using was no longer working properly. When I checked the code against an older
version that was working properly, the changes to the code from the old
(good) to the new (bad) version were minor and seemed unlikely to be the
cause of a problem. I then changed them one-at-a-time back to the old
version. Finally, the code blocks seemed identical. Just to be sure, I
copied all of the code from the good form to the bad form and the bad form
still did not work.

But then I copied the ListBox control itself from the good form to the bad
form and then the bad form suddenly worked fine. IOW, I had a corrupted
control.

Q: Is there a better way to test for a corrupted control than to pound
your head against a wall for a few days, some testing procedure, some
checksum value, anything?

Q: Even though things are working now, is it likely that the form itself is corrupted and that the control will become unstable again?

Q: What, if anything, should I do now?

Nov 13 '05 #2
Thanks for the info.

"Allen Browne" <Al*********@SeeSig.Invalid> wrote in message
news:40***********************@per-qv1-newsreader-01.iinet.net.au...
Good troubleshooting.

Based on our experiences, there are several things you can do to prevent the corruption recurring. We listed them in this article:
Preventing corruption
at:
http://allenbrowne.com/ser-25.html
The first 4 items are the most crucial.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Colleyville Alan" <ae***********@nospam.comcast.net> wrote in message
news:wKMEc.7900$%_6.4186@attbi_s01...
I posted the other day that the Incremental Search box that I had been

using
was no longer working properly. When I checked the code against an older version that was working properly, the changes to the code from the old
(good) to the new (bad) version were minor and seemed unlikely to be the
cause of a problem. I then changed them one-at-a-time back to the old
version. Finally, the code blocks seemed identical. Just to be sure, I
copied all of the code from the good form to the bad form and the bad form still did not work.

But then I copied the ListBox control itself from the good form to the bad form and then the bad form suddenly worked fine. IOW, I had a corrupted
control.

Q: Is there a better way to test for a corrupted control than to pound
your head against a wall for a few days, some testing procedure, some
checksum value, anything?

Q: Even though things are working now, is it likely that the form itself

is
corrupted and that the control will become unstable again?

Q: What, if anything, should I do now?


Nov 13 '05 #3
Thanks for the info.

"Allen Browne" <Al*********@SeeSig.Invalid> wrote in message
news:40***********************@per-qv1-newsreader-01.iinet.net.au...
Good troubleshooting.

Based on our experiences, there are several things you can do to prevent the corruption recurring. We listed them in this article:
Preventing corruption
at:
http://allenbrowne.com/ser-25.html
The first 4 items are the most crucial.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Colleyville Alan" <ae***********@nospam.comcast.net> wrote in message
news:wKMEc.7900$%_6.4186@attbi_s01...
I posted the other day that the Incremental Search box that I had been

using
was no longer working properly. When I checked the code against an older version that was working properly, the changes to the code from the old
(good) to the new (bad) version were minor and seemed unlikely to be the
cause of a problem. I then changed them one-at-a-time back to the old
version. Finally, the code blocks seemed identical. Just to be sure, I
copied all of the code from the good form to the bad form and the bad form still did not work.

But then I copied the ListBox control itself from the good form to the bad form and then the bad form suddenly worked fine. IOW, I had a corrupted
control.

Q: Is there a better way to test for a corrupted control than to pound
your head against a wall for a few days, some testing procedure, some
checksum value, anything?

Q: Even though things are working now, is it likely that the form itself

is
corrupted and that the control will become unstable again?

Q: What, if anything, should I do now?


Nov 13 '05 #4

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

Similar topics

1
by: alanrn | last post by:
Is it possible for OCA files to become corrupt? If so, how and what can one do to "repair" them? Or, perhaps, there are other nefarious forces at work here? :-( Here are the particulars of my...
3
by: Bob Hynes | last post by:
Hi All, Does anyone know of a place where a corrupted mdb(front-end) can be sent and have that place be able to tell me what got corrupted within the db? Here's the issue; All pc's are WindowsNT...
28
by: Lee Rouse | last post by:
Hello all, This is going to be a rather lengthy "question". I have an Access 2k database, separated front end/back end. Front end copies are on about 30 workstations and used frequently during...
3
by: Leinad Kong | last post by:
I'm using Access 2002, as front-end and back-end as well: 1) I faced database corrupted problems, when more than 1 user edit concurrently. I'm using All-records Locking, and open-exclusively as...
2
by: Mike | last post by:
hi to all does any body know or receive this message before and how i can repare this: The viewstate is invalid for this page and might be corrupted. thank's Mike
2
by: Brad | last post by:
I have an intranet app that has just started sporadically getting the following error "The viewstate is invalid for this page and might be corrupted." By sproadic I mean 3-4 times during the past...
9
by: advance scout | last post by:
HELP! My database is suddenly corrupted. My computer was acting funny (very sluggish) and was shut down. Access had been already been closed down but computer was acting very slow , so perhaps it...
3
by: Nathan Sokalski | last post by:
I am recieving the following error on the second postback of a page I have written: The state information is invalid for this page and might be corrupted Stack Trace: ...
5
by: crusson | last post by:
I installed a third party piece of software designed to add mroe user control to the datagridviewer control and then uninstalled it. I found that it has somehow corrupted a Program I'm working on,...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
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...
0
BarryA
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.