473,396 Members | 2,129 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,396 software developers and data experts.

Access Autopilot and Vista

Hi all,

Does anybody know if Autopilot works with Vista?

Thanks for any help,

Emilio
Apr 8 '09 #1
14 1816
Stewart Ross
2,545 Expert Mod 2GB
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
Apr 8 '09 #2
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.
Apr 8 '09 #3
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.
Apr 8 '09 #4
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
Apr 8 '09 #5
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.
Apr 8 '09 #6
@NeoPa
I would take you up on your offer, thanks.

Emilio
Apr 8 '09 #7
Stewart Ross
2,545 Expert Mod 2GB
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
Apr 8 '09 #8
@Stewart Ross Inverness
Thanks a lot, I will try it.
Apr 8 '09 #9
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.
Apr 9 '09 #10
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 :
Expand|Select|Wrap|Line Numbers
  1. REM V: Drive should be available.
  2. REM Make sure it is added if not.
  3. REN V:\Vecta\Imports\Done Done
  4. IF NOT ERRORLEVEL 1 GOTO Cont1
  5. NET USE V: \\STP01NTS003\Vecta
  6.  
  7. :Cont1
  8. CD /D V:\Vecta
  9. IF NOT ERRORLEVEL 1 GOTO Cont2
  10. ECHO Unable to map correct drive.
  11. GOTO EndCmd
  12.  
  13. :Cont2
  14. REM Start Access stuff here.  ;Auto is parameter passed into Access database
  15. REM The AccessPath Environment Variable must be set for this to work.
  16. "%AccessPath%\MSAccess.Exe" V:\Vecta\Vecta.Mdb ;Auto
  17.  
  18. CD Imports
  19. REN Vecta*.Csv *.*
  20. IF NOT ERRORLEVEL 1 GOTO Cont3
  21. ECHO No files to process.
  22. GOTO EndCmd
  23.  
  24. :Cont3
  25. REM WinZip CMDLine must be installed for this to work.
  26. "C:\Program Files\WinZip\WZZip.Exe" -a+ -ex -ybc StatPlusVecta.Zip *.Csv
  27. DEL *.Csv
  28. START "Upload to VectaWeb" /DV:\Vecta\Imports /LOW FTP.Exe -n -s:V:\Vecta\VectaWebDaily.Ftp -w:16384 FTP.Server.com
  29.  
  30. :EndCmd
  31. 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.
Apr 9 '09 #11
NeoPa
32,556 Expert Mod 16PB
Some example code for handling the automatic code within the database :
Expand|Select|Wrap|Line Numbers
  1. Private Sub Form_Open(Cancel As Integer)
  2.   ...
  3.   If Command = "Auto" Then
  4.     'Automatic code follows here
  5.     Cancel = True
  6.     Call Application.Quit(Option:=acQuitSaveNone)
  7.   End If
  8. End Sub
This would be found in the module of the form you set to start automatically within your database.
Apr 9 '09 #12
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
Expand|Select|Wrap|Line Numbers
  1. user name password
  2. binary
  3. lcd V:\Vecta\Imports
  4. cd /COSI/VectaFTP
  5. delete StatPlusVecta-.Zip
  6. rename StatPlusVecta.Zip StatPlusVecta-.Zip
  7. bell on
  8. put StatPlusVecta.Zip
  9. bye
Apr 9 '09 #13
@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
Apr 10 '09 #14
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.
Apr 12 '09 #15

Sign in to post your reply or Sign up for a free account.

Similar topics

1
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...
6
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...
37
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...
6
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...
1
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...
10
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...
10
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...
7
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...
1
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...
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
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:
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...
0
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,...
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
isladogs
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...

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.