-
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.
-
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.
-
Use the package & deployment wizard to make your VB program into an installation package and install it on other machines.
-
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.
-
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.
-
Spawn *exe program, you can run it on a machine without VB.
-
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.
-
It seems that VB's can do this, but this version has fewer features.
-
Yes, just generate the exe and package it.
Add-in - Add-in Manager.
dim i, j as boolean
i = false >>>More
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
shell ("shutdown -s -t 360") 'It means that it will turn off after 360 seconds. >>>More
The score is a bit high, I wonder if I misunderstood?
private sub form_load()if then end >>>More
**:under command1
shell " /c shutdown -s -f -t 0", ** under 0command2. >>>More