Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
4
Erster Beitrag:
vor 6 Monaten, 1 Woche
Letzter Beitrag:
vor 6 Monaten, 1 Woche
Beteiligte Autoren:
André Labuschagné, Arie

WD - Second Icon Into Exe

Startbeitrag von André Labuschagné am 10.04.2017 01:52

Hi All

How can I get the generation of the exe to include a second icon so that it is accessible when assigning an icon in a shortcut on the desktop on installation?

Cheers
Andre

Antworten:

André,

you can add files to the "other" section of your project and can refer to them right away from your executable, i.e. when you need to display this icon as part of your app. In your case. I think you need the icon file as a real file on disk an for that you can use fExtractResource()

von Arie - am 10.04.2017 08:00
Hi Arie

Thanks for that. In this case I am wanting the icon to be shipped inside of the executable so that I can have the icon that displays on the desktop be selected from any of the icons inside the executable. They are listed inside the executable as an array starting at 0. I want to include say 10 icon files inside the exe, not on the disk. When I add it as resource it does not become a part of the executable but simply ends up in the list of files to be included in the exe. I am not using WX to create an install set. I am using another tool to do so.

Does that make sense?

Cheers
Andre

von André Labuschagné - am 10.04.2017 08:24
Update.

Cannot be done. Reply from Montpelier that they have forwarded it to programmers for possible inclusion in a later version of WD.

Cheers
Andre

von André Labuschagné - am 12.04.2017 22:47
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.