Kman79
New member
- Local time
- Today, 14:23
- Joined
- Nov 5, 2021
- Messages
- 1
I would like to add my experience with this same crash I was experiencing after a move from 32 to 64bit access (Faulting module name: OLEAUT32.dll).
Just like the original poster this crash didn't occur until the move to 64 bit and had no error message, just a crash to the desktop after loading a specific form. The crash didn't happen every time and seemed somewhat random. Usually the form would load fine the first few times, then crash a few times, then load fine a few etc etc..
This crash, for me, had nothing to do with the VBA code (did extensive testing) but had to do with some corrupted text boxes that were on the form (the form has plenty of other text boxes that I found to not be involved in the crash). I figured this out by creating a copy of the access application and just started deleting objects off of the form until I got to the point were I was able to load the form 5 - 10 times in a row without a crash. Once the crashes stopped I narrowed it down to a group of text boxes that had nothing special about them. They didn't have a record source, there was no code being applied to them on form_load, there were no filters etc.. I tried cutting them off the form then pasting them back in and it did not fix the issue.
To fix them I needed to create brand new text boxes. I gave them the exact name as the old ones and the exact same properties and the crash has not occurred anymore.
The method described above is how I fixed a handful of applications that all had this same crash start happening with the move to 64bit. Hopefully it can help anyone else seeing this error (Faulting module name: OLEAUT32.dll).
I would love to hear if anyone has an idea of why a text box would cause this type of crash though.
Just like the original poster this crash didn't occur until the move to 64 bit and had no error message, just a crash to the desktop after loading a specific form. The crash didn't happen every time and seemed somewhat random. Usually the form would load fine the first few times, then crash a few times, then load fine a few etc etc..
This crash, for me, had nothing to do with the VBA code (did extensive testing) but had to do with some corrupted text boxes that were on the form (the form has plenty of other text boxes that I found to not be involved in the crash). I figured this out by creating a copy of the access application and just started deleting objects off of the form until I got to the point were I was able to load the form 5 - 10 times in a row without a crash. Once the crashes stopped I narrowed it down to a group of text boxes that had nothing special about them. They didn't have a record source, there was no code being applied to them on form_load, there were no filters etc.. I tried cutting them off the form then pasting them back in and it did not fix the issue.
To fix them I needed to create brand new text boxes. I gave them the exact name as the old ones and the exact same properties and the crash has not occurred anymore.
The method described above is how I fixed a handful of applications that all had this same crash start happening with the move to 64bit. Hopefully it can help anyone else seeing this error (Faulting module name: OLEAUT32.dll).
I would love to hear if anyone has an idea of why a text box would cause this type of crash though.