Automatic startup of Access file

  • Thread starter Thread starter Lionel Fridjhon
  • Start date Start date
L

Lionel Fridjhon

I am distributing a CD that has an Access database
together with a large number of supporting image files.

At the moment the user has to find the file Inventory.mdb
and double click to open the database.

Is it possible to have the Access file open automatically
when the CD is inserted into the CD player?

Lionel
 
Yes, take a look at a data CD that does this. You will find an autorun.inf
file in the root directory of the CD. Open this file in a text editor for an
example of how to do this. The line normally points to an application, you
may have to use the Start command to get it to work with a file.
 
Thanks for the tip.
I now have an AUTORUN.INF file that looks like this. It
tries to work, but the statements obviously need tweaking.

[AutoRun]
open=HouseInventory.exe /C
;shell=OpenCD
Shell\OpenCD\ = Start
Shell\OpenCD\Command = HouseInventory.exe

I also found two other autorun statements in the
AUTORUN.INF file, "Autorun.ppc" and "Autorun.alpha".
What are these?

The file I am trying to open is a VB executable file.

Can you help?

Lionel
 
This should give you some information on the autorun.inf file.

http://support.microsoft.com/default.aspx?scid=kb;en-us;818804

The 2 items you mention are probably for NT4 on a Power PC (PPC) or Alpha PC
(Alpha).

--
Wayne Morgan
Microsoft Access MVP


Lionel Fridjhon said:
Thanks for the tip.
I now have an AUTORUN.INF file that looks like this. It
tries to work, but the statements obviously need tweaking.

[AutoRun]
open=HouseInventory.exe /C
;shell=OpenCD
Shell\OpenCD\ = Start
Shell\OpenCD\Command = HouseInventory.exe

I also found two other autorun statements in the
AUTORUN.INF file, "Autorun.ppc" and "Autorun.alpha".
What are these?

The file I am trying to open is a VB executable file.

Can you help?

Lionel

-----Original Message-----
Yes, take a look at a data CD that does this. You will find an autorun.inf
file in the root directory of the CD. Open this file in a text editor for an
example of how to do this. The line normally points to an application, you
may have to use the Start command to get it to work with a file.

--
Wayne Morgan
Microsoft Access MVP





.
 
Back
Top