M
Michael Scott
Hello
I've been using these newsgroups for some time and find them to be an
invaluable source of information and advice. But now I have a specific
problem that I cannot find an answer to; perhaps someone could point
me in the right direction?
Briefly, I'm involved in the development of a product (written in
Access 2003) that will analyse another Access database, and as part of
that analysis process I need to open the target database in another
instance of Access.
My problem is that I need to use workgroup security and I would also
like to inhibit the security warning that appears when Access starts.
I believe that is is not possible to specify a user and password when
using automation, and that the database must be opened using Shell. I
am thus using Shell to open the target database, with the /wrkgrp, /
user and /pwd options set appropriately. I have found no way of
inhibiting the security warning and am therefore using SendKeys to
send Shift+O after a brief delay. I am then grabbing the instance of
Access just opened by using GetObject.
This works but is quite messy, and I'd like to have Access startup
completely invisibly. I know that I can inhibit the security warning
using automation by means of the AutomationSecurity property of the
Access application, but that automation does not allow the use of
workgroups.
I've been struggling for days with this. Am I missing something
obvious? Does anyone have any suggestions?
Thanks
I've been using these newsgroups for some time and find them to be an
invaluable source of information and advice. But now I have a specific
problem that I cannot find an answer to; perhaps someone could point
me in the right direction?
Briefly, I'm involved in the development of a product (written in
Access 2003) that will analyse another Access database, and as part of
that analysis process I need to open the target database in another
instance of Access.
My problem is that I need to use workgroup security and I would also
like to inhibit the security warning that appears when Access starts.
I believe that is is not possible to specify a user and password when
using automation, and that the database must be opened using Shell. I
am thus using Shell to open the target database, with the /wrkgrp, /
user and /pwd options set appropriately. I have found no way of
inhibiting the security warning and am therefore using SendKeys to
send Shift+O after a brief delay. I am then grabbing the instance of
Access just opened by using GetObject.
This works but is quite messy, and I'd like to have Access startup
completely invisibly. I know that I can inhibit the security warning
using automation by means of the AutomationSecurity property of the
Access application, but that automation does not allow the use of
workgroups.
I've been struggling for days with this. Am I missing something
obvious? Does anyone have any suggestions?
Thanks