Click to See Complete Forum and Search --> : Icons


Harini
August 14th, 2001, 08:24 AM
Hello,

I have created a .ico file with the icon present in the 16x16 size and nothing in the 32x32. Now when I place this in the ImageList and hence upload it to the ToolBar,everything works fine.

But after making the exe, if I run the exe I cannot see any of the icons on the toolbar.
Similarly if I open the project in VB6.0 and open the form into whose toolbar I have placed the icons, the icons are not seen.
If I run it then also icons are not shown.

Now if I maximize the form and run the application with Ctrl+F5 then the icons are shown.

Can any one let me know whats wrong with the icons and how can I over come this problem.



Thanks
Harini

deghost
August 14th, 2001, 03:00 PM
I don't know what's wrong but if you want you can put the icons in the resource file (.res) using the Resource editor

----------
The @host is everywhere!
----------

John G Duffy
August 14th, 2001, 08:00 PM
Make sure you have the ImageList defined to the Toolbar either in the Property page at Design time or setting it at run time with something like

Toolbar1.ImageList = Imagelist1




John G