dbTalk Databases Forums  

Access 2010 Crashes When Opening Code

comp.databases.ms-access comp.databases.ms-access


Discuss Access 2010 Crashes When Opening Code in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Gilgamesh
 
Posts: n/a

Default Access 2010 Crashes When Opening Code - 10-31-2011 , 10:58 AM






Hi,
I'm not sure my 'Subject' above summarizes the problem well.

The database was originally an Access 2003 database (.mdb), but I
converted it to MS Access 2010 and I have been working on it for
several months without any problems.
It had tables, queries (selects and make table and append types), and
reports but no forms and no explicitly written Visual Basic.

A week or so ago I added a form with a few buttons. I wrote some VBA
for the event procedures for the buttons and the open form event. It
was all working just great. I could run the form and click the
buttons. I could step into the code if I wanted. I temporarily
dropped tables to ensure that my error handling was working. All was
good. I closed everything on Friday evening and went home. Today,
Monday, there is a big problem.

I can run reports and queries. If I open a table the data are all
there. But, if I try to do anything with the code, such as open the
form, or click on the event procedure in the properties window of a
button, or click "View Code" when the form is open in Design View, or
try to add a new button when the form is in design view, Access
crashes. All I can do is tell it to close the program and everything
goes away, leaving the .accdb file and the lock.

The dialog that comes up says "Microsoft Access has stopped working.
Windows can check online ... " It gives me the option to check online
and restart or just restart. The check online option causes Access to
crash completely; restart does restart access but does not fix
anything..

Access is installed on my C drive and the database file is on my C
drive too.

These are the problem details one sees trying to open the form or view
the code or add a new button:

Problem signature:
Problem Event Name: APPCRASH
Application Name: MSACCESS.EXE
Application Version: 14.0.6024.1000
Application Timestamp: 4d83e4fc
Fault Module Name: VBE7.DLL
Fault Module Version: 7.0.16.19
Fault Module Timestamp: 4d430aec
Exception Code: c0000005
Exception Offset: 00020418
OS Version: 6.1.7601.2.1.0.256.4
Locale ID: 1033

Additional information about the problem:
LCID: 1033
skulcid: 1033



Anyone have any ideas? Help.

Mike

Reply With Quote
  #2  
Old   
Gilgamesh
 
Posts: n/a

Default Re: Access 2010 Crashes When Opening Code - 10-31-2011 , 11:07 AM






On Oct 31, 9:58*am, Gilgamesh <michaelsfl... (AT) gmail (DOT) com> wrote:
Quote:
Hi,
I'm not sure my 'Subject' above summarizes the problem well.

The database was originally an Access 2003 database (.mdb), but I
converted it to MS Access 2010 and I have been working on it for
several months without any problems.
It had tables, queries (selects and make table and append types), and
reports but no forms and no explicitly written Visual Basic.

A week or so ago I added a form with a few buttons. * I wrote some VBA
for the event procedures for the buttons and the open form event. *It
was all working just great. * I could run the form and click the
buttons. *I could step into the code if I wanted. *I temporarily
dropped tables to ensure that my error handling was working. * All was
good. *I closed everything on Friday evening and went home. *Today,
Monday, there is a big problem.

I can run reports and queries. *If I open a table the data are all
there. *But, if I try to do anything with the code, such as open the
form, or click on the event procedure in the properties window of a
button, or click "View Code" when the form is open in Design View, or
try to add a new button when the form is in design view, Access
crashes. * All I can do is tell it to close the program and everything
goes away, leaving the .accdb file and the lock.

The dialog that comes up says "Microsoft Access has stopped working.
Windows can check online ... " *It gives me the option to check online
and restart or just restart. *The check online option causes Access to
crash completely; restart does restart access but does not fix
anything..

Access is installed on my C drive and the database file is on my C
drive too.

These are the problem details one sees trying to open the form or view
the code or add a new button:

