Is there anyone who writes a single file EXE in VB?

Updated on technology 2024-04-19
8 answers
  1. Anonymous users2024-02-08

    1. Package all resource files (dll, controls, **, etc.) into an installation file.

    The principle is that when VB generates an exe, it first compiles the frm CLS bas file to generate the corresponding obj file, and then generates the project*obj file (which contains the data of resource files such as struct data, program icons, versions, etc., which call windows, classes, controls, etc.) and then call to generate an exe file for these obj, and to make a detached exe, you need to modify the corresponding file, and the project needs to be modifiedobj file to modify the ** of calling dll to calling lib ** The basic principle of this implementation will encounter all kinds of problems, especially the problem of relocation.

  2. Anonymous users2024-02-07

    In most cases, it is not necessary.

    As long as there are no auxiliary files, a single file exe can be run without installation.

  3. Anonymous users2024-02-06

    It depends on what the program is. If there are many functions, a program with only one exe file can also be done.

  4. Anonymous users2024-02-05

    1) Run, create a new standard exe project.

    2) Add the required controls on form1 and write in the writing window.

    3) Press F5** to run the effect.

    4) Save files such as projects and forms.

    5) Click on the File Menu - Generate Project.

    6) Select the save location, confirm the execution, and VB will complete the writing of the executable file.

  5. Anonymous users2024-02-04

    Revision of VB today

    program (vb has not been written

    No matter how you debug it, there is no way to transfer the original. The exe file was updated, and then I looked for a long time on the menu and finally saw that there was a make under the file menu bar

    The item,,I clicked with the attitude of trying it out,,Wow,,Success。。 Happy,,Hey,I regret that I didn't learn English well! Later, I found a person on the Internet who wrote, heh, there is a way to pack, and I hereby collect it together:

    1. A simple program, just make under the file menu

    generated), the generated exe file is ported to another computer along with the database and other external files you want to use, and you're good to go.

    2. Complex programs, it is recommended to use packaging, after packaging, install on other computers and then use. To do this--- open the menu bar Add-in Manager, select Packaging and Wizards, select Load Uninstall, OK. Find the package and wizard in the add-in manager, open the package and wizard, and then package step by step to generate an installer.

  6. Anonymous users2024-02-03

    The first time you build, you change it to,After compiling,Click save again,Then exit VB,The next time you open it, the compilation will default to the name to。 Remember to point save.

  7. Anonymous users2024-02-02

    Point engineering, generate, product life, enter the name you want, and the icon should be made with VC.

  8. Anonymous users2024-02-01

    Just change it when compiling.

Related questions
21 answers2024-04-19

There are a lot of ** on the Internet, search for it yourself.

21 answers2024-04-19

Can you send me a copy? Thank you in advance!

Warcraft began to become an international event in the 90s of the last century, such as WCG, which Sky participated in and won the championship in the past two years, as well as CEG. >>>More

8 answers2024-04-19

It is most effective to do past year questions, don't waste time.

4 answers2024-04-19

Love Apartment from the Stars

Category: Other. >>>More

7 answers2024-04-19

TOEFL, Test of English as a Foreign Language, is an English proficiency test for non-native English speakers conducted by the Educational Testing Service (ETS) around the world. >>>More