"start msaccess envforms.mdb /runtime" works only with office 97

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

"start msaccess envforms.mdb /runtime" works only with office 97
installed. Uninstall office 97 after that will leave it working as well.
However, if office 97 is never installed, "start msaccess envforms.mdb
/runtime" will do nothing. No error message comes out.

Here is code:

copy %1\envforms\envforms.bup %1\envforms\envforms.mdb
start msaccess %1\envforms\envforms.mdb /runtime
exit


The access 97 runtime is with version 97 and date is november 9,2001. The
problem is found on both Win2K and XP.

What is missing in access 97 runtime?

Please help.

Thanks,

JD
 
Are you saying that you have msaccess.exe installed on the machines because
you packaged the runtime version together with your application? See what
happens if you leave out the /runtime. I don't believe it actually applies
to the runtime version: it's intended to let you see what your application
would act like if you were using the runtime.
 
Yes, I packed runtime with Installshield. It is the same when I leave out
/runtime. You mean we should not pack runtime at all? just ask user to
install office 7?

I know there are versions of msaccess.exe. However, it happens on PCs with
one version and two versions as well.

Thanks.
 
Ask user to install a full access 97 can not be the suolution. So please help
to make runtime work.

Thanks,
JD
 
JD said:
Ask user to install a full access 97 can not be the suolution. So
please help to make runtime work.

When you enter a command like..

Start msaccess

....you are in effect, telling Windows to look in its Registry and launch the
program associated with the name "msaccess". My guess is that the runtime
doesn't satisfy this.

You need to supply the full path to where the MSAccess.exe file resides and
then it should work.
 
I tried and still the same. How can I get msaccess.exe to generate error
message?

Thanks,

JD
 
Problem is solved by adding selfreg.dll (Microsoft) to windows\system32.

Thanks a lot anyway.

JD.
 
Is the 97 runtime the ONLY version of Access installed on the target PC?
Assuming one or more versions of Access already exists on the target PC, you
MUST determine the location of the 97RT version of msaccess.exe and use it
as part of your shortcut. Using environmental variables will not work.
The shortcut must take the form:

"full path to msaccess.exe" "path to your.mdb"

Note you may cause problems for your users by installing the runtime if they
already have Access. You should be very knowledgable of issues associated
with installing the Access RT before creating an installer package. Do your
homework.
 
Hi Paul,

Thanks. I fixed the problem with selfreg.dll in system32 even with office
2000 on the system. Do you know why?


JD
 
selfreg.dll appears to be a system file related to office...I have several
versions of it on my system. It is redistributable and should be part of
the installer package. Nevertheless, you should review your installer
package in depth.
 
Back
Top