I can't seem to get this code working, i am trying to change the icon of a form
VB Code:
Private Sub Form_Load() Dim TrayPath As String TrayPath = App.Path + "\ent.ico" End Sub
VB Code:
frmTray.Icon = TrayPath
I also tried:
VB Code:
frmTray.Icon = App.Path + "\ent.ico"
I dont know why but they both give error's.


Reply With Quote
