- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
2011年计算机等级考试二级VB重点串讲笔记(2011 computer rank examination level 2 VB key lecture notes)
2011年计算机等级考试二级VB重点串讲笔记(2011 computer rank examination level 2 VB key lecture notes)
This article is contributed by mazhiyang1990
DOC documents may experience poor browsing on the WAP side. It is recommended that you first select TXT, or download the source file to the local view.
In 2011 two computer grade examination key points VB notes
The first chapter is the foundation of VB programming
1. basic data types
The following 1 statements that can correctly define 2 plastic variables and two string variables are
A) Dim, N, m, AS, Interger, s, AS, String
B) Dim, a%, b$, C, AS, String
C) Dim, a, AS, Integer, B, C, AS, String
D) Dim, x%, y, AS, Integer, Z, AS, String
2. user defined types
A) form:
Type data type name
Data type element name As type
Data type element name As type
......
End Type
Function: define a record type data type. After defining the custom type, we can use the variable of that type.
Dim variable name As custom type
3. commonly used functions
Int and Cint, Mid, and Instr
4. examples of procedures: examples of procedures:
Private, Sub, Command1_Click ()
Dim, STR, As, String, s, As, String, K, As, Integer
S=Text1
Str=
For k=List1.ListCount-1 to 0 Step-1
If, InStr (List.List (k), s), 0, then
Str=strList.List (k)
End If
Next K
If str= Then
Text2= does not match the project
Else
Text2=str
End If
End Sub
When the program is running, enter Jing in Text1, and then click the command button, then the contents displayed in Text2 are
A) Jing B) Nanjing, C, Nanjing, Beijing, D) there is no matching item
5. static variables
1. format: Static variable As type 2. feature: the value of the variable is retained every time the procedure is called.
The second chapter is data output and input
Object of the 1.Print method
2.MsgBox functions and the meaning of the parameters in the InputBox function
Format: InputBox (prompt, title, default) format: MsgBox (MSG, type, title)
The third chapter, VB programming statement
1. For cycle
For to = initial cycle variable valu
您可能关注的文档
- 错位是最准确的定位(Dislocation is the most accurate positioning).doc
- 长方形正方形周长案例及评析(Case and analysis of rectangular square circumference).doc
- 问题孩子问题家庭中的代理人(Problem child problem family agent).doc
- 阆苑仙葩薛宝钗(Xue baochai, the flower of the garden).doc
- 靳家彦语文导读法评述(A review of the introduction of the jin jiaryan language).doc
- 马克思哲学原理复习应试技巧_学习指导_自考在线(The philosophy of Marx is a review of test-taking techniques).doc
- 骨丰肉润,入妙通灵——谈汉魏六朝的书学风骨论(Bone abundant flesh and fat, enter the wonderful spirit -- talk about the book of han wei six dynasty the book study wind bone theory).doc
- 问题解决的策略设计之管见(The strategic design of problem solving).doc
- 髋、膝关节置换术的护理 业务查房(Hip, knee joint replacement nursing business check).doc
- 黑铁时代来临 家电品牌成长模式分化加剧(The black iron age comes with the growing differentiation of household appliance brand growth).doc
- 2011年阅读判断应试技巧(Read judgment test techniques in 2011).doc
- 2011年自考精心整理的自考《中国近现代史纲要》资料 -自考-考试大(A self-examination of the outline of China's modern history outline in 2011).doc
- 2011年陕西广播电台年终总结优秀范文(In 2011, shaanxi radio station year-end summary of excellent examples).doc
- 2011年高考地理答题要点总结精要气候与自然带专题(Summary of the key points of the 2011 national college entrance examination climate and natural zones).doc
- 2011年高考英语作文开头结尾万能句(At the beginning of the English composition of the college entrance examination in 2011).doc
- 2011年高考英语-以out, up, off 等结尾的动词词组(2011 college entrance exam English - the verb phrase ending with out, up, off, etc).doc
- 2011年高考试题——生物(江苏卷)(2011 high exam question - biology (jiangsu volume)).doc
- 2011年高考语文梳理命题类型 积累知识要点(In 2011, the language of the college entrance examination is to accumulate knowledge points).doc
- 2011广东高考理科综合(化学科)信息卷I(2011 guangdong college entrance examination science comprehensive (chemical discipline) information volume I).doc
- 2011广电艺试题答案(2011 radio and television arts test answers).doc
文档评论(0)