Problem signature:
* Problem Event Name: * APPCRASH
* Application Name: * * MSACCESS.EXE
* Application Version: *14.0.6024.1000
* Application Timestamp: * * * *4d83e4fc
* Fault Module Name: * *VBE7.DLL
* Fault Module Version: 7.0.16.19
* Fault Module Timestamp: * * * 4d430aec
* Exception Code: * * * c0000005
* Exception Offset: * * 00020418
* OS Version: * 6.1.7601.2.1.0.256.4
* Locale ID: * *1033

Additional information about the problem:
* LCID: 1033
* skulcid: * * *1033

Anyone have any ideas? * Help.

Mike

I just found that if I open the backup database created by Access when
I clicked the Restart option presetned when the error occurs, the
backup is just fine. The code is there and everything works. Sorry
to bother you all.

Mike

Reply With Quote
  #3  
Old   
Patrick Finucane
 
Posts: n/a

Default Re: Access 2010 Crashes When Opening Code - 10-31-2011 , 12:24 PM



On Oct 31, 11:58*am, Gilgamesh <michaelsfl... (AT) gmail (DOT) com> wrote:
Quote:
Hi,
I'm not sure my 'Subject' above summarizes the problem well.

The database was originally an Access 2003 database (.mdb), but I
converted it to MS Access 2010 and I have been working on it for
several months without any problems.
It had tables, queries (selects and make table and append types), and
reports but no forms and no explicitly written Visual Basic.

A week or so ago I added a form with a few buttons. * I wrote some VBA
for the event procedures for the buttons and the open form event. *It
was all working just great. * I could run the form and click the
buttons. *I could step into the code if I wanted. *I temporarily
dropped tables to ensure that my error handling was working. * All was
good. *I closed everything on Friday evening and went home. *Today,
Monday, there is a big problem.

I can run reports and queries. *If I open a table the data are all
there. *But, if I try to do anything with the code, such as open the
form, or click on the event procedure in the properties window of a
button, or click "View Code" when the form is open in Design View, or
try to add a new button when the form is in design view, Access
crashes. * All I can do is tell it to close the program and everything
goes away, leaving the .accdb file and the lock.

The dialog that comes up says "Microsoft Access has stopped working.
Windows can check online ... " *It gives me the option to check online
and restart or just restart. *The check online option causes Access to
crash completely; restart does restart access but does not fix
anything..

Access is installed on my C drive and the database file is on my C
drive too.

These are the problem details one sees trying to open the form or view
the code or add a new button:

Problem signature:
* Problem Event Name: * APPCRASH
* Application Name: * * MSACCESS.EXE
* Application Version: *14.0.6024.1000
* Application Timestamp: * * * *4d83e4fc
* Fault Module Name: * *VBE7.DLL
* Fault Module Version: 7.0.16.19
* Fault Module Timestamp: * * * 4d430aec
* Exception Code: * * * c0000005
* Exception Offset: * * 00020418
* OS Version: * 6.1.7601.2.1.0.256.4
* Locale ID: * *1033

Additional information about the problem:
* LCID: 1033
* skulcid: * * *1033

Anyone have any ideas? * Help.

Mike
A similar thing happened to me with A2010. There's an article by MS
acknowleging the problem somewhere on the internet. Anyway, the
advice in the article was to run a /decompile on the file. I did so
and my code that was literally lost was available oncee again.

Reply With Quote
  #4  
Old   
Bob Darlington
 
Posts: n/a

Default Re: Access 2010 Crashes When Opening Code - 10-31-2011 , 04:48 PM



"Gilgamesh" <michaelsflynn (AT) gmail (DOT) com> wrote

Quote:
Hi,
I'm not sure my 'Subject' above summarizes the problem well.

The database was originally an Access 2003 database (.mdb), but I
converted it to MS Access 2010 and I have been working on it for
several months without any problems.
It had tables, queries (selects and make table and append types), and
reports but no forms and no explicitly written Visual Basic.

