iccsi said:
My application is MS Access icon.
I just wanted to know may I have my own icon for my application?
This might give you some ideas:
Sub SetAppIcon()
Dim prp As Property
On Error Resume Next
With DBEngine(0)(0).Containers!Databases.Documents!MSysDb
.Properties("AppIcon") = "D:\path\file.ICO"
If Error.number = 3270 Then
Set prp = .CreateProperty("AppIcon", dbText, _
"D:\path\file.ICO")
.Properties.Append prp
Set prp = Nothing
End If
.Properties("AppTitle") = "Some title string"
If Error.number = 3270 Then
Set prp = .CreateProperty("AppTitle", dbText,_
"Some title string")
.Properties.Append prp
Set prp = Nothing
End If
RefreshTitleBar
End With
End Sub