1. RE: binding an icon to an executable?

Search for "resource file demos" in the archive and see the one by 
Wolf...



Greg Haberek wrote:
> 
> 
> How do i bind an icon to an executable file? I'm using the translator. 
> I'm
> pretty sure its done at compile time, correct? I looked through the 
> source
> files, and found nothing. I think this should be provided in the docs 
> for
> the source. I also think this should be an option in the translator, 
> since
> it's an option in the binder. Such as:
> 
>     ecw myfile.exw -icon:"myicon.ico"
> 
> or at least tell my how to do this!
> 
> ~Greg
> 
>

new topic     » topic index » view message » categorize

2. RE: binding an icon to an executable?

If you are using win32lib, a statement like this sets the program icon 
for the translator and ecw will take care of it for the executable.

setIcon(win,"c:\\euphoria\\lib01\\nray.ico")

new topic     » goto parent     » topic index » view message » categorize

3. RE: binding an icon to an executable?

This should be included in the next version.
It shouldn't be that hard to create that automatically.

Andy Serpa wrote:
> 
> 
> Search for "resource file demos" in the archive and see the one by 
> Wolf...
> 
> 
> Greg Haberek wrote:
> > 
> > 
> > How do i bind an icon to an executable file? I'm using the translator. 
> > I'm
> > pretty sure its done at compile time, correct? I looked through the 
> > source
> > files, and found nothing. I think this should be provided in the docs 
> > for
> > the source. I also think this should be an option in the translator, 
> > since
> > it's an option in the binder. Such as:
> > 
> >     ecw myfile.exw -icon:"myicon.ico"
> > 
> > or at least tell my how to do this!
> > 
> > ~Greg
> > 
> >

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu