VB外文翻译 Visual Basic语言和算术Word格式文档下载.docx
《VB外文翻译 Visual Basic语言和算术Word格式文档下载.docx》由会员分享,可在线阅读,更多相关《VB外文翻译 Visual Basic语言和算术Word格式文档下载.docx(9页珍藏版)》请在冰豆网上搜索。
totheinitialdirectiveGMsymbolcodelanguage."
VisualBasiclearning,ProfessionalEditionandEnterpriseEditionversionstomeetthedifferentneedsofthedevelopment.StudyandapplytotheordinaryversionofthemajorityoflearnersandtheuseofVisualBasicdevelopmentofthegeneralstaffofWindowsapplications,but;
professionalversionforcomputerprofessionaldevelopmentofstaff,includingthestudyoffunctionalversionofthefullcontentcontrolandInternetdevelopmenttoolssuchasadvancedfeatures,Enterprisecontainnotonlyalltheprofessionalversionofthecontent,thereareautomatedtoolssuchasComponentManager,professionalprogrammerstomakethedevelopmentofapowerfulgroupessenceofdistributedapplications.
VisualBasic
Section1thesummaryofVisualBasic
MicrosoftVisualBasic,(abbreviateVB)astoolthemostofapplicationprogramoneofunderWindowsoperatingplatform.Nomatterbeginnerorprofessionaldeveloper,VBhasallofferedawholesetoftoolstothem,Developmentapplicationprogramthatitcanberelaxedandconvenient.SoVBasmostcomputerfirst-selectedtheABCofprogramminglanguageofbeginner.
"
Visual"
meanmethodtoadoptvisualuserofdevelopmentfigureinterface(GUI),needandwritealargenumberofcodegoanddescribeinterfaceappearanceandpositionofelementseldom,Towandshowcontrollingpartthatneedcorrespondingpositiontogetscreencanhelpfiguredesigninterface,useroffigure,;
"
Basic"
meansBASIClanguage,becauseVBisdevelopedonthebasisofalreadyexistingBAISClanguage.
VBisakindofprogramminglanguageincommonuseofMicrosoft,It,includingVBAofthenumerousWindowsapplicationsoftwareuseVBlanguageinMicrosoftExcel,MicrosoftAccessed.,Foruserstocarryonthesecondarydevelopment;
MakewebpageusemoreVBScriptscriptlanguagesubcollectionofVBtooatpresent.
UtilizedataofVBvisitcharacteristicusercanestablishthedatabasetomostdatabaseformsincludingMicrosoftSQLServerandotherenterprisesdatabaseWiththeapplicationprogramoffront,andadjustableserviceendpart.UtilizeActiveX(TM)technology,VBcanusewordprocessor,electronicdatalistheWindowsfunctionthatapplicationprogramoffersextremely,ExcelofMicrosoft,,WordofMicrosoft,,EvencanusebyVBspecialtyeditionorenterpriseapplicationprogramandtargetthateditionestablishdirectly.
Theprocedurethatusersestablishedfinallyisareal.EXEfile,canissuefreely.
VBofferstudyedition,thespecialtyeditionandenterpriseedition,usetosatisfiedwithdifferentdevelopmentdemands.StudyeditionmakeprogrammingpersonneldevelopWindowsandWindowsapplicationprogramofNTveryeasily.Thespecialtyeditionhasofferedthedevelopinginstrumentwithcompletefunctiontoprogrammingpersonnelofthespecialty,Includestudyingallfunctionsofeditioninthespecialtyedition.Enterpriseeditionallowtheprofessionalpersonneltoestablishstrongdistributedapplicationprogramintheformofgroup.Itincludesallcharacteristicsofthespecialtyedition.Socanchoosedifferenteditionsaccordingtodifferentneeds.
Section2integrateddevelopmentenvironments
IntegratedenvironmentofVBcallIDE,madeupofalotofparts,includetitleboard,menufence,toolfence,controllingpartcase,Andwindowbodywindow,engineeringmanagementdevicewindow,attributewindow,codewindowandwindowbodyoverallarrangementwindowbodyoverallarrangement,etc.ofdesigningetc..Havecoveredallfunctions,suchasdesignwhichdevelopstheapplicationprogram,editting,compilinganddebugging,etc..
InVB,theapplicationprogramcallstheprojecttoo.WhenstartVBandopenanewprojectforthefirsttime,canseeandpursueintegrateddevelopmentenvironmentinterfacethatshow.
VisualBasicIntegrateddevelopmentenvironment
VBcomeandorganizedevelopmentofapplicationprogramthroughproject,useprojectcomeandmanageandformfilesofapplicationprogram.Oneprojectusestheenvironmenttomakeupbyseveralwindowbodies,standardmodulegenerally.Thesystemmanagesprojectthroughtheprojectmenu,forinstanceaddthewindowbody,quote.Systemallowturnonandmanagealotofprojectsbesides.
Section3VisualBasiclanguagebriefintroductions
Basicuseanddotheelementaryhigh-levellanguagethatusedoftenmost.ItsfullnameisBeginner'
sAll-purposeSymbolicInstructionCode,abbreviateasBASIC.Asitsnamesuggests,Basiconespeciallyforlanguagethatbeginnerdesign,becauseiteasytolearneasytoknow,Sothebodyispopular.EarlyBasiclanguagetobelongtoandsolvetranslatingtype,socancarryoutlinebyline,Soitcanseetheresultcarriedoutatonce,thisisaveryconvenientdesignforbeginner.Butithaveconceptofstructureeither,onethatisinproceduremaintainandmanagementhaveasmuchasotherlanguageproblems.Butback-endBasiccorrectshortcomingoftheabove(suchasQuickBasic),makeitmayusedforanddevelopthelarge-scalerproceduretoo.
Thelanguageisthebasiccomposition,whichformsVBprocedure.VBhasstipulatedtheformofsentencesandfunction.
Grammar:
Thesentencedefinesincantations[Sentencebody]
Sentencedefineagreewithandusedinfixedfunctionofsentence,sentencebodyappointconcretecontentorwantconcreteoperationthatcarryoutofsentence.AllsetofsentenceVBlanguage,carryonwithVBsentenceorganicassociationfinishacertainspecificfunctiontheprocedure.Interface+procedurecansolveacertainapplicationproblem.
VBapplicationprogramcodewindowwritein"
codeeditingmachine"
generally."
editingmachineofcode"
islikethewordprocessingsoftwareofapieceofheightspecialization,therearemanyeasiesfunctionofwritingVBcode,Pursuetoshow[ExampleEx-Hello]In"
codethatwindowwritten.
“Editingmachineofcode”window
Section4developtheapplicationprogramwithVisualBasic
UseVBprogramming,designappearanceofapplicationprogramfirstgenerally,writeeverytargetprocedurecodeorothertreatmentprocedureofincidentrespectively,Workofprogrammingshouldbelightmore.
Theprocedureofestablishingtheapplicationprogramisasfollows:
Establishapplicationprograminterface
Theinterfaceisthemutualbridgeofuserandprocedure,Generallyformedofwindowbodyandvisionframeofthebutton,menu,textframeset.withstandardWINDOWSinterfaceofapplicationprogramthatVBestablish.Requireaccordingtofunctionofprocedureanduserandneedofinformationinterchangeofprocedure,Cometoconfirmthatneedthosetargets,plantheoverallarrangementoftheinterface.
2.Designbyeachattributesoftargetininterface
Demandandsetupeachattributeoftargetsuchasappearance,name,,sizeoftargeted.accordingtointerfaceofplanning.
Mostattributepersonwhofetchcansetupthroughtheattributewindowwhendesignalready,Toocansetuprevisingwhenoperatinginprocedurethroughprogramminginprocedurecode.Havethetargetsrespondprogrammingbyprocedurecode
3.Respondprocedurecodeofprogrammingtarget
Interfacedetermineappearanceofprocedureonly,designwindowaddcodesthrough"
soonaftertheinterface,Realizesomemakethetasks,suchasresponding,informationprocessing,etc.afteracceptingexternalmessage,Addcode,realizesomeresponse,informationprocessingthatmakeafteracceptingexternalinformationtask,Aseditor'
swindowofcodepursuedshowsaddcodes
“codeeditingmachine”window
4.Keepproject
OneVBprocedureoneproject,atthetimeofdesigningaapplicationprogram,systemwillsetuponebeexpandedandcalled.Projectfileofvbp,projectfileincludeallrelevantinformationoffilethatprojectsetupthis,Keepprojectkeepassociateddocumentsofprojectthisatthesametime.Forexamplethewindowbodyproducedwhendesigninterfacesiskeptandbeingexpandedandbeingcalled.Frmsum.Inthewindowbodyoffoxfire.Atthetimeofopeningaproject(file),thisprojectrelevantfilesloadatthesametime.
5.Operateanddebuggedbyprocedure
Operatetheprocedurethoroughpinoperate"
selectinginthemenu,whenthemistakeappears,VBsystemcanofferinformationpromptcanlookedforandgetridofthemistakethoroughpindebug"
withinoperate"
menustoo.
6.Canproducebyexecutiveprogram
FormakeprocedurecanbreakawayfromVBenvironment,ordertobecomenextlifethrough"
file"
producingproject1.exe"
ofmenubutexecutiveprogram(eyeful),Cancarryoutthisfiledirectlyafterthis.Inproduce,+executiveprogram,andthenthroughinstallguidebaleallassociateddocuments,Canrunindependentlyafterinstallationundertheenvironmentofwindows9x/2000asasoftwareproduct.
Incomputersystem'
sanysoftware,isbytheeverylargeorsmalleachkindofsoftwareconstituentconstitution,deferstothespecificalgorithmtorealizerespectively,thealgorithmqualitydirectdecisio