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

Unusual problem with Access 2003 and memory stick

Hi,
I'm not 100% sure that this is an Access problem. A friend of mine has
an Access 2003 database. Occasionally he brings a copy to me so that I
can import some of his data into my Access 2003 database. For years he
has done this with no problems by bringing his copy on a CD.

However, last week he put his database onto a memory stick and brought
it to me. When I try to open the database, I get the error "The Visual
Basic for Applications project in the database is corrupt".

If I click ok, the main form seems to open ok, but I can do nothing
with it. Even if I go to the database window and try to open a table,
it crashes Access with no error.

He has tried this on two memory sticks now, and gets the same error.
He has also tried it with all 4 USB ports on his p/c. His memory stick
is Integral USB 2.0 1GB. His p/c is probably about 5 years old.

Can anybody suggest what might be happening here?

Thanks for any help

Colin

Jan 7 '08 #1
6 2204
On Jan 7, 4:21*pm, Bobby <bob...@blueyonder.co.ukwrote:
Hi,
I'm not 100% sure that this is an Access problem. A friend of mine has
an Access 2003 database. Occasionally he brings a copy to me so that I
can import some of his data into my Access 2003 database. For years he
has done this with no problems by bringing his copy on a CD.

However, last week he put his database onto a memory stick and brought
it to me. When I try to open the database, I get the error "The Visual
Basic for Applications project in the database is corrupt".

If I click ok, the main form seems to open ok, but I can do nothing
with it. Even if I go to the database window and try to open a table,
it crashes Access with no error.

He has tried this on two memory sticks now, and gets the same error.
He has also tried it with all 4 USB ports on his p/c. His memory stick
is Integral USB 2.0 1GB. His p/c is probably about 5 years old.

Can anybody suggest what might be happening here?

Thanks for any help

Colin
If it's the same version and there are no linked tables that need
refreshing after the upload then it may indeed be a corrupt database.
You could try splitting linking the back end to a new front end and
copying across the forms into the new file? Or run a KB search on it,
I think it's a common one.

good luck

David
Jan 7 '08 #2
Bobby <bo****@blueyonder.co.ukwrote:
>I'm not 100% sure that this is an Access problem. A friend of mine has
an Access 2003 database. Occasionally he brings a copy to me so that I
can import some of his data into my Access 2003 database. For years he
has done this with no problems by bringing his copy on a CD.

However, last week he put his database onto a memory stick and brought
it to me. When I try to open the database, I get the error "The Visual
Basic for Applications project in the database is corrupt".
Are you running A2003? Is this an MDE or MDB? Is he on SP3 and you are on SP2 or
different?

There is an interesting problem in A2007 where A2007 with no SP can't execute an MDE
created in A2007 SP1.

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
Jan 8 '08 #3
On 8 Jan, 02:07, "Tony Toews [MVP]" <tto...@telusplanet.netwrote:
Bobby <bob...@blueyonder.co.ukwrote:
I'm not 100% sure that this is an Access problem. A friend of mine has
an Access 2003 database. Occasionally he brings a copy to me so that I
can import some of his data into my Access 2003 database. For years he
has done this with no problems by bringing his copy on a CD.
However, last week he put his database onto a memory stick and brought
it to me. When I try to open the database, I get the error "The Visual
Basic for Applications project in the database is corrupt".

Are you running A2003? *Is this an MDE or MDB? * Is he on SP3 and you are on SP2 or
different? *

There is an interesting problem in A2007 where A2007 with no SP can't execute an MDE
created in A2007 SP1.

Tony

--
Tony Toews, Microsoft Access MVP
* *Please respond only in the newsgroups so that others can
read the entire thread of messages.
* *Microsoft Access Links, Hints, Tips & Accounting Systems athttp://www.granite.ab.ca/accsmstr.htm
* *Tony's Microsoft Access Blog -http://msmvps.com/blogs/access/
We both use Access 2003, and it is a mdb. I'm not sure what service
pack he is on. I'll try to find out later. The odd thing is that we
have been operating in this way for a few years, with no problems.
He's not very technical, and assures me that nothing has changed on
his p/c recently. I've installed nothing on mine for a few months.

Could it be a problem with compatability between his memory stick and
P/C? His p/c is about 5 years old.

Thanks

Colin
Jan 8 '08 #4
On Mon, 07 Jan 2008 08:21:43 -0800, Bobby wrote:
Hi,
I'm not 100% sure that this is an Access problem. A friend of mine has
an Access 2003 database. Occasionally he brings a copy to me so that I
can import some of his data into my Access 2003 database. For years he
has done this with no problems by bringing his copy on a CD.

However, last week he put his database onto a memory stick and brought
it to me. When I try to open the database, I get the error "The Visual
Basic for Applications project in the database is corrupt".

