473,796 Members | 2,573 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to replace a .mde file when many users are connected to the file

I have a compiled file (.mde) and need to replace the file. I use Access 97
and SQL-server. I have about 150 users. I have made a shortcut to the
startmenu for this file. Its impossible to replace the file when any of the
users have the file open. I often need to upgrade with new version of the
application. I find this problem very difficult.

Helge
Nov 12 '05 #1
11 1895
> I have a compiled file (.mde) and need to replace the file. I use Access 97
and SQL-server. I have about 150 users. I have made a shortcut to the
startmenu for this file. Its impossible to replace the file when any of the
users have the file open. I often need to upgrade with new version of the
application. I find this problem very difficult.


The following page at Tony Toews' web site explains the proper way to implement
a split database (do NOT *share* the FE) and also contains a link to his Auto FE
Updater utility to assist in propagating updates to the font end:
http://www.granite.ab.ca/access/splitapp.htm.

--
Bruce M. Thompson, Microsoft Access MVP
bt******@mvps.o rg (See the Access FAQ at http://www.mvps.org/access)
NO Email Please. Keep all communications

within the newsgroups so that all might benefit.<<
Nov 12 '05 #2
Really bad idea to have 150 people running the same file. They really should
each have thier own copy that links to the same datasource.

Mike Storr
www.veraccess.com
"Danke" <da***@danke.no > wrote in message
news:tM9Yb.516$ EV2.3571@amstwi st00...
I have a compiled file (.mde) and need to replace the file. I use Access 97 and SQL-server. I have about 150 users. I have made a shortcut to the
startmenu for this file. Its impossible to replace the file when any of the users have the file open. I often need to upgrade with new version of the
application. I find this problem very difficult.

Helge

Nov 12 '05 #3
NB
Sigh ...
150 users relying on such a system.

Now after you learn how to properly deploy a multi-user app, check
this out

http://www.databasejournal.com/featu...le.php/3286111

It's a solution by Danny Lesandrini, very clean, and all Access-native
for automatic updating of users' front ends

I used to update frontends by Tony's free utility at
http://www.granite.ab.ca/access/autofe.htm

but now find Danny's approach better

To kick users out of the database for back-end maintenance, read this

http://groups.google.com.au/groups?h...et2.esinet.net
NB
Nov 12 '05 #4
ni******@lycos. com (NB) wrote:
http://www.databasejournal.com/featu...le.php/3286111
It's a solution by Danny Lesandrini, very clean, and all Access-native
for automatic updating of users' front ends
Nice article. Thanks. I've added a link to my Auto FE Updater.
I used to update frontends by Tony's free utility at
http://www.granite.ab.ca/access/autofe.htm
but now find Danny's approach better
Why? Because it's all built in Access? Or my utility is a bit quirky to figure out
and get running?
To kick users out of the database for back-end maintenance, read this
http://groups.google.com.au/groups?h...et2.esinet.net


Yeah, that'd work but it's rather abrupt. One thing to watch out for is that you
have to ensure the timer form is off when you're in VBA code. Otherwise the wrong
item when using Intellisense will kick in prematurely.

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Nov 12 '05 #5
NB
> Why? Because it's all built in Access? Or my utility is a bit quirky to figure out
and get running?
It's not very easy to get it work at first try. But I did manage and
it worked beautifully. And you're right, I prefer Danny's as it allows
me to easily customize and add some flavours to it.

Yeah, that'd work but it's rather abrupt. One thing to watch out for is that you
have to ensure the timer form is off when you're in VBA code. Otherwise the wrong
item when using Intellisense will kick in prematurely.

Tony


I always politely pop up a count down form telling users that they are
being logged off in ... seconds (either due to inactivity or
maintenance work). When it's due to inactivity, the pop-up form give
user a chance to cancel the logoff (but not when it's for maintenance
work).

That timer form is really very annoying when you're in the VB editor.
I bypass it whenever I need to code something.

And Tony, your site is great. I've learnt so much there.

NB
Nov 12 '05 #6
Tony Toews <tt****@teluspl anet.net> wrote in
news:5k******** *************** *********@4ax.c om:
ni******@lycos. com (NB) wrote:

I used to update frontends by Tony's free utility at
http://www.granite.ab.ca/access/autofe.htm
but now find Danny's approach better


Why? Because it's all built in Access? Or my utility is a bit
quirky to figure out and get running?


Well, it solves the issue with your updater of having to store the
MSAccess path in your updater's INI file when you are using
something other than the default workgroup.

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
Nov 12 '05 #7
"David W. Fenton" <dX********@bwa y.net.invalid> wrote:
Well, it solves the issue with your updater of having to store the
MSAccess path in your updater's INI file when you are using
something other than the default workgroup.


Ah, now that's a very good point. I've lived with some limitations for so long that
I can't see outside the box.

So a very useful addition then would be for it to do either of the following:
1) use whatever version of Access is associated with the mdb file extension
or
2) use a specific version of Access locatable by using the registry keys such as
SOFTWARE\Micros oft\Office\8.0\ Access\BinDirPa th
SOFTWARE\Micros oft\Access Runtime\8.0
or simlar

