Mark,

Try this:

Use the resource editor to remove resources one at a time from your compiled
app.  Do it until your icon appears.  You ought to find the offending
resource.  When you build your app, try using Delphi's 'build project'
command.  I've had a few projects that have bugs if I don't do 'build all'.

Regards,
Dennis.

> Quoting Dennis Chuah <[EMAIL PROTECTED]>:
>
> > If you extract the icon out to an ICO file, does explorer
> display it?
>
> Yup.
>
> > display it?  It is a 16 or 256 colour icon?  Do you include
> any other
> > resources in your app?
>
> I have string tables defined using the 'stringresource'
> section in several .pas
> files, and I include several .res files in some components
> that include bitmap
> resources.
>
> > What happens if you compiled a blank project using the
> icon?  What do you
> > get?
>
> Going File->New Application; Build All yield'd project1.exe
> with an icon in
> explorer, selecting my .ico file and rebuilding, project1.exe
> now displays my
> icon.
>
> > What do you mean by:
> >
> > > When I go to project options, the icon is there, I tried
> > > selecting another icon but that didn't work.
> >
> > Does it not allow you to select another icon, or was it you selected
> > another icon and that too did not work?
>
> I could select a different .ico file, it would display in the
> project options
> dialog box, it would display on my forms, but not in explorer.
>
> It must be _something_ in my project that's causing this, but
> god only knows
> what it is.  I first encountered this under Delphi 4 (not
> sure when it started
> thou as it was reported by a user) and still occurs under Delphi 5.
>
> Mark
>
> --
> Thou they try, they shall never take me alive.
> --------------------------------------------------------------
> -------------
>     New Zealand Delphi Users group - Delphi List -
> [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
>

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to