473,890 Members | 1,960 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Launching app button to replace corrupt front end

One of my users had a corrupt front end that wouldn't open.

My app is launched using a launching application (logon app). The logon app
has a button for downloading a "fresh" copy of the front end from the server
to the user's PC. I thought that this was a good idea since Access seems
susceptible to corruption.

I told the user to open the logon form and click the "Download" button, which
would then replace the corrupt front end on his PC with a clean front end
from the server. The code uses the FileCopy command.

However, this failed giving the same error message (unrecognizable database
format) as when trying to open the corrupt front end. So now I'm looking at
the "download" code and I realize that the "download" code is opening both
the front end on the server and the front end on the PC to check the version
numbers, before executing the FileCopy command. The idea is to make sure that
an old version doesn't overwrite a new version.

I just want to confirm that it was this attempt to open the corrupt front end,
in code, to check the version number that caused the error message to appear
when the user clicked on the 'Download' button (which is supposed to replace
the user's front end copy with a copy from the server). It seems like the
FileCopy command shouldn't care if the file to be overwritten is corrupt or
not. But, I can't test this as I don't have a corrupt copy of my front end
available to me.

BTW: Is there a way to corrupt a front end (.mde format) so that I can
determine exactly what caused this error to occur when my user clicked on the
'Download' button. Actually, I hope the answer is no since my biggest concern
with Access is the ease with which it corrupts.

Thank you.

--
Message posted via AccessMonster.c om
http://www.accessmonster.com/Uwe/For...ccess/200609/1

Sep 8 '06 #1
3 2213

"rdemyan via AccessMonster.c om" <u6836@uweschre ef in bericht news:65f6f13123 a0f@uwe...

BTW: Is there a way to corrupt a front end (.mde format) so that I can
determine exactly what caused this error to occur when my user clicked on the
'Download' button. Actually, I hope the answer is no since my biggest concern
with Access is the ease with which it corrupts.
Open the mde with Word (or notepad if you like)
Hit the spacebar
Save

Arno R
Sep 8 '06 #2
AARGGH!

That was too easy. Thanks for giving me one more thing to worry about :)

Arno R wrote:
>BTW: Is there a way to corrupt a front end (.mde format) so that I can
determine exactly what caused this error to occur when my user clicked on the
'Download' button. Actually, I hope the answer is no since my biggest concern
with Access is the ease with which it corrupts.

Open the mde with Word (or notepad if you like)
Hit the spacebar
Save

Arno R
--
Message posted via AccessMonster.c om
http://www.accessmonster.com/Uwe/For...ccess/200609/1

Sep 8 '06 #3
I bypassed the version code checking and was able, using the launching app
download button, to successfully download a fresh copy from the server to
replace the copy I just corrupted (using the technique suggested by Arno).

So, at least I know how to solve this problem and am making it relatively
easy for users to replace a corrupt copy of the front end. I guess that's
the best I can do, so I'll stop worrying about it.

Thanks.

rdemyan wrote:
>AARGGH!

That was too easy. Thanks for giving me one more thing to worry about :)
>>BTW: Is there a way to corrupt a front end (.mde format) so that I can
determine exactly what caused this error to occur when my user clicked on the
[quoted text clipped - 6 lines]
>>
Arno R
--
Message posted via AccessMonster.c om
http://www.accessmonster.com/Uwe/For...ccess/200609/1

Sep 8 '06 #4

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

Similar topics

2
3516
by: Matt | last post by:
In the following code, I have 2 questions regarding submit button with image. 1) Does this code <input type="image" name="populate" src="populate.gif"> behave the same as an HTML submit button with image populate.gif? When I click p1 or p2 button, it will post the page to process.asp. 2) When I check the checkbox, I want the image in submit button change from populate.gif to validate.gif. Unfortunately, the code InputForm.p2.src =...
12
9917
by: Corey Burnett | last post by:
I have a client that has a split database (front-end/back-end). They are also using Access security - MDW file. The front end MDE file, the back end MDB file, and the MDW file are all located on a shared folder on the file server. They have two populations of users - local and remote. *ALL* users currently get to the system via a Citrix login. They log in to Citrix and get a Citrix desktop. Then they start the application via a...
0
1283
by: krisa | last post by:
Would appreciate any help on this: I have an A2K frontend/backend application developed & tested on client's "usual" server. Then moved both back and front ends to a different server so application could be used by folks in another department. Weird behavior: When we put the back-end on the different server, then we can't do a compact/repair on the front end, no matter where the front end is (C drive of a PC, new server or old...
9
1540
by: Ant | last post by:
Hi, I'm wondering if anybody can tell me what the Validate document button is used for & how to use it. When I deliberately put some tag in that shouldn't be there, (such as an extra body tag) & use this buton, nothing happens. Can anybody tell me what it's used for? Many thanks for your help Ant
3
2759
by: rdemyan via AccessMonster.com | last post by:
I'm thinking about providing a relatively easy method for users to restore the front end from a backup. The purpose is to allow for restoring if the front end becomes corrupt. Here are some particulars about my app 1) The front end is distributed as a .mde file. 2) Front end uses workgroup security 3) A separate logon form is used to actually launch the front end. 4) My app includes a backup front end form, that backups the front end...
2
5014
by: bobdydd | last post by:
Hi Everybody For Microsoft Access 2000 and above Windows XP I am trying to mimic the action of this command that at the moment runs from the start>>all programs at the bottom left of the screen. "C:\Program Files\Microsoft Office\ART\Office\MSACCESS.EXE" _ /excl /runtime /profile "MYDB" /wrkgrp _
13
2701
by: Owen Jenkins | last post by:
Following on from an earlier post... I can reliably corrupt a record by doing the following ... Open two separate but identical front ends on one PC each linking to the same back end. Edit a records in one front end and leave it unsaved. Edit the same record in the other front end and save the change. Save the change in the first front end - this pops up the Write Conflict message to which I click Save.
5
3215
by: BA | last post by:
Hi there I am trying to write an "application" in Access 2000, that displays a front end and allows the user to interact with the database without seeing Access loaded, in the background, nor on the taskbar. When I click on the generate report button, from the front-end's form, no report/query is displayed. However, if i disable the code that "hides" Access, the reports and queries work perfectly. How do I get this functionality...
1
2862
by: anonymous | last post by:
Hello, wasn't quite sure where to ask this.... I have a coolermaster xcraft external hard drive case. It has a button on the front that performs an action when you install some program in windows. I was wondering whether it is possible to monitor the usb port to detect the signal this button sends. Basically i just want ot be able to have the same functionality in linux.
0
9976
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
9814
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,...
0
11214
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10903
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
9616
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
7158
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
5834
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4659
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
3
3266
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.