INI File

davedynamic

Registered User.
Local time
Today, 04:40
Joined
Sep 26, 2001
Messages
18
I have an ini file which performs backups. I want to call this from an access form. Can anyone direct me to the correct site or methods to do this. It appears from my help file this can be done.

I am trying to back up my backend.
 
Ensure none of your back-end tables are connected using something like:
Dim dbs As Database
Set dbs = CurrentDb
dbs.TableDefs.DELETE "tblbackend"

Then launch your file using something like:
(this launches Excel, you'll need to launch something which understands your ini file)
strExcelPath = "C:\Program Files\Microsoft Office\Office\Excel.exe"
strExcelFile = "l:\lr\current\template.xls"
Shell pathname:=strExcelPath & " " & Chr(34) & strExcelFile & Chr(34), windowstyle:=vbMaximizedFocus
 

Users who are viewing this thread

Back
Top Bottom