NeoEdge Icon Change - Forum

Forum Navigation
You need to log in to create posts and topics.

NeoEdge Icon Change

I tried to change the NeoEdge icon using Resource Hacker but the recompiled executable doesn't work. I tried it with the NW.js executable and it worked fine. I don't know... maybe because NeoEdge was compiled with VisualNeo Win with the compress options enabled?

@eduardovolpi I never use compress options to compile VisualNEO Win projects. I don't know why are you having problems.
Anyway I will take a look.

Regards.

I see. I'm probably doing something wrong here.

Hi, @eduardovolpi

Just change this one

 

Uploaded files:
  • You need to login to have access to uploads.

Hi, @eduardovolpi

Sorry, you're right, when you change the icon stops working

 

Uploaded files:
  • You need to login to have access to uploads.

Hi @emmanuel-fernandez

Thanks for helping and yes, that is what happens.

Uploaded files:
  • You need to login to have access to uploads.

@eduardovolpi @emmanuel-fernandez, sorry it seems the executable was compressed. I have recompiled neoEdge and uploaded it to the server. Please download again and let me know if it solves the problem.
Thanks so much!

Thanks @luishp. It still doesn't work. It seems that it is not possible to modify any resource of an executable compiled with VisualNeo Win using programs like Resource Hacker and similar without damaging it.

luishp has reacted to this post.
luishp

Hi @eduardovolpi ,

I have not been able to, but you can create an application in visualneowin that acts as a launcher.

In it you embed in a zip all the files of the application, including the neoedge and the application generated with visualneoweb.

Then you unzip in a temporary directory, and run neoedge from the launcher , so in the launcher you can put the icon you want.

I haven't tried it, but it's the only thing I can think of if you don't have npedge to compile your own neoEdge.exe

Greetings

 

susan and EduardoVolpi have reacted to this post.
susanEduardoVolpi

@eduardovolpi I tested and it works ok, here is a template working demo:

 

 

Uploaded files:
  • You need to login to have access to uploads.
Vadim, fkapnist and EduardoVolpi have reacted to this post.
VadimfkapnistEduardoVolpi

Wow! In fact, it works. Thank you for pointing me to this solution @emmanuel-fernandez !

fkapnist has reacted to this post.
fkapnist

Yes!, and you also maintain additional protection to the application generated with visualneoweb so that they can not alter it ;-)

 

Happy new year!

a better example

Uploaded files:
  • You need to login to have access to uploads.
Vadim has reacted to this post.
Vadim

Thank you for the new example.

Happy New Year!!

HI @luishp, @eduardovolpi There is a better solution!

If luis compiles a new version of NeoEdge.exe with this in the initialize routine:

From the tests I've done, the icon must be a .ico

:Initialize
  .custom icon
  FileExists "[CurrentDir]\img\custom-icon.ico" "[Result]"
  If "[Result]" "=" "true"
     LoadIcon "[CurrentDir]\img\custom-icon.ico" "MainIcon"
  EndIf

 

Darbdenral and EduardoVolpi have reacted to this post.
DarbdenralEduardoVolpi

Very good @emmanuel-fernandezdez !

@emmanuel-fernandez @eduardovolpi

Done! but I have used icon.ico instead of custom-icon.ico.
Please download from the downloads page.

Thank you!

Vadim, emo and EduardoVolpi have reacted to this post.
VadimemoEduardoVolpi