What are the steps of the VB Hong Kong Certificate of Education examination in VB
Editor to share with you what are the steps of the VB Hong Kong Certificate of Education examination in VB language. I hope you will get something after reading this article. Let's discuss it together.
1. VB will test the code steps.
1. Set up your own examinee folder according to the requirements of the question.
two。 Create a folder for each topic according to the requirements of the topic.
3. Create a VB project file under each topic folder.
4. After creating the VB project, save the form file (.frm) and the project file (.vbp)
5. Start making a graphical interface.
6. Start using code to do functions.
7. Save the exe file as required by the title
Requirements for saving the examination folder: student number + name
According to the requirements of the topic, one folder for each question
Note when saving a multi-form project file:
Comparison of multi-form file save format:
Note: don't forget to generate the exe file at the end of the save.
Note when opening a multi-form file project:
II. Supplement of interface development functions
Double-clicking a control on the development interface automatically generates an event for that control. If the control is a button, the code corresponding to the stand-alone event is automatically generated. Note that you don't need to write this code yourself, you just need to generate it automatically. It's easy to type this code by yourself.
III. Form operation
1. Display of the form
We can use the code show to make the form display.
Use format:
Form name. show
Note that there is a dot (.), which can be understood as "de" in Chinese and "show" as "display function".
For example:
Display the form2 form, using the code form2.show
two。 Hiding of the form
Just change show to hide.
The word hide means concealment in Chinese.
Use it in the same way as show.
Examples of use:
Hide the form3 form, using code form3.hide
After reading this article, I believe you have a certain understanding of "what are the steps of the VB Hong Kong Certificate of Education examination in VB". If you want to know more about it, you are welcome to follow the industry information channel. Thank you for reading!