G
Guest
A very simple way to start some codes running after an Access database starts
is to write an autoexec macro. The second way is to start access with a batch
file and in it, quote the specifi macro name after the /x switch. All these I
am quite familar with. I can use write NORMAL codes to disable certain Access
menu also.
I am quite happy to employ one of these methods to achieve what I want to
do. But problem is: in front of me I need to work with a mdb file designed by
others. When I double-click it, a form is opened automatically. However, I
couldn't find a autoexec macro in it. If I press the shift key to start the
mdb file, I can write a dummy macro and name it "autoexec" without a problem.
The start up function (written by someone) hides the view menu (one way to
disable switching to form design view) , hides the database window, and hide
the tools menu etc.
Does someone know how these could be achieved without putting codes under a
macro?
I don't have any clue now. But if I open up the Visual basic editor (after
disabling the macro) I found the project contains references to acwztools.mde
and acwzmain.mde, which I am unfamilar with. Both acwztools and acwzmain are
shown as part of the project when viewed under the project explorer window. I
do some research on acwzmain & acwzmain but no help. Can someone enlighten me?
is to write an autoexec macro. The second way is to start access with a batch
file and in it, quote the specifi macro name after the /x switch. All these I
am quite familar with. I can use write NORMAL codes to disable certain Access
menu also.
I am quite happy to employ one of these methods to achieve what I want to
do. But problem is: in front of me I need to work with a mdb file designed by
others. When I double-click it, a form is opened automatically. However, I
couldn't find a autoexec macro in it. If I press the shift key to start the
mdb file, I can write a dummy macro and name it "autoexec" without a problem.
The start up function (written by someone) hides the view menu (one way to
disable switching to form design view) , hides the database window, and hide
the tools menu etc.
Does someone know how these could be achieved without putting codes under a
macro?
I don't have any clue now. But if I open up the Visual basic editor (after
disabling the macro) I found the project contains references to acwztools.mde
and acwzmain.mde, which I am unfamilar with. Both acwztools and acwzmain are
shown as part of the project when viewed under the project explorer window. I
do some research on acwzmain & acwzmain but no help. Can someone enlighten me?