C
CP
Hi, all. I am working with Access 2003 and a VBA application written
by another person which is distributed to multiple users in different
states. In order to bypass the Security Warning gotten with Access
2003, we purchased a digital certificate from Verisign which appeared
to work great. However, when the application is installed on
computers other than mine (the one that actually signed the project)
and the users perform a certain function (attempting to import queries
from other users), they get an error message saying "You have
modified
a signed project. You do not have the correct key to sign this
project. The signature will be discarded". The function continues
correctly BUT the digital signature is removed from the project so the
security warning starts popping up.
I have figured out that this happens when one of the forms in the
project is opened (but isn't visible), a number of properties of the
form and it's objects are set using values from an internal table and
then the form is closed and saved. (DoCmd.Close acForm, <formname>,
acSaveYes). I'm pretty sure this is done so that the basic form can
be reused for other related processes.
My question is: Once the properties have been changed, is there a way
to save the form and its new defaults with a new name and then use
that "new" form during the rest of the process? (It doesn't appear to
stay open very long; it's mainly a way to show the queries that could
be imported and let the users specify which ones they want. )
Alternatively, could I programmatically copy the form before the
properties are changed, apply the same properties to the "new" form,
and then use that one throughout the rest of the process. (The form
is referred to by a string variable so I should be able to assign that
variable to the "new" form).
And my last possibility, and my least favorite, is to create a
separate form for each of the instances that use the generic form, set
all the properties on the form itself, and just call each form when
needed.
(There has been an MS Hotfix for this problem in Excel but I haven't
seen anything about a similar fix for Access. And I'm using a
computer that is MS says is totally updated...)
Sorry for the length of this message but I'm hoping that it gave
someone enough information so he/she can give me some ideas of where
to go from here. Thanks in advance. Carol.
by another person which is distributed to multiple users in different
states. In order to bypass the Security Warning gotten with Access
2003, we purchased a digital certificate from Verisign which appeared
to work great. However, when the application is installed on
computers other than mine (the one that actually signed the project)
and the users perform a certain function (attempting to import queries
from other users), they get an error message saying "You have
modified
a signed project. You do not have the correct key to sign this
project. The signature will be discarded". The function continues
correctly BUT the digital signature is removed from the project so the
security warning starts popping up.
I have figured out that this happens when one of the forms in the
project is opened (but isn't visible), a number of properties of the
form and it's objects are set using values from an internal table and
then the form is closed and saved. (DoCmd.Close acForm, <formname>,
acSaveYes). I'm pretty sure this is done so that the basic form can
be reused for other related processes.
My question is: Once the properties have been changed, is there a way
to save the form and its new defaults with a new name and then use
that "new" form during the rest of the process? (It doesn't appear to
stay open very long; it's mainly a way to show the queries that could
be imported and let the users specify which ones they want. )
Alternatively, could I programmatically copy the form before the
properties are changed, apply the same properties to the "new" form,
and then use that one throughout the rest of the process. (The form
is referred to by a string variable so I should be able to assign that
variable to the "new" form).
And my last possibility, and my least favorite, is to create a
separate form for each of the instances that use the generic form, set
all the properties on the form itself, and just call each form when
needed.
(There has been an MS Hotfix for this problem in Excel but I haven't
seen anything about a similar fix for Access. And I'm using a
computer that is MS says is totally updated...)
Sorry for the length of this message but I'm hoping that it gave
someone enough information so he/she can give me some ideas of where
to go from here. Thanks in advance. Carol.