N
Niels
Hello folks,
i have set the startup-property "AllowBuiltinToolbars" to
false to avoid displays this toolbar at my Access 2000
Application. I get problems with this by printing a report
from the report-preview, because the toolbar is not
availible.
I found this code to change the property by code, but it
works only after restarting the Application. There was not
effect to my running application. :-(
Public Sub ChangeProperty()
Dim db As DAO.Database
Dim prp As DAO.Property
On Error Resume Next
Set db = CurrentDb
db.Properties.Delete "AllowBuiltinToolbars"
Set prp = db.CreateProperty("AllowBuiltinToolbars",
dbboolean, true, true)
db.Properties.Append prp
Set prp = Nothing
Set db = Nothing
End Sub
Is there any possibility to change the value of this
property at runtime? How?
Thank in advance for any help.
Niels
i have set the startup-property "AllowBuiltinToolbars" to
false to avoid displays this toolbar at my Access 2000
Application. I get problems with this by printing a report
from the report-preview, because the toolbar is not
availible.
I found this code to change the property by code, but it
works only after restarting the Application. There was not
effect to my running application. :-(
Public Sub ChangeProperty()
Dim db As DAO.Database
Dim prp As DAO.Property
On Error Resume Next
Set db = CurrentDb
db.Properties.Delete "AllowBuiltinToolbars"
Set prp = db.CreateProperty("AllowBuiltinToolbars",
dbboolean, true, true)
db.Properties.Append prp
Set prp = Nothing
Set db = Nothing
End Sub
Is there any possibility to change the value of this
property at runtime? How?
Thank in advance for any help.
Niels