If I click ok, the main form seems to open ok, but I can do nothing with
it. Even if I go to the database window and try to open a table, it
crashes Access with no error.

He has tried this on two memory sticks now, and gets the same error. He
has also tried it with all 4 USB ports on his p/c. His memory stick is
Integral USB 2.0 1GB. His p/c is probably about 5 years old.

Can anybody suggest what might be happening here?

Thanks for any help

Colin
I too have had problems with opening ms access databases on a memory
stick. The database becomes corrupt unless I copy it to my hard drive
prior to opening it. This doesn't happen every time, but enough times to
get aggravating. I've just resigned myself to not attempting to run a
database while it is on a memory stick.
Jan 8 '08 #5
On Tue, 8 Jan 2008 00:36:05 -0800 (PST), Bobby
<bo****@blueyonder.co.ukwrote:

You mean neither of you installs Microsoft Updates (which include
service packs) on a regular basis? <Shudder>.

-Tom.

>On 8 Jan, 02:07, "Tony Toews [MVP]" <tto...@telusplanet.netwrote:
>Bobby <bob...@blueyonder.co.ukwrote:
>I'm not 100% sure that this is an Access problem. A friend of mine has
an Access 2003 database. Occasionally he brings a copy to me so that I
can import some of his data into my Access 2003 database. For years he
has done this with no problems by bringing his copy on a CD.
>However, last week he put his database onto a memory stick and brought
it to me. When I try to open the database, I get the error "The Visual
Basic for Applications project in the database is corrupt".

Are you running A2003? *Is this an MDE or MDB? * Is he on SP3 and you are on SP2 or
different? *

There is an interesting problem in A2007 where A2007 with no SP can't execute an MDE
created in A2007 SP1.

Tony

--
Tony Toews, Microsoft Access MVP
* *Please respond only in the newsgroups so that others can
read the entire thread of messages.
* *Microsoft Access Links, Hints, Tips & Accounting Systems athttp://www.granite.ab.ca/accsmstr.htm
* *Tony's Microsoft Access Blog -http://msmvps.com/blogs/access/

We both use Access 2003, and it is a mdb. I'm not sure what service
pack he is on. I'll try to find out later. The odd thing is that we
have been operating in this way for a few years, with no problems.
He's not very technical, and assures me that nothing has changed on
his p/c recently. I've installed nothing on mine for a few months.

Could it be a problem with compatability between his memory stick and
P/C? His p/c is about 5 years old.

Thanks

Colin
Jan 8 '08 #6
Bobby <bo****@blueyonder.co.ukwrote in
news:43**********************************@m34g2000 hsf.googlegroups.co
m:
However, last week he put his database onto a memory stick and
brought it to me. When I try to open the database, I get the error
"The Visual Basic for Applications project in the database is
corrupt".
Were the memory sticks properly ejected before removal from the PC?
If not, that would explain the corruption.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Jan 8 '08 #7

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

Similar topics

3
by: Test Test | last post by:
Hi, group! Here is some interesting problem: Our company has developed a large VB6 application that runs very smoothly on most environments. However, all of a sudden one of our customers...
6
by: Andreas Lauffer | last post by:
I changed from Access97 to AccessXP and I have immense performance problems. Details: - Access XP MDB with Jet 4.0 ( no ADP-Project ) - Linked Tables to SQL-Server 2000 over ODBC I used...
13
by: Noesis Strategy | last post by:
When I ordered my new laptop, Sony didn't offer Access 2003 in its bundles. Recently, I have begun to design Access databases using an copy of Access 2002 from my previous laptop. It works fine,...
37
by: Patrik Huber | last post by:
Hello! I got the following Code in Assembler (NASM), which prints out "5" in realmode: mov ax, 0xB800 mov es, ax mov byte , '5' I want to do the same in gcc now, but I'm stuck. GCC...
3
by: Farooq Khan | last post by:
why does Response.Write in a method of code-beind class when called from inpage code (i.e in <%---%>), after creating object of that class, fails when called while it works perfectly ok while...
1
by: Gene Hubert | last post by:
I'm looking to use a datagrid in an odd way and not making a lot of progress. I want to read in a text file and then allow a user to arbitraily divide the data into columns. I thought I might be...
7
by: brett.estabrook | last post by:
I have written a multi-threaded c# windows service in .net 1.1 (Visual Studio .net 2003). The service has several threads that poll a Sql 6.5 database on another machine. Each thread will execute a...
1
by: Co | last post by:
Hi All, I use a database that copies records to a second database (both 97) that is present on a memory stick. After I have done my code I want to remove the memory stick and use it in another...
2
by: rudeman76 | last post by:
Hey, I am having a problem when i try to edit or use the movelast in a recordset. What i am trying to do is that when a user starts, they enter in a password on a password form. From here (in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
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...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...
0
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...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.