exe

cx_freeze doesn't get installed in python 3.8.0

做~自己de王妃 提交于 2020-03-06 09:52:10
问题 I'm trying to install cx_freeze to convert my python code into an executable. But it always shows the error below. I looked into the problem and found that I should downgrade my python version because there is no cx_freeze that supports Python 3.8. NOTE It turns out that cx_freeze installation on Python 3.8 is possible if you download the development version directly from Git. Using cached https://files.pythonhosted.org/packages/14/74

Executing .exe from Visual Basic 6

余生长醉 提交于 2020-02-28 07:19:17
问题 I'm new to visual basic. I'm trying to execute .exe file from VB. But I'm not getting the output. My .exe is having command line args. Following is my code Private Sub Command1_Click() Shell "D:\FEP\extractFEPData.exe data.txt", vbNormalFocus End Sub In cmd prompt If I give command extractFEPData.exe data.txt It is parsing the file. But in VB after clicking command button nothing happens. Please help me. 回答1: Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" ( _

Executing .exe from Visual Basic 6

*爱你&永不变心* 提交于 2020-02-28 07:19:09
问题 I'm new to visual basic. I'm trying to execute .exe file from VB. But I'm not getting the output. My .exe is having command line args. Following is my code Private Sub Command1_Click() Shell "D:\FEP\extractFEPData.exe data.txt", vbNormalFocus End Sub In cmd prompt If I give command extractFEPData.exe data.txt It is parsing the file. But in VB after clicking command button nothing happens. Please help me. 回答1: Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" ( _

Visual Studio Static Linking for Standalone Exe

笑着哭i 提交于 2020-02-23 03:39:33
问题 I've read multiple posts with regards to this topic, but none of them have enabled me to build a statically linked exe. In my release configuration (x64) I have the following: Configuration Properties -> General : Use of MFC - Use MFC in a Static Library Configuration Properties -> C/C++ -> Code Generation : Runtime Library - Multi-threaded (/MT) Configuration Properties -> Linker -> Command Line : Additional Options - I have all the required Windows libs "kernel32.lib", etc. (as use of MFC

how to call .exe file (made from standalone Simulink model) in .m file?

浪尽此生 提交于 2020-02-06 11:25:19
问题 When I use !mdlname -p file.mat in command window of Matlab I have no errors, but when I use the command in .m file I get error that says that mat file can not be located. I tried to put full path name for file.mat like this !mdlname -p c:\path..\file.mat but I still get error saying mat file can not be found (error reading parameter data from mat-file) I tried using function system in m file and it works but I can't force function system to use file.mat like I can with -p . 回答1: system(['

how to call .exe file (made from standalone Simulink model) in .m file?

血红的双手。 提交于 2020-02-06 11:23:22
问题 When I use !mdlname -p file.mat in command window of Matlab I have no errors, but when I use the command in .m file I get error that says that mat file can not be located. I tried to put full path name for file.mat like this !mdlname -p c:\path..\file.mat but I still get error saying mat file can not be found (error reading parameter data from mat-file) I tried using function system in m file and it works but I can't force function system to use file.mat like I can with -p . 回答1: system(['

Error opening Python .exe files on other Windows computers

孤者浪人 提交于 2020-02-06 08:02:09
问题 I have a Python script that I wrote on my personal Windows computer. It's very, very basic and just shows a tkinter window with a couple labels. I compiled it into an .exe file using pyinstaller with the --onefile option. When I run that .exe file on that same computer, it all works just fine. If I copy the .exe file to a coworker's computer (also Windows), running it causes the command prompt to flash an error quickly. Opening the command prompt and executing it by typing the path, this is

How to execute a bat file inside exe? (exe created using WinRAR sfx)

元气小坏坏 提交于 2020-02-06 07:52:12
问题 I want to create an exe file which includes mysql.msi and java.zip. I have written vbscript to install mysql and extract java file in C: drive. It works fine. Now my problem is: Convert the source folder as exe by using WinRAR sfx option. How can I execute the vbscript or bat file (for executing vbscript) when I click the created exe? Has anybody a solution? 回答1: SFX commands: Setup i.e., Setup = <program> SFX will try to execute after successful extraction. The folder containing extracted

Is it possible to generate an executable (.exe) in a jupyter-notebook?

风格不统一 提交于 2020-02-03 01:55:30
问题 I wrote a code in python using jupyter notebook and i want to generate an executable of the program. 回答1: You can use this code I've written to convert large numbers of .ipynb files into .py files. srcFolder = r'input_folderpath_here' desFolder = r'output_folderpath_here' import os import nbformat from nbconvert import PythonExporter def convertNotebook(notebookPath, modulePath): with open(notebookPath) as fh: nb = nbformat.reads(fh.read(), nbformat.NO_CONVERT) exporter = PythonExporter()

How to Protect an Exe File from Decompilation

谁说胖子不能爱 提交于 2020-01-31 03:50:06
问题 What are the methods for protecting an Exe file from Reverse Engineering.Many Packers are available to pack an exe file.Such an approach is mentioned in http://c-madeeasy.blogspot.com/2011/07/protecting-your-c-programexe-files-from.html Is this method efficient? 回答1: The only good way to prevent a program from being reverse-engineered ("understood") is to revise its structure to essentially force the opponent into understanding Turing Machines. Essentially what you do is: take some problem