[AccessD] A2K: Code Failures on Win 98 Machine

Jim Dettman jimdettman at earthlink.net
Thu May 20 07:11:13 CDT 2004


Darren,

  I didn't read far enough down in your original post.  I'd still double
check the reference stuff, but I don't think that will be the problem from
the sound of what you said.

  Instead, look more towards the Access install itself.  Make sure your up
to date on service packs; Office, JET, and MDAC.

  Also do a quick check for disk errors and sufficient disk space.

  There is nothing really in Access per say that is OS specific.  Code that
runs under one should run under another.  Problems under one OS and not
another is some type of an environment problem either in .DLLs installed or
registry entries.

Jim Dettman
President,
Online Computer Services of WNY, Inc.
(315) 699-3443
jimdettman at earthlink.net

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Darren DICK
Sent: Thursday, May 20, 2004 12:52 AM
To: AccessD List
Subject: [AccessD] A2K: Code Failures on Win 98 Machine


Hello all
I have 2 issues still outstanding with my latest app. On win XP or Win 2000
boxes the
following code snips work fine. All machines are WIN 98 and WIN2000 and
WIN XP boxes (No Win 95 or Win ME) all running Office 2000
In fact the Office 2000 install is off the same MS Office 2000 install
disk - <sigh>
But the code snips fails only on the Win 98 machines

Anyway here is the snip that fails in WIN 98 - but is cool in WIN2000 and
WINXP
strSkinsPath = Left(CurrentDb.Name, Len(CurrentDb.Name) -
Len(Dir(CurrentDb.Name)) - 1) & "\Skins\" & strSelectedSkin & "\"

But of course the "hard coded" following snip below in place of the one
above does work on all OS's
strSkinsPath = "C:\Program Files\TruMan\Skins\" & strSelectedSkin & "\"

Also I am getting failures with the bookmark property in the Win 98 boxes.
Same Access/Office version just different OS

Basically I have a combo box on a student form to use for a search tool.
You pick a student name from the combo on  the footer of the Student Form
Then using .findfirst and .bookmark I can (normally) go to the record.
But it fails on the Win98 boxes and throws me out of the app and on occasion
needs a re-boot.
So to that end - does anyone have any .findfirst and .bookmark code that
works with a WIN 98 box?
Even code to determine .AbsolutePosition would be fine. I can then use
docmd.gotorecord stuff
Many thanks in advance

Darren

--
_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com





More information about the AccessD mailing list