I'm using the following code:
<Script Language="vbscript" >
Dim objaccess
Set objaccess = CreateObject("Access.Application.8"
objaccess.OpenCurrentDatabase "Reference.mde"
objaccess.visible=True
objaccess.UserControl = True
'objaccess.CloseCurrentDatabase
'set objaccess=Nothing
</Script>
Our system has both Access97 and Access 2002 installed. This seems to work okay except the Access window opens and only has the title bar visible. I've tried the DoCmd.Maximize in the code as well as have the Maximize statement in the autoexec macro.
Is there any other way to decisively force Access97 to open every time and maximize the window? It seems that some computers want to open Access 2002 on occasion regardless.
Thanks
<Script Language="vbscript" >
Dim objaccess
Set objaccess = CreateObject("Access.Application.8"
objaccess.OpenCurrentDatabase "Reference.mde"
objaccess.visible=True
objaccess.UserControl = True
'objaccess.CloseCurrentDatabase
'set objaccess=Nothing
</Script>
Our system has both Access97 and Access 2002 installed. This seems to work okay except the Access window opens and only has the title bar visible. I've tried the DoCmd.Maximize in the code as well as have the Maximize statement in the autoexec macro.
Is there any other way to decisively force Access97 to open every time and maximize the window? It seems that some computers want to open Access 2002 on occasion regardless.
Thanks