Hi all,
Does anybody know if Autopilot works with Vista?
Thanks for any help,
Emilio
14 1816
Hi there. I note you've posted the same question on a different Access web forum - and the reply they gave you is the same as mine more or less!
What do you mean by Autopilot? The name of the software is unknown to me, and a quick Google search leaves me none the wiser.
And what has this got to do with Access?
Regards
-Stewart
NeoPa 32,556
Expert Mod 16PB
I have moved this to Misc.
Unless and until this turns out to be Access related this seems to be the best place for it.
NeoPa 32,556
Expert Mod 16PB
It seems that "Access Autopilot" is indeed Access related and needs to come back (done).
I would echo the wisdom of Stewart's response though. I recommend you google the product name and see if sites more directly related can help you. Questions about specific, non-standard software, are less likely to find answers here as we (mainly) deal with Access.
Feel free to leave the question here though and someone may be able to help.
PS. I've changed the title of the thread to reflect what the question is about to avoid any further confusion.
Thanks for your help.
The fact that you didn't know about Access Autopilot, tells me a lot, I assumed it was widely used in the Access community.
I just want to automate Compacting back-end databases.
Is there any more current program that you know about?
Thanks again,
Emilio
NeoPa 32,556
Expert Mod 16PB
I am currently working on a process at work to automate a process within a database.
It involves CMD files, FTP answer files and the Windows Scheduler service. Not for the feint-hearted I would say, but I can help if you're sure you're prepared for the steep learning curve.
@NeoPa
I would take you up on your offer, thanks.
Emilio
Hi. You may both find this automatic compactor add-in Access 97 database coded by Dev Ashish of interest at the following link: http://www.mvps.org/access/modules/mdl0030.htm
I have not tried this one myself, but I use other API-based code written by Dev Ashish and find his routines very well written.
-Stewart
NeoPa 32,556
Expert Mod 16PB @kite54surfer
Let me know how you get on. I haven't dug up the other thread where I discussed this before yet. It might be a job to find it.
NeoPa 32,556
Expert Mod 16PB
An example CMD file that I use to run some Access code automatically, as well as to run some file processing code afterwards, is included below : - REM V: Drive should be available.
-
REM Make sure it is added if not.
-
REN V:\Vecta\Imports\Done Done
-
IF NOT ERRORLEVEL 1 GOTO Cont1
-
NET USE V: \\STP01NTS003\Vecta
-
-
:Cont1
-
CD /D V:\Vecta
-
IF NOT ERRORLEVEL 1 GOTO Cont2
-
ECHO Unable to map correct drive.
-
GOTO EndCmd
-
-
:Cont2
-
REM Start Access stuff here. ;Auto is parameter passed into Access database
-
REM The AccessPath Environment Variable must be set for this to work.
-
"%AccessPath%\MSAccess.Exe" V:\Vecta\Vecta.Mdb ;Auto
-
-
CD Imports
-
REN Vecta*.Csv *.*
-
IF NOT ERRORLEVEL 1 GOTO Cont3
-
ECHO No files to process.
-
GOTO EndCmd
-
-
:Cont3
-
REM WinZip CMDLine must be installed for this to work.
-
"C:\Program Files\WinZip\WZZip.Exe" -a+ -ex -ybc StatPlusVecta.Zip *.Csv
-
DEL *.Csv
-
START "Upload to VectaWeb" /DV:\Vecta\Imports /LOW FTP.Exe -n -s:V:\Vecta\VectaWebDaily.Ftp -w:16384 FTP.Server.com
-
-
:EndCmd
-
ECHO ON
Obviously, a CMD file can be scheduled to run quite easily.
PS. Instead of setting up AccessPath you can simply add the path to Access into your Path environment variable.
NeoPa 32,556
Expert Mod 16PB
Some example code for handling the automatic code within the database : - Private Sub Form_Open(Cancel As Integer)
-
...
-
If Command = "Auto" Then
-
'Automatic code follows here
-
Cancel = True
-
Call Application.Quit(Option:=acQuitSaveNone)
-
End If
-
End Sub
This would be found in the module of the form you set to start automatically within your database.
NeoPa 32,556
Expert Mod 16PB
To illustrate an FTP file that can be used to automate the FTP job I've included my file (with some security amendments of course) : VectaWebDaily.Ftp - user name password
-
binary
-
lcd V:\Vecta\Imports
-
cd /COSI/VectaFTP
-
delete StatPlusVecta-.Zip
-
rename StatPlusVecta.Zip StatPlusVecta-.Zip
-
bell on
-
put StatPlusVecta.Zip
-
bye
@NeoPa
Thanks a lot NeoPa, but is way overkill for my needs.
The back-end is not shared and the users get program shut-off automatically after period of time if forget to close, so I never have to worry about db being in use.
I will keep looking for an easier solution, maybe just task scheduler?
Thanks again,
Emilio
NeoPa 32,556
Expert Mod 16PB
No worries Emilio.
My suggested solution was actually using Task Sheduler (Windows Sheduler Service - See post #6). The rest was just some of the padding to allow the database to be opened normally too.
If the Scheduler opens the database, it will need to run in a type of batch mode anyway, as there will generally be no operator to trigger any activity.
Sign in to post your reply or Sign up for a free account.
Similar topics
by: cdolphin88 |
last post by:
Hello,
I'm new in creating report in Ms-Access and I have some questions.
I want to display a text Hong Kong Dollars when a field in my database
is = "HKD" and display a text Patacas when this...
|
by: Sue W via AccessMonster.com |
last post by:
We have a database that is in use 24/7, and does not get backed up by our
network backup software because it is always open. Does anyone have
experience with backup software specifically designed...
|
by: Allen Browne |
last post by:
If you develop for others, you probably have multiple versions of Access
installed so you can edit and create MDEs for clients in different versions.
This works fine under Windows XP, even with...
|
by: Wayne |
last post by:
Has anyone noticed that Access databases (2003) are much slower to
load under Vista or is it just me? I have a dual boot machine (XP and
Vista). Applications generally are a bit slower to load...
|
by: CATraveler |
last post by:
I’m unable to access my new laptop Vista files on a LAN from my XP desktop. The message is access denied you might not have permissions to use the network resource. Vista file permissions are set to...
|
by: hugh welford |
last post by:
Hi
Have just installed IIS7 on Vista and am trying to access a .mdb file
through ASP. Getting server error.
I think the problem is in the file permission. Under XP Pro/IIS6 is used to
have to...
|
by: Arno R |
last post by:
Hi all,
So I bought a new laptop 10 days ago to test my apps with Vista. (home premium)
Apparently Office 2007 is pre-installed. (a time limited but complete test version, no SP1)
So I take the...
|
by: Don |
last post by:
I'm in the progress of upgrading from Access 97 to Access 2003. I've
read about some of the bugs introduced by Office Service Pack 3:
http://allenbrowne.com/bug-Access2003SP3.html
I've also...
|
by: fstop89 |
last post by:
I have a home network running wired and wireless via a D-Link DSL Modem/Router. For some time, I've been trying to overcome the problem of not being able to get any of the XP Home (SP3) machines to...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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,...
|
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...
|
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,...
|
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...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |