当您按下VB.NET按钮时,如何在运行时提取或生成exe文件 [英] How do you extract or build exe file during run time when you press the button VB.NET

查看:89
本文介绍了当您按下VB.NET按钮时,如何在运行时提取或生成exe文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要用户在形式上编辑某些东西,当他点击按钮时制作新的

.exe文件

与旧版本相同但是新编辑是它是用户



喜欢:当用户更改它时的backcolor颜色并点击按钮bulid new与新形式相同的新形式在运行时的新形式



PLZ帮帮我



我尝试过的事情:



如何工作我怎么也不知道怎么开始

i need to user edit on some thing in form and when he click button make new
.exe file
the same of old one but with new edit was do it the user

like : backcolor color when user change it and click on button bulid new the same of old form with new backcolor in new form on "runtime"

plz help me

What I have tried:

how its work i dont have any idea how started

推荐答案

你需要修改应用程序的源代码,保存修改后的源文件,并调用构建系统重新编译并构建它。一个更容易的解决方案是允许用户对属性进行更改,然后将其保存在配置文件中。当您的应用程序启动时,您加载相应的配置文件并从保存的值中设置所有属性。
You would need to modify the source of the application, save the modified source in a file, and call the build system to re-compile and build it. A much easier solution would be to allow the user to make alterations to properties that you then save in a config file. When your application starts you load the appropriate config file and set all properties from the saved values.


这篇关于当您按下VB.NET按钮时,如何在运行时提取或生成exe文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