




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、Visual Basic language and arithmeticThe United States launched the Microsoft Visual Basic (may be referred to VB, is the latest version of the current VB 2008 Beta2 (VB9 Chinese version.Visual meaning the visual, visible, referring to the development of operating systems like windows graphical user
2、interface (Graphic User Interface, GUI method, it does not need to prepare a large number code to describe the appearance of the interface elements and location, as long as the pre - The establishment of good drag and drop objects on the screen corresponding to the location.Basic is actually an abbr
3、eviation of the phrase; this phrase is Beginners all-purpose symbolic instruction code, the Chinese meaning "to the initial directive GM symbol code language."Visual Basic learning, Professional Edition and Enterprise Edition versions to meet the different needs of the development. Study a
4、nd apply to the ordinary version of the majority of learners and the use of Visual Basic development of the general staff of Windows applications, but; professional version for computer professional development of staff, including the study of functional version of the full content control and Inter
5、net development tools such as advanced features ,Enterprise contain not only all the professional version of the content, there are automated tools such as Component Manager, professional programmers to make the development of a powerful group essence of distributed applications.Visual BasicSection
6、1 the summary of Visual BasicMicrosoft Visual Basic,( abbreviate VB as tool the most of application program one of under Windows operating platform. No matter beginner or professional developer, VB has all offered a whole set of tools to them, Development application program that it can be relaxed a
7、nd convenient. So VB as most computer first-selected the ABC of programming language of beginner." Visual" mean method to adopt visual user of development figure interface (GUI, need and write a large number of code go and describe interface appearance and position of element seldom, Tow a
8、nd show controlling part that need corresponding position to get screen can help figure design interface, user of figure,; " Basic" means BASIC language, because VB is developed on the basis of already existing BAISC language.VB is a kind of programming language in common use of Microsoft,
9、 It, including VBA of the numerous Windows application software use VB language in Microsoft Excel, Microsoft Accessed., For users to carry on the secondary development; Make web page use more VBScript script language sub collection of VB too at present.Utilize data of VB visit characteristic user c
10、an establish the data base to most data base forms including Microsoft SQL Server and other enterprises data base With the application program of front, and adjustable service end part. Utilize ActiveX(TM technology, VB can use word processor, electronic data list he Windows function that applicatio
11、n program offers extremely, Excel of Microsoft, Word of Microsoft, Even can use by VB specialty edition or enterprise application program and target that edition establish directly.The procedure that users established finally is a real .EXE file , can issue freely .VB offer study edition, the specia
12、lty edition and enterprise edition, use to satisfied with different development demands. Study edition make programming personnel develop Windows and Windows application program of NT very easily. The specialty edition has offered thedeveloping instrument with complete function to programming person
13、nel of the specialty, Include studying all functions of edition in the specialty edition. Enterprise edition allow the professional personnel to establish strong distributed application program in the form of group. It includes all characteristics of the specialty edition. So can choose different ed
14、itions according to different needs.Section 2 integrated development environmentsIntegrated environment of VB call IDE, made up of a lot of parts , include title board, menu fence, tool fence, controlling part case, And window body window, engineering management device window, attribute window, code
15、 window and window body overall arrangement window body overall arrangement, etc. of designing etc. Have covered all functions, such as design which develops the application program, editting, compiling and debugging, etc.In VB, the application program calls the project too. When start VB and open a
16、 new project for the first time, can see and pursue integrated development environment interface that show.Visual Basic Integrated development environmentVB come and organize development of application program through project, use project come and manage and form files of application program. One pr
17、oject uses the environment to make up by several window bodies, standard module generally. The system manages project through the project menu, for instance add the window body, quote . System allow turn on and manage a lot of projects besides.Section 3 Visual Basic language brief introductionsBasic
18、 use and do the elementary high-level language that used often most. Its full name is Beginner' s All-purpose Symbolic Instruction Code, abbreviate as BASIC. As its name suggests, Basic one specially for language that beginner design, because it easy to learn easy to know, So the body is popular
19、. Early Basic language to belong to and solve translating type, so can carry out line by line , So it can see the result carried out at once , this is a very convenient design for beginner. But it have concept of structure either, one that is in procedure maintain and management have as much as othe
20、r language problems. But back-end Basic correct shortcoming of the above (such as Quick Basic, make it may used for and develop the large-scaler procedure too.The language is the basic composition, which forms VB procedure. VB has stipulated the form of sentences and function.Grammar:The sentence de
21、fines incantations Sentence bodySentence define agree with and used in fixed function of sentence, sentence body appoint concrete content or want concrete operation that carry out of sentence. All set of sentence VB language, carry on with VB sentence organic association finish a certain specific fu
22、nction the procedure. Interface + procedure can solve a certain application problem.VB application program code window write in" code editing machine" generally. " editing machine of code" is like the word processing software of a piece of height specialization, there are many ea
23、sies function of writing VB code, Pursue to show Example Ex-Hello In" code editing machine" code that window written.“Editing machine of code” windowSection 4 develop the application program with Visual BasicUse VB programming, design appearance of application program first generally, writ
24、e everytarget procedure code or other treatment procedure of incident respectively, Work of programming should be light more.The procedure of establishing the application program is as follows:Establish application program interfaceThe interface is the mutual bridge of user and procedure, Generally
25、formed of window body and vision frame of the button, menu, text frameset. with standard WINDOWS interface of application program that VB establish. Require according to function of procedure and user and need of information interchange of procedure, Come to confirm that need those targets , plan th
26、e overall arrangement of the interface.2. Design by each attributes of target in interfaceDemand and set up each attribute of target such as appearance, name, size of targeted. according to interface of planning.Most attribute person who fetch can set up through the attribute window when design alre
27、ady, Too can set up revising when operating in procedure through programming in procedure code. Have the targets respond programming by procedure code3. Respond procedure code of programming targetInterface determine appearance of procedure only, design window add codes through" code editing ma
28、chine" soon after the interface, Realize some make the tasks, such as responding, information processing,etc. after accepting external message, Add code , realize some response, information processing that make after accepting external information task, As editor's window of code pursued sh
29、ows add codes“code editing machine” window4. Keep projectOne VB procedure one project, at the time of designing a application program, system will set up one be expanded and called. Project file of vbp, project file include all relevant information of file that project set up this, Keep project keep
30、 associated documents of project this at the same time. For example the window body produced when design interfaces is kept and being expanded and being called. Frm sum. In the window body of foxfire. At the time of opening a project( file, this project relevant files load at the same time.5. Operat
31、e and debugged by procedureOperate the procedure thoroughpin operate" selecting in the menu, when the mistake appears, VB system can offer information prompt can looked for and get rid of the mistake thoroughpin debug" within operate" menus too.6. Can produce by executive programFor m
32、ake procedure can break away from VB environment, order to become next life through" file"" producing project 1.exe" of menu but executive program (eyeful, Can carry out this file directly after this. In produce, + executive program, and then through install guide bale all associ
33、ated documents, Can run independently after installation under the environment of windows 9 x/2000 as a software product.In computer system's any software, is by the every large or small each kind of software constituent constitution, defers to the specific algorithm to realize respectively, the
34、 algorithm quality direct decision realizes the software performance fit and unfit quality. Designs the algorithm with any method, what resources designs the algorithm to need, requires how many running time, how many storage space, how to determine an algorithm the quality, when realizes asoftware,
35、 is must give to solve. In computer system's operating system, the language compiling system, the database management system as well as in various computer application system's software, must use each one concrete algorithm to realize. Therefore, the algorithm design and the analysis are the
36、 computer science and a technical core question.The algorithm is the problem-solving step, we may define the algorithm Cheng Jie a determination class question the random one special method. In the computer science, the algorithm needs to use the computer algorithmic language to describe, the algori
37、thm represents with the computer solves a kind of question precisely, the effective method. The algorithm construction of data = procedure, solves one to assign may calculate or the solvable question, the different person may compile the different procedure, solves the identical problem, here has tw
38、o problems: First, with computational method close related algorithm question; Second, programming technical question. Between the algorithm and the procedure has the close relationship. The algorithm is a group has the poor rule, they had stipulated solves some specific type question a series of op
39、erations, is to the problem solving plan accurate and the complete description. Formulates an algorithm, generally must pass through stages and so on design, confirmation, analysis, code, test, debugging, time. To algorithm study including five aspect contents: Design algorithm. The algorithm design
40、 work is impossible completely the automation, should study the understanding already by the practice to prove that was the useful some basic algorithm design method, these basic design method was not only suitable for the computer science, moreover was suitable for domains and so on electrical engi
41、neering, operations research; Expresses the algorithm. The description algorithm's method has many kinds of forms, for example the natural language and the algorithmic language, have the suitable environment and the characteristic respectively; Confirms the algorithm. The algorithm confirmed the
42、 goal is causes the people to believe firmly that this algorithm can work unmistakably correctly, namely this algorithm has the circularity. The correct algorithm describes with the computer algorithmic language, constitutes the computer program, the computer program moves on the computer, obtains t
43、he algorithm operation result; Parsing algorithm. The algorithmic analysis is requires how many computing time and the storage space to an algorithm makes the quota the analysis. The parsing algorithm may forecast that what environment this algorithm does suit in moves effectively, to solves the ide
44、ntical question different algorithm validity to make the comparison;Confirmation algorithm. With machine language description algorithm whether can calculate effectively, reasonable, must carry on the test to the procedure, the test order work and makes the space and time distribution map by the deb
45、ugging to be composed.But the algorithm has certain characteristic, it includes: Determinism. Algorithm each kind of operation must have the determination significance, this kind of operation should carry out what kind of movement should not to have the ambiguity, the goal is clear; Effectiveness. R
46、equests the operation which in the algorithm waits for realizing is basic, each kind of operation can at least completes in the principle by the human with the paper and the pen in the limited time; Input. An algorithm has 0 or the many inputs, before the algorithm operation starts gives the algorit
47、hm to need the data the starting value, these inputs are from the specific object set;Output. Does for the algorithm operation result, an algorithm has or many outputs, the output has some kind of specific relational quantity with the input; Has poor. An algorithm always after carrying out had the p
48、oor step operation has terminated, namely this algorithm was may reach.Satisfies a first four characteristic group of rule not to be able to be called the algorithm, canonly be called the computational process, the operating system is a computational process example, the operating system uses for to
49、 manage the computer resources, controls the manufacture industry movement, when has not made industry the movement, the computational process does not stop, but is at the waiting status.The algorithm complexity is the algorithm efficiency measure, when appraises the algorithm performance, the compl
50、exity is an important basis. The algorithm complex degree with moves computer resources how many which this algorithm needs related, needs the resources are more, indicated that this algorithm the complexity is higher; Needs the resources are less, indicated that this algorithm the complexity is low
51、er.Th e spatial resources, which computers resources, operate most importantly, needs the time which and the stored routine and the data need, the algorithm complexity has division time complexity and the spatial complexity.The algorithm carries out the operation on the computer, needs the data whic
52、h certain storage space depositing description algorithm the procedure and the algorithm need, the computer completes the operation task to require certain time. The procedure which writes according to the different algorithm places when on the computer operates, needs the time and the space are dif
53、ferent, the algorithm complexity is needs the time and the spatial one kind of measure to the algorithm operation. The different computer its operating speed difference is very big, is weighing an algorithm the complexity to note this point.Regarding question, which assigns willfully, a profitable t
54、arget which designs, the complex low algorithm is as far as possible when designs algorithm considered. Moreover, when the question, which assigns already when has many kinds of algorithms, an important criterion which choice complexity low, is when selects algorithm should follow. Therefore, the al
55、gorithm complex analysis or selects to the algorithm design has the important guiding sense and the use value.When discussion algorithm complexity, two questions need to clarify:(1 An algorithm's complexity expresses with what kind of quantity;(2 How to calculate one to assign the algorithm the
56、complexity. After finding solves a question the algorithm, is this algorithm realization, as for whether could find the method which realized, was decided in the algorithm circularity and the computation complexity, whether this question did have the solution algorithm, whether to provide the time r
57、esources which and the spatial resources the algorithm needed.Visual Basic语言和算术美国发动的Microsoft Visual Basic(可简称VB )中,是当前VB 的2008 Beta2中(VB9)中文版的最新版本。视觉意义的视觉,可见,指的是操作系统,例如Windows 系统的图形用户界面(图形用户界面,GUI )的方法开发,它不需要编写大量代码来描述界面元素的外观和位置,因为只要前 - 善拖动屏幕上相应的位置删除对象的建立。基本法实际上是一个短语的缩写,这句话是初学者通用符号指令代码,中文意思“,以通用符号指令
58、代码最初语言。”Visual Basic学习,专业版和企业版的版本,以满足不同的发展需要。研究与适用于大多数的普通版本和学习者的Visual Basic 的Windows 应用程序的一般工作人员的开发利用,但; 专业版的电脑工作人员的专业发展,包括的全部内容控制功能的版本研究,并互联网等先进功能的开发工具,企业不仅包含的所有内容专业版,有自动化工具,如组件管理,专业的编程人员能够在一个分布式应用程序的强大集团义是发展。Visual Basic中第一节简易的Visual Basic微软的Visual Basic (简称VB )中作为工具的应用程序在Windows 操作平台,一个最。无论初学者或专
59、业开发,VB 的所有提供了一整套的工具,对他们来说,开发应用程序,它可以轻松,方便。所以VB 的,因为大多数电脑的首选编程语言的初学者的ABC 。“视觉”是指发展的方法,采用图形界面的可视化用户(桂),需要写大量的代码去描述界面元素的外观和位置很少,拖车和显示控制部分,需要得到相应的位置上屏幕可以帮助图形设计界面,数字用户,“基本法”是指BASIC 语言,因为VB 是建立在现有的基础上发展BAISC 语言。VB 是一种编程语言常用的微软,它包括众多Windows 应用软件使用VB 语言在Microsoft Excel 中VBA 的一种,微软访问,为用户进行二次开发。使网页使用更多的VBScript 脚本VB 的语言子集太出席。VB 的用户利用数据访问的特征可以建立资料库,大多数数据基本形式包括微软SQL Server和其他企业数据的前端应用程序的基础,调整服务端的一部分。利用的ActiveX (TM )技术,可以使用VB 的文字处理器,电子数据列表功能,他的Windows 应用程序提供了非常,微软的Excel ,Microsoft Word的,甚至可以使用VB 的专业版或企业应用程序和目标,版建立直接。最终
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 常德科技职业技术学院《医疗保险》2023-2024学年第二学期期末试卷
- 2024-2025学年四川省凉山州木里藏族自治县中学高三下学期第一次大练习(期末)物理试题含解析
- 广东省广州市南村中学2025届初三下学期三模考试物理试题文试题含解析
- 供水管网检测工程施工方案
- 招聘流程管理培训
- 急救护师操作培训个人总结
- 人教版物理必修二
- 常用急救药品的基本知识
- 急救洗胃知识培训
- 如何规范设备维修作业
- 汽车坡道玻璃雨棚施工方案
- 标准化知识竞赛考试题库(含答案)
- 3岁入园期陪孩子顺利走进幼儿园
- 年产10吨功能益生菌冻干粉的工厂设计改
- 喷砂岗位风险告知牌
- 《歌唱》天长地久 第三课时 《伦敦德里小调》教学设计
- 小学科学实验教学论文4篇
- 踝骨骨折病人的护理
- 公司设备缺陷管理制度
- 行政村村委会主任补选主持词
- 松材线虫病检测技术
评论
0/150
提交评论