Can any one see anything wrong with this code, i thought it was right.
VB says that its the +
VB Code:
frmMain.Icon = App.Path + "unlock16.ico"
Printable View
Can any one see anything wrong with this code, i thought it was right.
VB says that its the +
VB Code:
frmMain.Icon = App.Path + "unlock16.ico"
You need to use LoadPicture, the ampersand and the backslash:
VB Code:
frmMain.Icon = LoadPicture(App.Path & "\unlock16.ico")
thanks
You're welcome.