A week or so ago I added a form with a few buttons. I wrote some VBA
for the event procedures for the buttons and the open form event. It
was all working just great. I could run the form and click the
buttons. I could step into the code if I wanted. I temporarily
dropped tables to ensure that my error handling was working. All was
good. I closed everything on Friday evening and went home. Today,
Monday, there is a big problem.

I can run reports and queries. If I open a table the data are all
there. But, if I try to do anything with the code, such as open the
form, or click on the event procedure in the properties window of a
button, or click "View Code" when the form is open in Design View, or
try to add a new button when the form is in design view, Access
crashes. All I can do is tell it to close the program and everything
goes away, leaving the .accdb file and the lock.

The dialog that comes up says "Microsoft Access has stopped working.
Windows can check online ... " It gives me the option to check online
and restart or just restart. The check online option causes Access to
crash completely; restart does restart access but does not fix
anything..

Access is installed on my C drive and the database file is on my C
drive too.

These are the problem details one sees trying to open the form or view
the code or add a new button:

Problem signature:
Problem Event Name: APPCRASH
Application Name: MSACCESS.EXE
Application Version: 14.0.6024.1000
Application Timestamp: 4d83e4fc
Fault Module Name: VBE7.DLL
Fault Module Version: 7.0.16.19
Fault Module Timestamp: 4d430aec
Exception Code: c0000005
Exception Offset: 00020418
OS Version: 6.1.7601.2.1.0.256.4
Locale ID: 1033

Additional information about the problem:
LCID: 1033
skulcid: 1033



Anyone have any ideas? Help.

Mike

I'm finding that my Access 2010 apps are crashing far more frequently
(during design only) than they ever did using 2002.
On each occasion, I find that decompile works, but there is obviously a
problem somewhere.
It is happening both on apps imported from 2002 format and those newly
developed in 2010.
--
Bob Darlington
Brisbane

Reply With Quote
  #5  
Old   
Tony Toews
 
Posts: n/a

Default Re: Access 2010 Crashes When Opening Code - 10-31-2011 , 10:56 PM



On Mon, 31 Oct 2011 09:58:50 -0700 (PDT), Gilgamesh
<michaelsflynn (AT) gmail (DOT) com> wrote:

Just to follow up

Decompile or how to reduce Microsoft Access MDB/MDE size and decrease
start-up times
http://www.granite.ab.ca/access/decompile.htm

Tony
--
Tony Toews, Microsoft Access MVP
Tony's Main MS Access pages - http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
For a convenient utility to keep your users FEs and other files
updated see http://www.autofeupdater.com/

Reply With Quote
  #6  
Old   
Gilgamesh
 
Posts: n/a

Default Re: Access 2010 Crashes When Opening Code - 11-01-2011 , 10:35 AM



On Oct 31, 9:56*pm, Tony Toews <tto... (AT) telusplanet (DOT) net> wrote:
Quote:
On Mon, 31 Oct 2011 09:58:50 -0700 (PDT), Gilgamesh

michaelsfl... (AT) gmail (DOT) com> wrote:

Just to follow up

Decompile or how to reduce Microsoft Access MDB/MDE size and decrease
start-up timeshttp://www.granite.ab.ca/access/decompile.htm

Tony
--
Tony Toews, Microsoft Access MVP
Tony's Main MS Access pages -http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog -http://msmvps.com/blogs/access/
For a convenient utility to keep your users FEs and other files
* updated seehttp://www.autofeupdater.com/
Thank you Bob, Patrick, and Tony.

Reply With Quote
  #7  
Old   
Phil
 
Posts: n/a

Default Re: Access 2010 Crashes When Opening Code - 11-01-2011 , 12:39 PM



On 01/11/2011 16:35:28, Gilgamesh wrote:
Quote:
On Oct 31, 9:56*pm, Tony Toews <tto... (AT) telusplanet (DOT) net> wrote:
On Mon, 31 Oct 2011 09:58:50 -0700 (PDT), Gilgamesh

michaelsfl... (AT) gmail (DOT) com> wrote:

Just to follow up

