Hi Marsh,
Thank you for the code. I've slightly changed it and tested. The sub is
running fine but without any results. Any ideas what can be wrong ? I'm using
Access 2003, Windows Xp, if that helps. Here is what I did to your code.
Pardon me if I did something horrible
Sub SetAppIcon()
Dim prp As Property
On Error Resume Next
With DBEngine(0)(0).Containers!Databases.Documents!msysdb
.Properties("AppIcon") = "D:CIS.ICO"
If Error.Number = 3270 Then
Set prp = .CreateProperty("AppIcon", dbText, "D:CIS.ICO")
.Properties.Append prp
Set prp = Nothing
End If
.Properties("AppTitle") = "Test App Title" & vbTab & vbTab & _
Format(Date, "mmmm dd, yyyy")
If Error.Number = 3270 Then
Set prp = .CreateProperty("AppTitle", dbText, "Test App Title" & _
vbTab & vbTab & Format(Date, "mmmm dd, yyyy"))
.Properties.Append prp
Set prp = Nothing
End If
RefreshTitleBar
End With
End Sub