-
How to package the written software:
1. Open the IDE, load your project, and 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 Wizard".
4. Click "Package", select "Standard Installation Package", click Next, and finally click "Finish" and "Close".
5. At this time, there will be a folder named "Packages" under your project folder.
6. Click "", click Next (2), and ask "Do you want to use this package?" , click New Folder
Create a new folder in another location on your computer, click Next, click "Finish", and click "Close".
7. Close the "Packaging and Wizard".
8. Under the folder just created is the installer! (Three files: project name.) cab
Note: If it prompts "Reboot Required" when installing on other machines, it is usually the resource path referenced in your program is incorrect, please use the equal absolute path, if it doesn't work, it may be some. For other reasons, such as incompatible or non-existent dll file versions, please load all the libraries you use when packaging.
-
For example, if you use VB6 to do the printing program, you need to add socks and fingers, and you need to use a third-party tool, and the installation file you give someone else should include.
2. Use the VB6 installation maker to make the installation package, and the lst file is an installation information file, cab file and lst file generated by the VB6 installation maker: setup.
You can open it with a notepad, and if you want to make it into a setup, you seem to have asked a total of 3 questions, so let's make it simple. In addition, you need to package some of the things you use in the program to fully install it.
Yes. But you use it. There must be one for .net development, and it can be run without installing VB.
You should be talking about vb6You'd better give them all. Because the cab may be missing files in the folder. You can use the RAR package to make a self-extracting file.
Change the setup folder to the name of your program, compress it with rar or something, and give it to someone else.
If you want to install it, just give it to him.
Put all the files in the packaging directory together into a new package, which can be directly typed into an exe installation package.
There is a disadvantage of the vb6 packager, to run the installation package, the calculator must be higher than the current computer operating system version, often choose a lower version of the operating system when packing, such as packaging under XP, it cannot be installed under 2000 and 2002.
Just compress all the dll, ocx, and exe in the current directory together, don't ole*dll, what other lst, ddf, tlb, setup* files are not needed, the system only needs these files to run, if the application does not find any dynamic connection library, you can dll alone, fixed decompression location to windows system32, application and database separately decompress in another directory. I'm not familiar with rar and don't know if I can create a desktop icon.
Use this, I'm running into this issue as well.
Because the program generated by the packaging tool that comes with VB is not always satisfactory, so I found this on the Internet, and I used it to deserve well, although the packaged program is not the kind that can be installed, but you can package the required activex into it.
There are usually two reasons why the installation file is unsuccessful:1System compatibility issues (Solution: Select the installation file at runtime, right-click to set it to run in compatible form); 2.The installation file is corrupted (workaround: re-corrupt the file). >>>More
It should be the declaration of a control on your form twice, for example, you have changed the name of a control first, and double-click on the control to bring up a private sub. ', and then you change the name of the event under that control in the original program, and I ran into this problem.
private sub mshfgrid_click()
end sub >>>More
It's pretty big, but if you're a beginner, it's nothing, and it's going to change quickly at the beginning.
1.You may be missing the database connection statement of adodC1, and only the SQL statement. >>>More