計算機專業(yè)VB類通用外文翻譯及文獻._第1頁
計算機專業(yè)VB類通用外文翻譯及文獻._第2頁
計算機專業(yè)VB類通用外文翻譯及文獻._第3頁
計算機專業(yè)VB類通用外文翻譯及文獻._第4頁
計算機專業(yè)VB類通用外文翻譯及文獻._第5頁
已閱讀5頁,還剩14頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權,請進行舉報或認領

文檔簡介

1、Visual Basic Ian guage and arithmeticThe Un ited States laun ched the Microsoft Visual Basic (may be referred to VB, is the latest version of the curre nt VB 2008 Beta2 (VB9 Chi nese versio n.Visual meaning the visual, visible, referri ng to the developme nt of operati ng systems like win dows graph

2、ical user in terface (Graphic User In terface, GUI method, it does not n eed to prepare a large nu mber code to describe the appeara nee of the in terface eleme nts and locati on, as long as the pre - The establishme nt of good drag and drop objects on the scree n corresp onding to the locati on.Bas

3、ic is actually an abbreviati on of the phrase; this phrase is Beg inners all-purpose symbolic instruction code, the Chinese meaning to the initial directive GM symbol code Ian guage.Visual Basic learning, Professional Edition and Enterprise Edition versions to meet the different needs of the develop

4、ment. Study and apply to the ordinary version of the majority of learners and the use of Visual Basic development of the general staff of Win dows applicati ons, but; professi onal versi on for computer professi onal developme nt of staff, i ncludi ng the study of fun cti onal vers ion of the full c

5、ontent con trol and In ternet developme nt tools such as adva need features ,En terprise contain not only all the professi onal versi on of the content, there are automated tools such as Comp onent Man ager, professi onal programmers to make the developme nt of a powerful group esse nee of distribut

6、ed applicati ons.Visual BasicSecti on 1 the summary of Visual BasicMicrosoft Visual Basic,( abbreviate VB as tool the most of applicati on program one of un der Win dows operat ing platform. No matter beg inner or professi onal developer, VB has all offered a whole set of tools to them, Development

7、application program that it can be relaxed and convenient. So VB as most computer first-selected the ABC of program ming Ian guage of beg inner.Visual mean method to adopt visual user of developme nt figure in terface (GUI, n eed and write a large nu mber of code go and describe in terface appeara n

8、ce and positi on of eleme nt seldom, Tow and show con trolli ng part that n eed corresp onding positi on to get scree n can help figure desig n in terface, user of figure,; Basic means BASIC Ian guage, because VB is developed on the basis of already exist ing BAISC Ian guage.VB is a kind of program

9、ming Ian guage in com mon use of Microsoft, It, i ncludi ng VBA of the nu merous Win dows applicati on software use VB Ian guage in Microsoft Excel, Microsoft Accessed., For users to carry on the sec on dary developme nt; Make web page use more VBScript script Ian guage sub collecti on of VB too at

10、prese nt.Utilize data of VB visit characteristic user can establish the data base to most data base forms in cludi ng Microsoft SQL Server and other en terprises data base With the applicati on program of front, and adjustable service end part. Utilize ActiveX(TM tech no logy, VB can use word proces

11、sor, electro nic data list he Win dows fun ctio n that applicati on program offers extremely, Excel of Microsoft, Word of Microsoft, Eve n can use by VB specialty edition or enterprise application program and target thatediti on establish directly.The procedure that users established fin ally is a r

12、eal .EXE file , can issue freely .VB offer study edition, the specialty edition and enterprise edition, use to satisfied with differe nt developme nt dema nds. Study editi on make program ming pers onnel develop Win dows and Win dows applicati on program of NT very easily. The specialty editi on has

13、 offered the develop ing in strume nt with complete fun cti on to program ming pers onnel of the specialty, In clude study ing all fun cti ons of editi on in the specialty edition. Enterprise edition allow the professional personnel to establish strong distributed applicati on program in the form of

14、 group. It in eludes all characteristics of the specialty editi on. So can choose differe nt editi ons accordi ng to differe nt n eeds.Secti on 2 in tegrated developme nt en vir onmentsIntegrated environment of VB call IDE, made up of a lot of parts , include title board, menu fen ce, tool fence, co

15、n trolli ng part case, And wi ndow body win dow, engin eeri ng man ageme nt device win dow, attribute win dow, code win dow and wi ndow body overall arran geme nt win dow body overall arran geme nt, etc. of desig ning etc. Have covered all fun cti ons, such as desig n which develops the applicati on

16、 program, editti ng, compili ng and debugg ing, etc.In VB, the application program calls the project too. When start VB and open a new project for the first time, can see and pursue in tegrated developme nt en vir onment in terface that show.Visual Basic In tegrated developme nt en vir onmentVB come

17、 and orga nize developme nt of applicati on program through project, use project come and man age and form files of applicati on program. One project uses the en vir onment to make up by several wi ndow bodies, sta ndard module gen erally. The system man ages project through the project menu, for in

18、 sta nee add the window body, quote . System allow turn on and man age a lot of projects besides.Secti on 3 Visual Basic Ian guage brief in troduct ionsBasic use and do the eleme ntary high-level la nguage that used ofte n most. Its full name is Beginner s All-purpose Symbolic Instruction Code, abbr

19、eviate as BASIC. As its n ame suggests, Basic one specially for Ian guage that begi nner desig n, because it easy to learn easy to know, So the body is popular. Early Basic Ian guage to bel ong to and solve translating type, so can carry out line by line , So it can see the result carried out at onc

20、e , this is a very convenient desig n for beg inner. But it have con cept of structure either, onethat is in procedure maintain and man ageme nt have as much as other Ian guage problems. But back-end Basic correct shortcoming of the above (such as Quick Basic, make it may used for and develop the la

21、rge-scaler procedure too.The Ian guage is the basic compositi on, which forms VB procedure. VB has stipulated the form of senten ces and fun cti on.Grammar:The sentence defi nes incan tati ons Se ntence bodySentence defi ne agree with and used in fixed fun cti on of senten ce, sentence body appo int

22、 con crete content or want con crete operatio n that carry out of senten ce. All set of sentence VB Ian guage, carry on with VB sentence orga nic associati on fin ish acerta in specific function the procedure. In terface + procedure can solve a certa in applicati on problem.VB applicatio n program c

23、ode wi ndow write in code edit ing machi ne gen erally. edit ing mach ine of code is like the word process ing software of a piece of height specialization, there are many easies function of writing VB code, Pursue to show Example Ex-Hello ln code editing machine code that window written.“ Editing m

24、achine of code ” windowSecti on 4 develop the applicatio n program with Visual BasicUse VB program ming, desig n appeara nee of applicati on program first gen erally, write every target procedure code or other treatme nt procedure of in cide nt respectively, Work of program ming should be light more

25、.The procedure of establishing the application program is as follows:Establish applicati on program in terfaceThe in terface is the mutual bridge of user and procedure, Gen erally formed of win dow body and visi on frame of the butt on, menu, text frameset. with sta ndard WINDOWS in terface of appli

26、cati on program that VB establish. Require accord ing to fun cti on of procedure and user and n eed of in formatio n in tercha nge of procedure, Come to confirm that n eed those targets , pla n the overall arra ngeme nt of the in terface.2. Desig n by each attributes of target in in terfaceDema nd a

27、nd set up each attribute of target such as appeara nee, n ame, size of targeted. accord ing to in terface of pla nning.Most attribute pers on who fetch can set up through the attribute win dow whe n desig n already, Too can set up revis ing whe n operat ing in procedure through program ming in proce

28、dure code. Have the targets resp ond program ming by procedure code3. Resp ond procedure code of program ming targetIn terface determ ine appeara nee of procedure only, desig n window add codes through code edit ing mach ine soon after the in terface, Realize some make the tasks, such as resp onding

29、, in formatio n process in g,etc. after accept ing exter nal message, Add code , realize some resp on se, in formati on process ing that make after accept ing exter nal in formatio n task, As editors win dow of code pursued shows add codes“ code edit ingmachine ” wi ndow4. Keep projectOne VB procedu

30、re 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 releva nt in formatio n of file that project set up this, Keep project keep associateddocume nts of project this at the same time. For example

31、the wi ndow body produced whe n desig n in terfaces is kept and being expa nded and being called. Frm sum .In the wi ndow body of foxfire. At the time of ope ning a project( file, this project releva nt files load at the same time.5. Operate and debugged by procedureOperate the procedure thoroughp i

32、n operate select ing in the menu, whe n the mistake appears, VB system can offer in formati on prompt can looked for and get ridof the mistake thoroughpin debug within operate menus too.6. Can produce by executive programFor make procedure can break away from VB en vir onment, order to become n ext

33、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 in stall guide bale all associated docume nts, Can run in depe nden tly after in stallati on un der the en vir onment of win

34、 dows 9 x/2000 as a software product.In computer systems any software, is by the every large or small each kind of software constituent constitution, defers to the specific algorithm to realize respectively, the algorithm quality direct decisi on realizes the software performa nee fit and unfit qual

35、ity. Desig ns the algorithm with any method, what resources desig ns the algorithm to n eed, requires how many running time, how many storage space, how to determ ine an algorithm the quality, whe n realizes a software, is must give to solve. In computer systems operati ng system, the Ian guage comp

36、ili ng system, the database man ageme nt system as well as in various computer applicatio n systems software, must use each one concrete algorithm to realize. Therefore, the algorithm design and the analysis are the computer scie nee and a tech ni cal core questio n.The algorithm is the problem-solv

37、ing step, we may define the algorithm Cheng Jie a determ in ati on class questi on the ran dom one special method. In the computer scie nee, the algorithm n eeds to use the computer algorithmic Ian guage to describe, the algorithm represe nts with the computer solves a ki nd of questi on precisely,

38、the effective method. The algorithm con structi on of data = procedure, solves one to assig n may calculate or the solvable questi on, the differe nt pers on may compile the differe nt procedure, solves the iden tical problem, here has two problems: First, with computati onal method close related al

39、gorithm questi on; Second, program ming tech ni cal questi on. Betwee n the algorithm and the procedure has the close relati on ship. The algorithm is a group has the poor rule, they had stipulated solves some specific type question a series of operations, is to the problem sol ving pla n accurate a

40、nd the complete descriptio n. Formulates an algorithm, gen erally must pass through stages and so on design, confirmation, analysis, code, test, debugging, time. To algorithm study in cludi ng five aspect con ten ts Desig n algorithm. The algorithm desig n work is impossible completely the automati

41、on, should study the un dersta nding already by the practice to prove that was the useful some basic algorithm desig n method, these basic desig n method was not only suitable for the computer scie nee, moreover was suitable for doma ins and so on electrical engin eeri ng, operatio ns research Expre

42、sses the algorithm. The descripti on algorithms method has many kinds of forms, for example the n atural la nguage and the algorithmic Ian guage, have the suitable en vir onment and the characteristic respectively C on firms the algorithm. The algorithm con firmed the goal is causes the people to be

43、lieve firmly that this algorithm can work unmistakably correctly, namely this algorithm has the circularity. The correct algorithm describes with the computer algorithmic Ian guage, con stitutes the computer program, the computer program moves on the computer, obta ins thealgorithm operation result;

44、 Parsing algorithm. The algorithmic analysis is requires how many computing time and the storage space to an algorithm makes the quota the an alysis. The pars ing algorithm may forecast that what en vir onment this algorithm does suit in moves effectively, to solves the identical question different

45、algorithm validity tomake the comparis on Con firmati on algorithm. With machi ne Ian guage descripti on algorithm whether can calculate effectively, reas on able, must carry on the test to the procedure, the test order work and makes the space and time distribution map by the debugg ing to be compo

46、sed.But the algorithm has certa in characteristic, it in eludes Determi nism. Algorithm each kind of operatio n must have the determ in atio n sig nifica nee, this kind of operati on should carry out what kind of moveme nt should not to have the ambiguity, the goal is clear;Effectiveness. Requests t

47、he 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 In put. An algorithm has 0 or the many in puts, before the algorithm operation starts gives the algorithm to ne

48、ed the data the starting value, these in puts are from the specific object se Output. Does for the algorithm operation result, an algorithm has or many outputs, the output has some kind of specific relatio nal qua ntity with the in put; Has poor. An algorithm always after carry ing out had the poor

49、step operati on has term in ated, n amely this algorithm was may reach.Satisfies a first four characteristic group of rule not to be able to be called the algorithm, can only be called the computational process, the operating system is a computati onal process example, the operati ng system uses for

50、 to man age the computer resources, con trols the manu facture in dustry moveme nt, whe n has n ot made in dustry the moveme nt, the computati onal process does not stop, but is at the wait ing status.The algorithm complexity is the algorithm efficie ncy measure, whe n appraises the algorithm perfor

51、ma nee, the complexity is an importa nt basis. The algorithm complex degree with moves computer resources how many which this algorithm n eeds related, needs the resources are more, indicated that this algorithm the complexity is higher; Needs the resources are less, in dicated that this algorithm t

52、he complexity is lower.The spatial resources, which computer s resources, operate most importantly, needsthe 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,

53、needs the data whichcerta in storage space deposit ing descriptio n algorithm the procedure and the algorithmn eed, the computer completes the operati on task to require certa in time. The procedure which writes accord ing to the differe nt algorithm places whe n on the computer operates, needs the

54、time and the space are different, 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.Regard ing questi on, which assig

55、 ns willfully, a profitable target which desig ns,the complex low algorithm is as far as possible whe n desig ns algorithm con sidered.Moreover, when the question, which assigns already when has many kinds of algorithms, an important criterion which choice complexity low, is when selects algorithm s

56、hould follow. Therefore, the algorithm complex analysis or selects to the algorithm design has the importa nt guid ing sense and the use value.Whe n discussi on algorithm complexity, two questi ons n eed to clarify:(1 An algorithms complexity expresses with what kind of qua ntity;(2 How to calculate

57、 one to assign the algorithm the complexity. After finding solvesa 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 algorith

58、m, whether to provide the time resources which and the spatial resources the algorithm n eeded.Visual Basic語言與算法1991年,美國微軟公司推出了 Visual Basic(可簡稱VB,目前的最新版本是VB 2008 Beta2(VB9 中文版。Visual意即可視的、可見的,指的是開發(fā)像windows操作系統(tǒng)的圖形用戶界面 (Graphic User Interface,GUI的方法,它不需要編寫大量代碼去描述界面元素的外觀和 位置,只要把預先建立好的對象拖放到屏幕上相應的位置即可。B

59、asic實際上是一個短語的縮寫,這個短語就是 Beginners all_purpose symbolic instruction code其中文意思為 初始者通用符號指令代碼語言 ” Visual Basic有學 習版、專業(yè)版和企業(yè)版三種版本,以滿足不同的開發(fā)需要。學習版適用于普通學習 者及大多數(shù)使用Visual Basic開發(fā)一般Windows應用程序的人員,但是;專業(yè)版適用 于計算機專業(yè)開發(fā)人員,包括了學習版的全部內(nèi)容功能以及In ternet控件開發(fā)工具之 類的高級特性;企業(yè)版除包含專業(yè)版全部的內(nèi)容外,還有自動化構件管理器等工具,使 得專業(yè)編程人員能夠開發(fā)功能強大的組骨子里分布式應用程序。Visual Basic第1節(jié)Visual Basic的概述Microsoft Visual B

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
  • 4. 未經(jīng)權益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
  • 6. 下載文件中如有侵權或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論