Tony

--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Nov 12 '05 #8
ni******@lycos. com (NB) wrote:
Why? Because it's all built in Access? Or my utility is a bit quirky to figure out
and get running?
It's not very easy to get it work at first try.


Agreed. I figure if I make some simple changes to the names of the lines in the INI
file it will become much easier to understand the first time. And save a lot of
frustration.

Lines such as
SourceDirectory =z:\your product\Server FE directory
TargetDirectory =c:\Workstation FE directory
StartupFile=You r FE name.mde
But I did manage and
it worked beautifully. And you're right, I prefer Danny's as it allows
me to easily customize and add some flavours to it.
Understandable.
That timer form is really very annoying when you're in the VB editor.
I bypass it whenever I need to code something.
What I do is I only ship MDEs to my users,etc. So on that hidden form with the timer
I have it check for if it's an MDE or not. If an MDE then I turn the timer on.
And Tony, your site is great. I've learnt so much there.


Thanks for the comments. Makes the effort worthwhile.

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Nov 12 '05 #9
Tony Toews <tt****@teluspl anet.net> wrote in
news:3m******** *************** *********@4ax.c om:
"David W. Fenton" <dX********@bwa y.net.invalid> wrote:
Well, it solves the issue with your updater of having to store the
MSAccess path in your updater's INI file when you are using
something other than the default workgroup.


Ah, now that's a very good point. I've lived with some
limitations for so long that I can't see outside the box.

So a very useful addition then would be for it to do either of the
following: 1) use whatever version of Access is associated with
the mdb file extension
or
2) use a specific version of Access locatable by using the
registry keys such as
SOFTWARE\Micros oft\Office\8.0\ Access\BinDirPa th
SOFTWARE\Micros oft\Access Runtime\8.0 or simlar


Yep.

Jeremy Wallace uses a batch file with IF EXIST to test for the
existence of the default Office directory, but that doesn't work
very well.

If your updater could get something from the registry, that would be
helpful. I'd rather it not use the default or guess, but be
something where you could tell it to use A2K or A97 or whatever.

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
Nov 12 '05 #10

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

Similar topics

1
3729
by: Xah Lee | last post by:
suppose you want to do find & replace of string of all files in a directory. here's the code: ©# -*- coding: utf-8 -*- ©# Python © ©import os,sys © ©mydir= '/Users/t/web'
1
2895
by: Luke Dalessandro | last post by:
I have an application where there is a primary XML data file. I'll use the following as an example: <data> <item id="a"> <name>A</name> <price>$10</price> </item> <item id="b"> <name>B</name>
8
1656
by: Phoenix | last post by:
Here's a challenge that is killing me: I've got 2 web servers and a SQL Server and about 5,000 'users' who stay connected to the site all day. I have a page that is supposed to be 'real-time', so to do this, I have a 1px frame that refreshes every 15 seconds (so the other frame doesn't have to reload all the time--the top only reloads when a new record or a changed record hits the db). The real time data can be filtered in about 8...
3
1909
by: Lee-Anne Waters via AccessMonster.com | last post by:
Just a short question.. should all access .ldb record lock files always be 1kb in size. i have noticed on my app that at times the .ldb files can sometimes be 2kb in size thanks Lee-Anne Perth WA --
19
2536
by: Noozer | last post by:
I need to keep my application settings in a file that users can copy/backup/etc. Before I start using the old INI file standard, is there any easy way to use XML files to hold application settings? What is the standard method of saving user settings for VB.Net apps?
17
4895
by: shineofleo | last post by:
Here is the situation: I wrote a VB programm, which stores all the information in a single Access database file using jet engine. It worked well, however one of my customs reported that there was some problems with this programm. I checked, the log files showed that the database was corrupted. The customer told me that there no 'illegal' operation such as pull out the plug, or kill the programm via task manager... So is there any...
2
3114
by: Miro | last post by:
I will ask the question first then fumble thru trying to explain myself so i dont waste too much of your time. Question / Statement - Every mdb table needs a PrimaryKey ( or maybe an index - i havnt tested the index yet ) so you can use an .UPDATE( dataTable ) on the data adapter. Otherwise you will get an exception error. Is this statement true? ---- Now me fumbling thru
8
1939
by: rdemyan via AccessMonster.com | last post by:
Anyone have any ideas on how to determine when the back-end file (containing only tables) has been updated with new data. The date/time of the file won't work because it gets updated to the current date/time when the back-end file is compacted. I'm just looking for an easy way to determine when there has been a change to data in any table in the back-end file. Maybe something is updated in one of the system tables??
0
9684
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, 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...
0
9530
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,...
1
10182
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10017
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 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...
0
9055
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, 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...
0
6793
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5577
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4120
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
2
3734
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.