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

Code compiles, mde creation fails

DFS
The .mde creation just sits there, until I click on the blank screen and I
get a (Not Responding) message in the title bar.

The code compiles fine. Other systems of a similar large size compile and
..mde create fine, so I think it's not Access but something in this .mdb.

Any ideas?

Thanks

Dec 13 '05 #1
2 1710

DFS wrote:
The .mde creation just sits there, until I click on the blank screen and I
get a (Not Responding) message in the title bar.

The code compiles fine. Other systems of a similar large size compile and
.mde create fine, so I think it's not Access but something in this .mdb.

Any ideas?

Thanks


Yes. This happened to me also. The reason it happens is when you code
in VBA in access and have Events assigned to controls that don't exist,
or forms that you renamed. Cleaning up your vba code will allow you to
compile into an mde.

For example, In my case, I started out with a button named "button_34"
Which I added an Event "On Click". I then renamed button_34 to
something more meaningful, and added the new "On Click" method. Yet
the old button_34 code was left in the vba source, and hence I could
not create an mde. When I removed the unsused button_34 code, mde
creation worked.

Dec 13 '05 #2
DFS
Karen Hill wrote:
DFS wrote:
The .mde creation just sits there, until I click on the blank screen
and I get a (Not Responding) message in the title bar.

The code compiles fine. Other systems of a similar large size
compile and .mde create fine, so I think it's not Access but
something in this .mdb.

Any ideas?

Thanks


Yes. This happened to me also. The reason it happens is when you
code in VBA in access and have Events assigned to controls that don't
exist, or forms that you renamed. Cleaning up your vba code will
allow you to compile into an mde.

For example, In my case, I started out with a button named
"button_34" Which I added an Event "On Click". I then renamed
button_34 to something more meaningful, and added the new "On Click"
method. Yet the old button_34 code was left in the vba source, and
hence I could not create an mde. When I removed the unsused
button_34 code, mde creation worked.

That did it. I found 4 one-line "orphaned" routines in my main interface.
Deleting them let me create the .mde.

Thanks


Dec 14 '05 #3

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

Similar topics

54
by: Martin Eisenberg | last post by:
Hi, I've written a program that I'd like to hear some opinions on regarding my C++ usage. As a program it's smallish, but on Usenet 300 lines seem a bit much. Do you think it's appropriate to...
1
by: Burton Wilkins | last post by:
Dear Associaties: I asked this question last Friday, and here it is Wednesday and NOBODY has replied. Come on. Help a little. All that I am looking for is 2 lines of code. One of you must...
3
by: Frank | last post by:
Hello, I have as class and when I get wrong data when creating the object (in the 'new' routine) I want to break off the creation of the classObject, so it results in 'nothing' to the creator ....
6
by: Crash | last post by:
C# VS 2003 ..Net Framework V1.1 SP1 SQL Server 2000 SP3 Enterprise Library June 2005 I'm working with some code {not of my creation} that performs the following sequence of actions: - Open...
8
by: Jack | last post by:
Hi, This code I inherited worked under VC7 now fails under VC8 with error: error C2664: 'memcpy' : cannot convert parameter 1 from 'std::_Vector_iterator<_Ty,_Alloc>' to 'void *' vector...
8
by: mastermagrath | last post by:
Hi, I'm about half way through Bruce Eckels thinking in C++ Vol 1. He gives a very short example of how compiler function name decoration helps remove subtle bugs by type-safe linkage. However,...
1
by: dizzy | last post by:
James Kanze wrote: Correct, the char const* uses are very few to worth those versions. Good idea, in my case the code is to be used only on POSIX systems but I'll keep that in mind because...
15
by: colemanj4 | last post by:
Here is what I have so far, it loops while the PW is incorrect, or until cancel is selected. I want it to lock the tables for adds, deletes, and edits when cancel is selected, and if the PW is...
2
by: Arcturus | last post by:
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkh6waMACgkQq5h2IFR18WMFrwCgv/PNAC8FTZCErvc0KHnx0zpC...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: 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
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
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,...
1
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
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...
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,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.