Jump to content

File to Base64 String Code Generator v1.20 Build 2020-06-05 (embed your files easily)


UEZ
 Share

Recommended Posts

Hi UEZ (or anyone able to answer me :) )

Your code sounds awesome but I am not able to make it functionnal :(

First I can't run the example that fit to my need -> embed a PNG file to use it in a function. The script calls <Memory.au3> that I can't find out

To sum up, my need is simply use a PNG included in my exe file, and that PNG is called in such function

_Metro_CreateButtonImage($Text,$ImageMap,$Left, $Top, $Width, $Height, $BG_Color = $ButtonBKColor, $Font_Color = $ButtonTextColor, $Font = "Arial", $Fontsize = 10, $FontStyle = 1, $FrameColor = "0xFFFFFF")

 

Any help appreciated

Edited by Ebola57
Link to comment
Share on other sites

  • 4 weeks later...

Hello

I tried to compile with the latest autoit version and scite editor available but it fails during the process with a aut2exe error (see below)

I saw some fixes in the posts before this page.

So I added

#include <WinAPISys.au3>
#include <WinAPISysWin.au3>
#include <WinAPIProc.au3>

Set

Global Const $WH_CBT = 5

And commented out

;~ Global Const $SND_ASYNC = 0x00000001
;~ Global Const $SND_MEMORY = 0x00000004
;~ Global Const $SND_NOSTOP = 0x00000010

But it fails during the compile with a Aut2Exe error

---------------------------
Aut2Exe Error
---------------------------
Error: Unable to add resources.
C:\Users\pdv\AppData\Local\AutoIt v3\Aut2Exe\aut4148.tmp.exe
---------------------------
OK   
---------------------------

I wanted to use this tool to convert blat.dll and try if I could make ik work with that subrogation script and see if I can include a dll in my program.

would there be somebody willing to point me in the right direction?

Beste regards,

Peter

 

Link to comment
Share on other sites

  • Moderators

pdvos,

That error is often caused by your AV thinking that Aut2Exe is acting strangely by trying to amend the resource table of an executable file. Try adding that folder to your AV exceptions list and see if it works then.

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

Ah that might be the case.

UEZ updated the package (ty) and that got rid of the compile errors, I still had the aut2exe issue so I installed it on an empty VM with no AV and was able to compile.

Thank you both for helping me.

 

 

 

Link to comment
Share on other sites

  • 5 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...