Decompile or how to reduce Microsoft Access MDB/MDE size and decrease
start-up timeshttp://www.granite.ab.ca/access/decompile.htm
Tony
--
Tony Toews, Microsoft Access MVP
Tony's Main MS Access pages -http://www.granite.ab.ca/accsmstr.htm> Tony's Microsoft Access Blog -
http://msmvps.com/blogs/access/> For a convenient utility to keep your users
FEs and other files >> * updated seehttp://www.autofeupdater.com/
Quote:
Thank you Bob, Patrick, and Tony.

Have you applies SP1 to Access 2010?

Phil

Reply With Quote
  #8  
Old   
Tony Toews
 
Posts: n/a

Default Re: Access 2010 Crashes When Opening Code - 11-01-2011 , 01:24 PM



On Mon, 31 Oct 2011 09:58:50 -0700 (PDT), Gilgamesh
<michaelsflynn (AT) gmail (DOT) com> wrote:

Quote:
Fault Module Name: VBE7.DLL
From Armen Stein, fellow Access MVP

There is a hotfix now out for the Access 2010 SP1 problem that causes
VBA code to be corrupted, requiring frequent decompiles. The fix is
to VBE7.dll.

It is downloadable from:
http://support.microsoft.com/kb/2596585
*
It's a bit confusing, because the version detector assumes you'll want
the 64-bit version if you're running Windows 64-bit.Â* I believe that
since most of us are running Office 32-bit, you'll need to manually
request the x86 version.

Tony
--
Tony Toews, Microsoft Access MVP
Tony's Main MS Access pages - http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
For a convenient utility to keep your users FEs and other files
updated see http://www.autofeupdater.com/

Reply With Quote
  #9  
Old   
Jim Devenish
 
Posts: n/a

Default Re: Access 2010 Crashes When Opening Code - 11-02-2011 , 11:05 AM



On Nov 1, 7:24*pm, Tony Toews <tto... (AT) telusplanet (DOT) net> wrote:
Quote:
On Mon, 31 Oct 2011 09:58:50 -0700 (PDT), Gilgamesh

michaelsfl... (AT) gmail (DOT) com> wrote:
*Fault Module Name: * * * *VBE7.DLL

From Armen Stein, fellow Access MVP

There is a hotfix now out for the Access 2010 SP1 problem that causes
VBA code to be corrupted, requiring frequent decompiles. The fix is
to VBE7.dll.

It is downloadable from:http://support.microsoft.com/kb/2596585
*
It's a bit confusing, because the version detector assumes you'll want
the 64-bit version if you're running Windows 64-bit.Â* I believe that
since most of us are running Office 32-bit, you'll need to manually
request the x86 version.

Tony
--
Tony Toews, Microsoft Access MVP
Tony's Main MS Access pages -http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog -http://msmvps.com/blogs/access/
For a convenient utility to keep your users FEs and other files
* updated seehttp://www.autofeupdater.com/
It's amazing that the version for Office 32 bit is x86. And not
something like x32 !!

How old terminology seems to hang around!

Reply With Quote
  #10  
Old   
Tony Toews
 
Posts: n/a

Default Re: Access 2010 Crashes When Opening Code - 11-02-2011 , 01:08 PM



On Wed, 2 Nov 2011 10:05:25 -0700 (PDT), Jim Devenish
<internet.shopping (AT) foobox (DOT) com> wrote:

Quote:
It's a bit confusing, because the version detector assumes you'll want
the 64-bit version if you're running Windows 64-bit.Â* I believe that
since most of us are running Office 32-bit, you'll need to manually
request the x86 version.

It's amazing that the version for Office 32 bit is x86. And not
something like x32 !!

How old terminology seems to hang around!
Good point. One of those things you take for granted. Now where's
my PC XT?

Tony
--
Tony Toews, Microsoft Access MVP
Tony's Main MS Access pages - http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
For a convenient utility to keep your users FEs and other files
updated see http://www.autofeupdater.com/

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.