-
The generated file is located in the root directory of the D drive.
open "d:\" for output as #close #
-
** Below:
open "" for output as #print #1, &"(6 spaces)." &close #
**As follows: dim file1 as new fileinfo("c:\") 'Open a new file.
dim sw as streamwriter= 'Create a write buffer SW for the file
Add characters to the SW buffer.
Write the contents of the buffer to the file.
Turn off the buffer.
-
private sub command1_click()dim d as string
d = "d:\" 'The path to the file to be generated, you can do it yourself.
open d for output as written.
close #
end sub
-
There are three ways to fight:
1. Add a picturebox or imagebox, select the picture attribute in the slag window, and then you can add **, which is the simplest one;
2. The first two types are **join:
option explicit
private sub form_load()= loadpicture("c:\"c: is the ** path.
end sub
3. The third is added through the clipboard, which is more complicated, such as:
option explicit
private sub form_load()end sub
-
VB generates the Naqiao Sail exe file and the method of hail elimination.
-
Simple program, just in"files"menu"Build"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.
Complex procedures are recommended"Packing"After packaging, install it on other computers and use it again. Packaging method--- Open the menu bar "Add-ins" - Add-in Manager, select "Packaging and Wizards", select "Load and Uninstall", and OK. Find "Packaging and Wizard" in the "Add-in Manager", open "Packaging and Wizard", and then package step by step to generate an installer.
You have a lot of calls to vi, and when you generate an exe program, you should be placed in a relative path and saved to the exe installation directory for exe to call. >>>More
Do you know how to get a computer-scanned file?
Recording files can be converted to text using the Transcription Assistant. >>>More
It refers to the path where the current program is located, if the program is not compiled when it is executed, that is, when the program is run in the environment of VB, its current path is in the installation directory of VB, and yours" "There is no need to add a space before it. >>>More
It is caused by insufficient permissions for the DCOM component of Excel, so follow the original steps to set it as follows: >>>More