VB's way!

zhaozj2021-02-17  47

-------------------------------------------------- ----------------------------- VB! --------- Posted 2002-5-10-20: 53: 03 - From 211.93.37.7 - Rickey Pillage

The master explains VB for a group of beginners. Beginners asked: "Is VB easy to learn?" Master represented: "Yes." Beginner asked: "Is VB structure is very simple?" Master represented: "Yes." The beginner asked again. : "Is the VB program very slow?" Master coughed: "Hey, talk about it today."

Internal articles

1. Master is said: "If someone is clear, you can avoid unnecessary troubles; if the variables are clear, you can avoid unnecessary errors." 2, the master went to visit another master, Every variable and control are carefully asked for others. The masters disciplined in the side: "Who said the master knows VB?" Master answered: "I do itself in line with VB." 3, Master said: "Unless it is necessary, do not use non-Intel processor Unless it is necessary, do not use non-integer variables. "4, a single-machine programmer asks the master to make the program smaller and faster. Master answered: "There is a tree that is three times in the ground, and the huge tree roots takes the nurse for the tree; the procedure should also use this root." Single-machine programmer asked: "So, how to do?" "Master Answer:" Use 32-bit preemptive task to decompose the program into many ActiveX components; use remote processor to make the remote processor to take a lot of processes. Make your program completely don't do things, this is the highest realm of VB "Single-machine programmer said:" This is what I can't reach! "5, the master said:" Never string copy. "6, the master and the disciples go buffet, experienced disciples directly rush to the favorite Dining, the general disciple is in action in accordance with the tag, and there is no experience, and the disciples are excited. Master said: "For file input and output operations, don't you do?: Excellent programmers use binary access, general programmers use text access methods, and the programmers use random access methods." 7. Master is said: " The signature of the secondary use should be seal; the operations used multiple times should be developed; the attributes used multiple times should be placed in variables. "8, two programmers should adopt a collection or array argument. One of the programmers found the master: "Is the collection not good? I can correct any member." Master answered: "You are correct." Another programmer also found the master: "Is the array not good? I can During order. "Master answered:" You are correct. "The former programmers heard that the master came to Master with another programmer:" Who is our two? "Master answered:" You It is correct. "Two programmers said to others:" Who said the master has learned? "

External articles

1. A newcomer who studies under the master's hand has prepared a large program, excitedly invited the master. After the program starts, start the unimaginable complex initialization, the entire system is stagnant, there is no prompt to indicate what is doing, and there is no measures to allow the user to cancel the process. After a dozen minutes of the past, the program interface finally appeared on the screen - it turned out to be the enhancement version of Notepad. The master came back to everyone: "This is the so-called newner." 2, the master said: "The fruit tree that attracts the bee blossoms; the squid is attacked to the smoke; the start-up program shows the splash screen. Natural world is like this. "3, the masters and the disciples watch the magician performance, the magician introduces the secret of magic after the performance: only the object is pre-hiented in the hand, then transfer the audience's attention, it can achieve its unexpected effect. A disciple said to the master: "Pre-load the form, display it when it is needed, so that it is not the same, is it true?" Master said: "You understand VB." 4, a disciple finds master: " The procedure you just explained is faster. "He pointed with his finger on the screen." Just put the AutoreRAW to close it. "Master said:" Think more than I think, it is my teacher. "5, master If it is said: "Why don't you use a label? It consumes very little resources, you can store text with hidden tags, you can use the Dragicon storage icon ... No tag is better!" 6, the master notes A disciple has also opened a BBS window while the master approaches, he agilely covered it with the VB window. The master will convene the disciples: "The weight of the control window is very important." Master minimizes the windows above, saying, "It is very important." 7. Master is saying: "The car is fast than bicycle, I still To use a bicycle; Linux is stable than Windows, I still have to use Windows; Line is convenient than Pset, I still have to use Pset. "8. Master is said:" Image I want, Picture is also what I want, both. It is also, and the picture is also imaging.

1. A disciple compiles frequent data types to the master's tailbo procedure, ask the master: "Make the program never have a data type error, maybe?" Master Answer: "Can do it." So set all the variable types to Variant. Disciples run the procedure, please find no mistakes, but the system crashes quickly. 2, Master is said: "Turtle is not inactive, you can live longer; people have no desires, can protect themselves; the procedure does not eat memory can avoid being deleted." 3, the master's disciples use unload uninstall the form, the disciples are used to give Nothing The method of the value is uninstalled. The master saw it, said to other disciples: "The sages are homesome! It is closer to VB." 4, the master said: "There is no use of garbage to throw away, the code should be deleted." 5, master asked Disciple: "There is a chance to let you talk most about the most wanted to use three words, what do you ask?" The disciple Jia said: "Take the salary." Disciples lean: "Playing a holiday." The disciples said: "Master." Master smiled. 6. Master is said: "Use local variables, it is also easy to delete the dynamic array, it is easy; the procedure will not crash, it is easy." 7. Master told the disciples a story: "in one In the company, there is a compilation master, a network master, there is a VB programmer. In order to examine the ability to examine the ability to examine the same task. Compilating master starts from the most inconspicuous input output, spending one The time of the month, printing a list of one hundred-page procedures; network masters exhausted all platforms, also spent a month, making more than 50 versions of applications; turn to VB programmers, he Draw a form on the screen, a button, write: 'Press this button to run their program.' "8, a disciple asked the master:" When can I get a teacher? "Master answered:" Go to you The comment in the program is ten times the code. "Rickey's email: rickey@vip.sina.com Person: http://rickey.vip.sina.com/

转载请注明原文地址:https://www.9cbs.com/read-29614.html

New Post(0)