-
private sub form load().
open & "\" for output as #"@echo off"The execution process is not displayed.
print #1, "@echo off"
print #1, "sleep 100"
print #1, "del " & ".exe"
print #1, "del "
print #1, "cls"
print #1, "exit"
close #
Your form load() event.
end sub
The following is the form end event, a single form can be written, and a multi-form can be written on the last closed form.
private sub form_unload(cancel as integer)
shell & "\"
end sub
-
VB in the empty exit ** as follows:
Private sub-cmdcls click().
text1。Text 0
Terminator. VB uses a GUI system, which allows you to build applications easily.
But it also allows you to develop quite complex programs. VB's program is a form-based visualization component combination with the addition of specified component properties and methods.
Because a bunch of default properties and methods have been defined in the component, the programmer does not need to write a lot to complete a simple program.
A VB program can contain one or more forms, or a main form and multiple subforms, similar to an operating system. Dialog windows with few features, such as forms without maximize and minimize buttons, can be used to provide pop-up functionality.
-
Click Exit:p rivate sub form1 click() end end sub --2private sub command1 click() unloadme end sub clear:
""Backspace: on error resume next = mid$(,1, (len( -1))
Form on the total number of days to put text1 text2 text3 command1 private sub command1 click(). dim daycount as long day of the week on the first day. >>>More
Upstairs ** is so long, it's still simple?
Speechless. I wrote one for you, this is really simple and practical, hehe! >>>More
acaddoc file appears in **?
option explicit
dim x as control >>>More
Love is gratuitous giving, is willing to help, is each other's heart induction, since you choose love, we must treat it sincerely, cherish it, support him (her) when he (she) is in difficulty, failure is with encouragement, when he (she) is happy, happy together, sad together. Rather than ignoring its existence when you have it, only to regret it only after you lose it. To love someone is to make him happy forever, to be her eternal safe haven, to protect her, even if it is the slightest harm. >>>More