-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I can not save the document #13
Comments
Can you paste the Macro code here or on pastebin and provide the link? Thanks. |
Thanks for the answer http://wklejaj.pl/GYQ9EdyPPAXX command: python exeinvba.py --exe putty.exe --out putty.vb --dest C:\Users\admin\Downloads\MacroMaster\putty.exe http://wklejaj.pl/1XWmDyS9cwXX |
[EDIT]: Another solution to your specific problem, but there is a cap on how large the file can be. Putty should be ok as I have used this to transfer putty before. Your --dest variable should have the backslashes doubled up. Try that and see if it works (e.g C:\\Users\\Public\\Downloads\\test.exe) There is a limit on how large a macro can be. Two parts of the problem:
I will add this to bugfix and see if I can come up with a solution for larger binaries, but things under 1 MB should easily be under the cap. |
Also, the code won't create the directory on the machine the macro is run on. So the destination path will need to exist prior to executing the macro (not sure if that's the case with the second paste or not, but something to keep in mind). If after attempting these workarounds, you are still having issues, please let me know. |
Hi, I added the exeinVBA feature in https://github.com/sevagas/macro_pack (EMBED_EXE template) |
I've been testing with adding the content in chunks to the cells of the excel and then having the Macro read those in and piece the file together that way. Haven't figured out all the bugs yet, but it looks promising. Might be worth a shot for you to try as well as I am swamped with other things and may be some time before I finish. Thanks for the head's up. |
I am looking into another solution, generate multiple VBA modules to avoid the 64k compiled code module size limit. But I face another problem. It seems some base 64 representation is not accepted by VBA, even on very small file. I have no clue why |
It seems some base 64 representation is not accepted by VBA, even on very small file. I have no clue why? not a programmer like you, but i am also searching solution for this from last few days |
Interesting...
…On Mon, Oct 30, 2017 at 11:34 AM, praveenyadav1602 ***@***.*** > wrote:
*It seems some base 64 representation is not accepted by VBA, even on very
small file. I have no clue why?*
not a programmer like you, but i am also searching solution for this from
last few days
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#13 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGWSu31WcWL6DiPKHQVeU74J9nB0S96Qks5sxeyRgaJpZM4LiWhn>
.
|
hello, please help. I did everything so as you wrote.after generating the code macro, and inserting it in a word I can not get it save the document. I tried everything, I do not know what the error. I changed to the Private Sub Document_Open, I have installed pefile, I use VM win7pro 32bit and Microsoft Office 2016.
needs your program
please help
The text was updated successfully, but these errors were encountered: