Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I see my .ico on my executable?

Status
Not open for further replies.

michellq

Programmer
Nov 10, 2000
15
NL
Dear FoxPro users,

Using version 5.0a, I am trying to get my own made icon on the executable.

Via Project -- Project info(Ctrl+J) I do point the icon to the project.
On the project information window I do see the picture.

When I do built an executable the FoxPro icon is still seen on the upper left corner of my executable.

What do I have to do more to get my own picture on the upper left corner of my executable?

Nice regards,

Michelle.
 
Hi Michelle,

Set the property _SCREEN.ICON to your icon.

F.i.

Icon = myicon.ico
Set the property when starting your app _SCREEN.ICON = "myicon.ico"

Nice thing to use is, when you want your forms to use the same icon set the property icon in your baseclass form : mybaseform.icon = "_SCREEN.ICON". So when you change your icon, it is changed in your entire app.

Hope this helps,

Weedz
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top