473,406 Members | 2,217 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Is this a good/reliable/appropriate method for updating FE's?

I have a split app (BE on server - separate FE on each workstation)
which is being upgraded with various whistles and bells. To upgrade
the FE's I email a small database with an instruction to launch
(rather than detach) it.

This database has an autoexec macro which runs code.

The code is as follows:-

(where fOSUsername is the logon name for Windows NT, code from
http://www.mvps.org/access/api/api0008.htm courtesy Dev Ashish)

Function copynewapp()

Dim Sourcefile, DestinationFile

Call killold
Call fOSUserName
Sourcefile = "H:\Bus Support\TaskTracker.mdb" ' Defines sourcefile
name.
DestinationFile = "C:\WINNT\Profiles\" & fOSUserName & "\Desktop\Task
Tracker.mdb" ' Define targetfile name.
FileCopy Sourcefile, DestinationFile ' Copy source to target.
End Function

Function killold()

On Error GoTo Err_killold
Contains various Kill statements to delete a number of possible
files
including shortcuts relating to app.

Exit_killold:
Exit Function

Err_killold:
Resume Next

End Function

Function fOSUserName()
code from http://www.mvps.org/access/api/api0008.htm courtesy Dev
Ashish

End Function

There is also functionality to prevent database being opened if FE
version is not correct.
Your thoughts and comments are appreciated.
Nov 12 '05 #1
3 1445
Try Windows 2000 Server and above, MSI's. See Microsoft.com or use
Lanovision Prism Deploy to send out the FE file to your users.

pjac
Nov 12 '05 #2
Are you doing much other than copying the version on the server to the PC? I
might be missing something...

I do this chore with batch files. There are a couple of pages on my method
in the Developers' section of my website. The basic notion is that I check
to see if the user has the latest version and if not I copy a new one from
the server to the PC. Works quite well in my environments.

Jeremy

--
Jeremy Wallace
AlphaBet City Dataworks
http://www.ABCDataworks.com
"David Mitchell" <da**************@talk21.com> wrote in message
news:c3**************************@posting.google.c om...
I have a split app (BE on server - separate FE on each workstation)
which is being upgraded with various whistles and bells. To upgrade
the FE's I email a small database with an instruction to launch
(rather than detach) it.

This database has an autoexec macro which runs code.

The code is as follows:-

(where fOSUsername is the logon name for Windows NT, code from
http://www.mvps.org/access/api/api0008.htm courtesy Dev Ashish)

Function copynewapp()

Dim Sourcefile, DestinationFile

Call killold
Call fOSUserName
Sourcefile = "H:\Bus Support\TaskTracker.mdb" ' Defines sourcefile
name.
DestinationFile = "C:\WINNT\Profiles\" & fOSUserName & "\Desktop\Task
Tracker.mdb" ' Define targetfile name.
FileCopy Sourcefile, DestinationFile ' Copy source to target.
End Function

Function killold()

On Error GoTo Err_killold
Contains various Kill statements to delete a number of possible
files
including shortcuts relating to app.

Exit_killold:
Exit Function

Err_killold:
Resume Next

End Function

Function fOSUserName()
code from http://www.mvps.org/access/api/api0008.htm courtesy Dev
Ashish

End Function

There is also functionality to prevent database being opened if FE
version is not correct.
Your thoughts and comments are appreciated.

Nov 12 '05 #3
Tony has free updater that works by checking the date. It is all automatic,
and does not require you to modify, or even check version numbers.

Check out:
http://www.granite.ab.ca/access/autofe.htm

--
Albert D. Kallal (MVP)
Edmonton, Alberta Canada
No************@msn.com
http://www.attcanada.net/~kallal.msn
Nov 12 '05 #4

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

Similar topics

0
by: Jack | last post by:
Hi, I'm looking for a RELIABLE Activex button to use in my app developed in VB6 and for now I found these 2 buttons: SMButton v2.5 from www.station-media.com STFButton/ATL v1.5 from...
30
by: Christian Seberino | last post by:
How does Ruby compare to Python?? How good is DESIGN of Ruby compared to Python? Python's design is godly. I'm wondering if Ruby's is godly too. I've heard it has solid OOP design but then...
28
by: David MacQuigg | last post by:
I'm concerned that with all the focus on obj$func binding, &closures, and other not-so-pretty details of Prothon, that we are missing what is really good - the simplification of classes. There are...
29
by: Cheng Mo | last post by:
Recently I happens to read some sourcecode which has different style from my previous experience. In this style, all functions return a RETURN_TYPE_T which is defined as typedef unsigned int...
14
by: WindAndWaves | last post by:
Hi Gurus I have been working on a rather sophisticated update procedure for FEs of my application that are spread throughout the country. Now, I recently thought: WHAT IF I identify all the...
2
by: phil03 | last post by:
Hi, I'm looking for some thoughts/guidance about the following scenario. A bit background first.... I have an Access database (BE) which has numerous linked tables connected to our company...
4
by: John Grant | last post by:
If I build a web services today with VS 2005 does it support reliable messaging? If I use WSE 3.0 will it support reliable messaging? If I don’t have reliable messaging can I make a web method...
3
by: Arno R | last post by:
I know that an Access-FE (frontend) can use a BE (backend) from another earlier version. Question: Are there any caveats there when doing so?? Situation: I still have an old Access 2.0 !!...
1
by: Salad | last post by:
If one distributes a front/backend app is there a good practice for refreshing the links? I was thinking that the first time the user enters the app, it could check for any tables. If the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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...
0
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,...

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.