There is a VB program that cannot be programmed, and the program written by VB can not be run on a c

Updated on technology 2024-05-26
9 answers
  1. Anonymous users2024-02-11

    Programs written by VB can be run on computers that do not have VB installed.

    1. The program written by VB is compiled first into an exe program.

    2. Package the exe generated by VB and all the required controls. The packaging method that comes with VB is as follows:

    1) Click "Add-in Manager" under the "Add-in" menu.

    2) Select "Packaging and Wizard" (the last item) in the pop-up form, and select "Load and Unload" in the loading behavior, OK.

    3) Click the Add-in menu item again and click Packaging and Wizards.

    4) Click "Package", select "Standard Installation Package", click Next all the time, and finally click "Finish" and "Close".

    5) There will be a folder named "Packages" under the project folder.

    6) Click "", click Next (2), and ask "Would you like to be included in this package?" , click "New Folder" Create a new folder in another location on your computer, click Next, click "Finish", click "Close".

    7) Close the Packaging and Wizard.

    8) In the folder you just created, you will install the program! (Three files: project name.) cab

    3. Finally, take the installer to the computer without VB installed, and install it to use.

  2. Anonymous users2024-02-10

    Produce the exe file of the vb program you wrote, and then copy the entire folder to the computer without vb installed, and run the exe file directly to run.

  3. Anonymous users2024-02-09

    Use the package & deployment wizard to make your VB program into an installation package and install it on other machines.

  4. Anonymous users2024-02-08

    Generate an exe file, copy this exe file to another computer, and you can run it, and you can run it on a computer that does not have VB installed.

  5. Anonymous users2024-02-07

    After generating the EXE file, if your EXE file needs some special OCX controls (not the default controls of VB), then the computer without VB needs to register this control, three ways:

    1.Put the OCX control in the same directory as the exe.

    2.Package the exe file and install it on a computer without vb.3Put the OCX control in the C: Windows System32 directory.

  6. Anonymous users2024-02-06

    Spawn *exe program, you can run it on a machine without VB.

  7. Anonymous users2024-02-05

    Bring it with you, as well as all the OCX controls you use :)

    The function of the control depends on the support of the target system, and generally speaking, as long as it is Windows, there is no problem.

  8. Anonymous users2024-02-04

    It seems that VB's can do this, but this version has fewer features.

  9. Anonymous users2024-02-03

    Yes, just generate the exe and package it.

    Add-in - Add-in Manager.

Related questions
9 answers2024-05-26

dim i, j as boolean

i = false >>>More

18 answers2024-05-26

It's as simple as adding a process to mylog

Add call mylog() to the form load"Launch"Add call mylog() to the form unload"Exit")private sub form_load()call mylog("Launch") >>>More

10 answers2024-05-26

shell ("shutdown -s -t 360") 'It means that it will turn off after 360 seconds. >>>More

11 answers2024-05-26

The score is a bit high, I wonder if I misunderstood?

private sub form_load()if then end >>>More

10 answers2024-05-26

**:under command1

shell " /c shutdown -s -f -t 0", ** under 0command2. >>>More