Hello,
I'm having a problem that I'm having a lot of trouble with. I'm running
Access XP, with all the updates, including service pack 2. I'm on a Windows
XP machine. I have a database which I'm trying to make into an MDE, and for
every module I have, I get a Microsoft Visual Basic error "Unexpected Error"
(40230). I've tried decompiling, but that doesn't seem to work. Any ideas
would be greatly appreciated. If you are replying to this post, please
remove the caps and underscores from my email address.
Thanks!
RWC 10 4272
If a compact/repair (Tools | Database Utilites) doesn't work, and a
decompile (command line switch) doesn't work, the next step would be to
create a new (blank) database and import all the objects.
Make sure the new database is in Access 2002 format: you will not be able to
generate an MDE from A2000 format.
Before importing your objects into the new database, turn off the Name
AutoCorrect boxes under Tools | Options | General.
After importing, open a code window.
Remove any references you don't need. If you are not sure which ones you
need, see: http://allenbrowne.com/ser-38.html
Then verify that the database compiles correctly. (From a code window: Debug
| Compile). We saw one last week where the compile error showed up only
after the spurious references were removed.
You should now be able to generate the MDE.
--
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.
"RWC" <he************ *************** **@shaw.ca> wrote in message
news:AelIb.8695 88$pl3.851508@p d7tw3no... Hello,
I'm having a problem that I'm having a lot of trouble with. I'm running Access XP, with all the updates, including service pack 2. I'm on a
Windows XP machine. I have a database which I'm trying to make into an MDE, and
for every module I have, I get a Microsoft Visual Basic error "Unexpected
Error" (40230). I've tried decompiling, but that doesn't seem to work. Any
ideas would be greatly appreciated. If you are replying to this post, please remove the caps and underscores from my email address.
"Allen Browne" <Al*********@Se eSig.Invalid> wrote in
news:3f******** **************@ freenews.iinet. net.au: Make sure the new database is in Access 2002 format: you will not be able to generate an MDE from A2000 format.
This can be done with code, but the MDE will run only on machines on which
Access2002 has been installed.
--
Lyle
(for e-mail refer to http://ffdba.com/contacts.htm) Mi************@ Invalid.Com (Lyle Fairfield) wrote in
<Xn************ *******@130.133 .1.4>: "Allen Browne" <Al*********@Se eSig.Invalid> wrote in news:3f******* *************** @freenews.iinet .net.au:
Make sure the new database is in Access 2002 format: you will not be able to generate an MDE from A2000 format.
This can be done with code, but the MDE will run only on machines on which Access2002 has been installed.
By "this" do you mean generating an A2K MDE with A2K2?
And if so, do you mean that an A2K MDE generated by A2K2 is not
really an A2K MDE, that it won't run in A2K?
Assuming I've interpreted correctly, does this mean that:
1. if you're distributing MDEs to a user base with both A2K and
A2K2, you must compile different MDEs for each user base using the
target version of Access, even though your MDB is A2K format and
would run without difficulty on either version.
2. the A2K compatibility of A2K2 does not extend in any fashion to
MDEs.
I can understand why 2) would be the case -- it would certainly be
consistent with earlier versions of Access and MDEs.
This leads me to a 3rd issue, in the form of a question:
3. does an A2K MDE generated from A2K run in A2K2?
--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc dX********@bway .net.invalid (David W. Fenton) wrote in
news:94******** *************** ****@24.168.128 .78: Mi************@ Invalid.Com (Lyle Fairfield) wrote in <Xn*********** ********@130.13 3.1.4>:
"Allen Browne" <Al*********@Se eSig.Invalid> wrote in news:3f****** *************** *@freenews.iine t.net.au:
Make sure the new database is in Access 2002 format: you will not be able to generate an MDE from A2000 format. This can be done with code, but the MDE will run only on machines on which Access2002 has been installed.
By "this" do you mean generating an A2K MDE with A2K2?
I mean an ACXP db in AC2K ffile formet.
And if so, do you mean that an A2K MDE generated by A2K2 is not really an A2K MDE, that it won't run in A2K?
It will run in AC2k (I think) if ACXP is installed on the machine. Assuming I've interpreted correctly, does this mean that:
1. if you're distributing MDEs to a user base with both A2K and A2K2, you must compile different MDEs for each user base using the target version of Access, even though your MDB is A2K format and would run without difficulty on either version.
Yes.
2. the A2K compatibility of A2K2 does not extend in any fashion to MDEs.
Sure, you can run these MDEs in ACXP.
3. does an A2K MDE generated from A2K run in A2K2?
Never tried.
--
Lyle
(for e-mail refer to http://ffdba.com/contacts.htm)
"Lyle Fairfield" <Mi************ @Invalid.Com> wrote... 1. if you're distributing MDEs to a user base with both A2K and A2K2, you must compile different MDEs for each user base using the target version of Access, even though your MDB is A2K format and would run without difficulty on either version. Yes.
This is not actually true. I have made all of my add-ins into MDEs in Access
2000 yet they run fine in both Access 2000 and Access 2002. 2. the A2K compatibility of A2K2 does not extend in any fashion to MDEs.
Sure, you can run these MDEs in ACXP.
Hmmm.... it is the Access 2000 project format and it works perfectly. So it
IS compatible. 3. does an A2K MDE generated from A2K run in A2K2?
Never tried.
I have (see above) and it works just fine.
--
MichKa [MS]
NLS Collation/Locale/Keyboard Development
Globalization Infrastructure and Font Technologies
This posting is provided "AS IS" with
no warranties, and confers no rights. 1. if you're distributing MDEs to a user base with both A2K and A2K2, you must compile different MDEs for each user base using the target version of Access, even though your MDB is A2K format and would run without difficulty on either version.
Yes.
For a user base with both A2k-users and A2k2 (Access XP)-users you only need *one* mde.
This must be a A2k-mde in this case. Works allright with Access XP.
Both A2k-mdb's AND A2k-mde's work in Access XP.
*************** *************** ************
I recently had a case where a A2k-mde would NOT run in Access XP but this turned out
to be a (difficult to find) corruption-issue .
--
Hope this helps
Arno R ar************* ***@tiscali.nl (Arno R) wrote in
<3f************ **********@drea der2.news.tisca li.nl>: > 1. if you're distributing MDEs to a user base with both A2K > and A2K2, you must compile different MDEs for each user base > using the target version of Access, even though your MDB is > A2K format and would run without difficulty on either version.
Yes.
For a user base with both A2k-users and A2k2 (Access XP)-users you only need *one* mde. This must be a A2k-mde in this case. Works allright with Access XP.
Both A2k-mdb's AND A2k-mde's work in Access XP. ************** *************** *************
I recently had a case where a A2k-mde would NOT run in Access XP but this turned out to be a (difficult to find) corruption-issue .
Does it matter if you create the MDE in A2K or A2K2 (using A2K
format)?
That is, an A2K-created MDE will run in A2K2, but will an A2K MDE
created by A2K2 run in A2K?
--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
David,
As far as I know you can not create a A2k-mde in Access XP.
You can use A2K format but then you can't create mde's, Right?
I can only confirm from own experience what I stated about A2k-mde running in A2k2 .
Arno R
"David W. Fenton" <dX********@bwa y.net.invalid> schreef in bericht
news:94******** *************** ****@24.168.128 .78... ar************* ***@tiscali.nl (Arno R) wrote in <3f************ **********@drea der2.news.tisca li.nl>:
> 1. if you're distributing MDEs to a user base with both A2K > and A2K2, you must compile different MDEs for each user base > using the target version of Access, even though your MDB is > A2K format and would run without difficulty on either version.
Yes.
For a user base with both A2k-users and A2k2 (Access XP)-users you only need *one* mde. This must be a A2k-mde in this case. Works allright with Access XP.
Both A2k-mdb's AND A2k-mde's work in Access XP. ************** *************** *************
I recently had a case where a A2k-mde would NOT run in Access XP but this turned out to be a (difficult to find) corruption-issue .
Does it matter if you create the MDE in A2K or A2K2 (using A2K format)?
That is, an A2K-created MDE will run in A2K2, but will an A2K MDE created by A2K2 run in A2K?
-- David W. Fenton http://www.bway.net/~dfenton dfenton at bway dot net http://www.bway.net/~dfassoc
"David W. Fenton" <dX********@bwa y.net.invalid> wrote... Does it matter if you create the MDE in A2K or A2K2 (using A2K format)?
You cannot create an MDE in Access 2002 of a db in Access 2000 format.
That is, an A2K-created MDE will run in A2K2, but will an A2K MDE created by A2K2 run in A2K?
The former will, but the latter is not possible.
--
MichKa [MS]
NLS Collation/Locale/Keyboard Development
Globalization Infrastructure and Font Technologies
This posting is provided "AS IS" with
no warranties, and confers no rights. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Dave |
last post by:
After following Microsofts admonition to reformat my system before doing a
final compilation of my app I got many warnings/errors upon compiling an rtf
file created in word. I used the Help Workshop program: hcw.exe that's
included with Visual Basic. This exact same file compiled perfectly with no
notes, warnings or errors prior to reformatting my system. Prior to the
reformatting, I copied the help.rtf file onto a CD and checked the box to...
|
by: Tom |
last post by:
A question for gui application programmers. . .
I 've got some GUI programs, written in Python/wxPython, and I've got
a help button and a help menu item. Also, I've got a compiled file
made with the microsoft HTML workshop utility, lets call it
c:\path\help.chm. My question is how do you launch it from the GUI?
What logic do I put behind the "help" button, in other words.
I thought it would be
os.spawnv(os.P_DETACH,...
|
by: Sarir Khamsi |
last post by:
Is there a way to get help the way you get it from the Python
interpreter (eg, 'help(dir)' gives help on the 'dir' command) in the
module cmd.Cmd? I know how to add commands and help text to cmd.Cmd
but I would also like to get the man-page-like help for classes and
functions. Does anyone know how to do that? Thanks.
Sarir
|
by: Sudheer Kareem |
last post by:
Dear All
Please tell me how to assosiate help files with my Vb.net
Project.
Regards
Sudheer
|
by: d.warnermurray |
last post by:
I am doing a project for school that involves creating help files for a html
authoring tool.
If you could help me with answers to some questions it would really help.
1. What tasks do you expect an html authoring tool to help you accomplish?
2. What do you expect from online help for a html authoring tool?
3. What audience do you think a freeware html authoring tool is directed
towards?
| |
by: stuart_white_ |
last post by:
I've just upgraded from Python 2.3.3 to Python 2.4.2, and, although the
new version of Python seems to be running correctly, I can't seem
access the help from the interpreter.
On Python 2.3.3
---------------
Python 2.3.3 (#51, Dec 18 2003, 20:22:39)
on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import time
|
by: JJ |
last post by:
Do you all use HTML help workshop to create your help system. I am finding
it quite clumsy to use. Mayeb because I am not used to using it.
Do any of you use any other techniques to create help for your progs? Whats
the current popular approach to creating help?
I am only wanting a straight help file accessible from a menu - no context
sensitive stuff.
TIA
|
by: JJ |
last post by:
Ok I have now got to grips with HTML help workshop and created my help
files, TOC etc.
Now how do I integrate this with my application? I have added an
errorprovider to my form and pointed it to my hhp file, but I am not sure
which is the correct next step.
Specifically my questions are:
1. How do I get the index, table of contents menu items to link to the help
file
|
by: Fred Flintstone |
last post by:
This one baffles me. I'm using VS.Net 2005 and write desktop apps
that need built in help. So logically, I figure maybe VS has a help
system component built in so I search the help.
Hey! Apparently, all I have to do is create a "Help Project"!
There's my starting point. So the VS help says:
"To create a Help project, click on the File menu, choose New and
follow the wizard's instructions"
|
by: trunxnirvana007 |
last post by:
'UPGRADE_WARNING: Array has a new behavior. Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="9B7D5ADD-D8FE-4819-A36C-6DEDAF088CC7"'
'UPGRADE_WARNING: Couldn't resolve default property of object Label. Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="6A50421D-15FE-4896-8A1B-2EC21E9037B2"'
Label = New Object(){Box1, Box2, Box3, Box4, Box5, Box6, Box7, Box8, Box9, Box10, Box11,...
|
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...
| |
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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...
|
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...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |