473,657 Members | 2,604 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

"Colleyvill e 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*********@Se eSig.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.

"Colleyvill e 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*********@Se eSig.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.

"Colleyvill e 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
4403
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 question. Yesterday I was working through Wrox's "Visual Basic 6 Database Programing" for the second time. A description of using the Data Form Wizard is given in chapter 2. However, after working through the example and pressign F5 to run the...
3
3166
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 on a Novell network using Office97 Pro. I built a db application(work distribution and log app) which has been running in this environment for more than a year, its a front-end/back-end setup using UNC for its pathing, both ends get compacted...
28
4034
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 the work day. The backend has a table called CLIENTS with approximately 6000 client records. Changes to data in the table are made via a frontend db Form which has CLIENTS as its record source.
3
4076
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 default. But, still face the same problem: Database corrupted! (But, it allows to be repaired) 2) I found that the relationship linkage between those related tables(which corrupted) was disconnected/lost after problem (1)
2
2587
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
783
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 two days out of 100's of hits. The error just started yesterday and this app has been running for quite some time without this error and has not been updated just before or after the error started. Reseaching this error I've checked the...
9
2389
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 was still open. I am now getting a "The data base ... is corrupted and needs to be repaired" error . I have made copies of the corrupted database so that I could try to repair and still have a corrupted copy available. When I try to repair , it...
3
8697
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: System.Convert.FromBase64String(String s) +0
5
1571
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, so that I got the message "Type 'System.Windows.Forms.Form' is not defined" as I rolled over my "inherits system.windows.form.form" line in the code. This happens in all my clases of this project. When I click on design tabs, I see the error "An...
0
8385
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
8821
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8723
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
8502
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
8602
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...
1
6162
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
4150
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4300
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1601
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.