Re: Still Getting Runtime Error Message

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Chaplain Doug (anonymous_at_discussions.microsoft.com)
Date: 08/03/04


Date: Tue, 3 Aug 2004 13:18:45 -0700

To answer your questions and to ask a couple more:

1. I am packaging the .mdb (or at least telling the
package wizard to package the .mdb). I want the user to
have the flexibility to get to the reports, etc. if they
need to. This leads to another question. I will likely
be sending updates to the software (forms, reports,
etc.). Is there any problem with packagaing the db as a
frontend and backend so that I may jusat send updates to
the frontend? Can this be done if the user does not have
MSAccess on their system (and thus are using the runtime)?

2. I do not know how to set up a virtual PC. However,
my "mule" is a pc that does not have Access installed. I
have other "mules" that have Access 2002 and Access 2003.

3. There are not any references to other MS products
(like Excel, Word, etc.). The only reference to an
external program is to an Adobe PDF file that brings up
Adobe Reader.

>-----Original Message-----
>You as a general rule should put error handling in most
routines. A
>un-handled error in the runtime simply quits ms-access.
>
>(you are using a mde...right?)
>
>As mentioned, the first thing to try is installing ms-
access on that machine
>that fails. And, really, for any software developer you
do need a test mule,
>or even better is something like virtual pc. (virtual pc
is a pc that runs
>"inside" of windows, and thus you can test software
installs).
>
>The first thing you need to check is if you any
references, or automaton
>code (that is code that uses Excel, Word, Outlook etc).
If you use ANY of
>these applications, then you need to use what is called
late binding (this
>means to remove the references you have in tools-
>references to the other
>office programs).
>
>Also, when you say you get a runtime error...is this at
startup, or when you
>use a particular option/feature of your software? Also,
are the installs on
>the problem pc's being done with full admin rights, or
restricted user
>rights?
>
>Also, when you find a pc that fails, then un-install your
software, install
>JUST ms-access (full version), and then try running your
full mdb file (not
>the mde) (of course, don't use the runtime switch). This
will usually let
>you see and trap what the error was.
>
>However, you can NOT even begin to possibility test your
install stuff on
>your developer pc? I mean, I been installing software for
days on end on my
>pc, and it has got just about everything including the
kitchen sink
>installed. If your software needs ANY of the zilling
billion things that
>have been installed on your development pc over time,
then deploying to a
>clean pc will fail due to some dependence you have
on "one needle" in the
>haystack. Thus, as a rule, testing your packaged install
on your development
>pc is a complete waste of time, as it only proves that
you incredible
>development box with all the huge amount of developer
tools allows your
>software to run....and that is not what you want to test
at all! (you learn
>nothing by doing this!). Even doing a test runtime
install on a "mule" pc
>means now that you changed things on that pc from what a
new user will see.
>So, even testing over and over on a test mule is not
good. You need a
>"clean" install of windows each time. (you can use Ghost,
or as mentioned
>even better is Virtual pc, as it has roll back ability).
>
>So, if you use any other part of the office system
(graping, Excel, Word
>etc) with the runtime, then that is the first obvilues
area. Even if you
>don't, then remove all un-necessary references in your
sfotware. Here is
>some reading on this subject:
>
>Allen Browne
>http://users.bigpond.net.au/abrowne1/ser-38.html
>
>Doug Steele:
>http://members.rogers.com/douglas.j.steele/AccessReference
Errors.html
>
>Peter Walker:
>http://www.papwalker.com/dllhell/index-page2.html
>
>
>MsKb Articles: 310803, 208218, 209849, 286300
>
>ACC2000: How Access 2000 Resolves Visual Basic for
Applications References
>http://support.microsoft.com/default.aspx?scid=kb;en-
us;248941
>
>ACC2000: How to Resolve Reference Issues in an Access
Database
>http://support.microsoft.com/default.aspx?scid=kb;en-
us;310803
>
>
>.
>



Relevant Pages

  • Re: Still Getting Runtime Error Message
    ... To Check References, did you go to Modules then Tools References? ... an add in supplied with my developer ed that makes this easy. ... > software, install ... even testing over and over on a test mule is not ...
    (microsoft.public.access.devtoolkits)
  • Re: References basics
    ... that this is REALLY first time out of the box for me and I just don't ... Even if you are able to install the OCX to the proper location, ... If you are using any references ... > I'm building my very first setup package for an Access application. ...
    (microsoft.public.access.devtoolkits)
  • RE: Package Wizard - Installation and registration of components
    ... I have a full version of Visual Studio .NET, which presumably should package ... Just the stuff that the PDW is supposed to do. ... > references and including them in the package (which in the 2000 version was ... > which aren't necessary from the install package makes sense. ...
    (microsoft.public.access.developers.toolkitode)
  • Re: Install Runtime 2002 Without Package?
    ... You need Office Developer to distribute Access Runtime, ... Wizard, 3rd Party installers, install Runtime as a separate step which you can ... > developer had created a package using Office XP Developer. ...
    (microsoft.public.access.setupconfig)
  • Re: Diff btw Developer / EndUser CFs?
    ... > The end user package includes a desktop installer to deploy the relevant ... Those files, intended to update CF on desktop machine ... > deployment scenarios) use the developer install - for example you may ... > redistribute these cab files for an sd card install or similar. ...
    (microsoft.public.dotnet.framework.compactframework)