




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
ModernDesignandManufacturing1.TheComputerandManufacturingThecomputerisbringingmanufacturingintotheInformationAge.Thisnewtool,longafamiliaroneinbusinessandmanagementoperations,ismovingintothefactory,anditsadventischangingmanufacturingascertainlyasthesteamenginechangedit100yearsago.Thebasicmetalworkingprocessesarenotlikelytochangefundamentally,buttheirorganizationandcontroldefinitelywillInonerespect,manufacturingcouldbesaidtobecomingfullcircle.Thefistmanufacturingwasacottageindustry:thedesignerwasalsothemanufacturer,conceivingandfabricatingproductsoneatatime.Eventually,theconceptoftheinterchangeabilityofpartswasdeveloped,productionwasseparatedintospecializedfunctions,andidenticalpartswereproducedthousandsatatime.Today,althoughthedesignerandmanufacturermaynotbecomeoneagain,thefunctionsarebeingdrawncloseinthemovementtowardanintegratedmanufacturingsystem.Itisperhapsironicthat,atatimewhenthemarketdemandsahighdegreeofproductdiversification,thenecessityforincreasingproductivityandreducingcoatsisdrivingmanufacturingtowardinegrationintoacoherentsystem,acontinuousprocessinwhichpartsdonotspentasmuchas95%ofproductiontimebeingmovedaroundorwaitingtobeworkedon.Thecomputeristhekeytoeachofthesetwinrequirements.Itistheonlytoolthatcanprovidethequickreflexes,theflexibilityandseed,tomeetadiversifiedmarket.Anditistheonlytoolthatenablesthedetailedanalysisandtheaccessibilityofaccuratedatanecessaryfortheintegrationofthemanufacturingsystem.Itmaywellbethat,inthefuture,thecomputermaybeessentialtoacompany’ssurvial.Manyoftoday’sbusinesseswillfadeawaytobereplacedbymore-productivecombinations.Suchmore-productivecombinationsaresuperquality,superproductivityplants.Thegoalistodesignandoperateaplantthatwouldproduce100%satisfactorypartswichgoodproductivity.Asophisticated,competitiveworldisrequiringthatmanufacturingbegintosettleformore,tobecomeitselfsophisticated.Tomeetcompetition,forexample,acompanywillhavetomeetthesomewhatconflictingdemandsforgreaterproductdiversification,higherquality,improvedproductivity,higherquality,improvedproductivityandprices.Thecompanythatseekstomeetthesedemandswillneedasophisticatedtool,onethatwillallowittorespondquicklytocustomerneedswhilegettingthemostoutofitsmanufacturingresources.Thecomputeristhattool.Becominga“superquality,superproductivity”plantrequirestheintegrationofanextremelycomplexsystem.Thiscanbeaccomplishedonlywhenallextremelycomplexsystem.Thiscanbeaccomplishedonlywhenallelementsofmanufacturing-design,fabricationandassembly,qualityassurance,management,materialshanding-arecomputerintegrated.Inproductdesign,forexample,interactivecomputer-aided-design(CAD)systemsallowthedrawingandanalysistaskstobeperformedinafractionofthetimeallowthedrawingandanalysistaskstobeperformedinafrationofthetimepreviouslyrequiredandgreateraccuracy.Andprogramsforprototypetestingtestingandevaluationfurtherspeedthedesignprocess.Inmanufacturingplanning,computer-aidedprocessplanningpermitstheselection,fromthousandsofpossiblesequencesandschedules,oftheoptimumprocess.Ontheshopfloor,distributedintlligenceintheformofmicroprocessorscontrols,runsautomatedloadingandunloadingequipment,andcollectsdataoncurrentshopconditions.Butsuchisolatedrevolutionsarenotenough.Whatisnendedisatotallyautomatedsystem,linkedbycommonsoftwarefromfrontdoortoback.Thebenefitsrangethoughoutthesystem.Essentially,computerintegrationprovideswidelyandinstantaneouslyavailable,accurateinformation,improvingcommunicationbetweendepartments,permittingtightercontrol,andgenerallyenhancingtheoverallqualityandefficiencyoftheentiresystem.Improvedcommunicationcanmean,forexample,designsthataremoreproducible.TheNCprogrammerandthetooldesignerhaveachangtoinfluencetheproductdesigner,andviceversa.Engineeringchanges,canbereduced,andthosethatarerequiredcanbehandledmoreefficiently.Notonlydosethecomputerpermitthemtobespecicifiedmorequickly,butitalsoalerssubsequentusersofthedatatothefactthatachangehasbeenmade.Theinstantaneousupdatingofproduction-controldatapermitsbetterplanningandmore-effectivescheduling.Expensiveequipment,therefore,isusedmoreproductively,andpartsmovemoreefficientlythroughproduction,reducingwork-in-processcoats.Productquality,too,canbeimproved.Notonlyaremore-accuratedesignsproduced,forexample,buttheuseofdesigndatabythequality-assurancedepartmenthelpseliminateerrorsduetomisunderstandings.Peopleareenabledtodotheirjobsbetter.Byeliminatingtediouscalculationsandpaperwork—nottomentiontimewastedsearchingforinformation—thecomputernotonlyallowsworkerstobemoreproductivebutalsofreesthemtodowhatonlyhumanbeingcando:thinkcreatively.Computerintegrationmayalsolurenewpeopleintomanufacturing.Peopleareattractedbecausetheywanttoworkinamodern,technologicallysophisticatedenviroment.Inmanufacturingengineering,CAD/CAMdecreasestool-design,NC-programming,andplanningtimeswhilespeedingtheresponserate,whichwilleventuallypermitin-housstafftoperformworkthatiscurrentlybeingcontractedout.2.CAD/CAMCAD/CAMisatermwhichmeanscomputer-aidedandcomputer-aidedmanufacturing.itisthetechnologyconcernedwiththeuseofdigitalcomputerstoperformcertainfunctionsindesignandproduction.Thistechnologyismovinginthedirectionofgreaterintegrationofdesignandmanufacturing,twoactivitieswhichhavetraditionallybeentreatedasdistinctandseparatefunctionsinaproductionfirm.Ultimately,CAD/CAMwillprovidethetechnologybaseforthecomputer-integratedfactoryofthefuture.Computer-aideddesign(CAD)canbedefinedastheuseofcomputerstytemstoassistinthecreation,modification,analysis,oroptimizationofadesign.Thecomputersystemsconsistofthehardwareandsoftwaretoperformthespecializeddesignfunctionsrequiredbytheparticularuserfirm.TheCADhardwaretypicallyincludedthecomputer,oneormoregraphicsdisplayterminals,keyboards,andotherperipheralequipment.TheCADsoftwareconsistsofthecomputerprogramstoimplementcomputergraphicstofacilitatetheengineeringfunctionsoftheusercompany.Examplesoftheseapplicationprogramsincludestress-strainanalysisofcomponents,dynamicresponseofmechanisms,heat-transfercalculations,andnumericalcontrolpartprogrammingThecollectionofapplicationprogramswillvaryfromoneuserfirmtothenextbecausetheirproductlines,manufacturingprocesses,andcustomermarketsaredifferentThesefactorsgiverisetodifferencesinCADsystemrequirements.Computer-aidedmanufacturing(CAM)canbedefinedastheuseofcomputersystemstoplan,manufacturingplantthrougheitherdirectorindirectcomputerinterfacewiththeplan’sproductionresources.Asindicatedbythedefinition,theapplicationsofcomputer-aidedmanufacturingfallintotwobroadcategories:1.Computermonitoringandcontrol.2.Manufacturingsupportapplications.Thedistinctionbetweenthetwocategoriesisfundamentaltoanunderstand-ingofcomputer-aidedmanufacturing.Inadditiontotheapplicationsinvolvingadirectcomputer-processinterfaceforthepurposeofprocessmonitoringandcontrol,computer-aidedmanufacturingalsoincludesindirectapplicationsinwhichthecomputerservesasupportroleinthemanufacturingoperationsoftheplant.Intheseapplications,thecomputerisnotlinkeddirectlytothemanufacturingprocess.Instead,thecomputerisused“off-line”toprovideplans,schedules,forecasts,instructions,andinformationbywhichthefirm’sproductionresourcescanbemanagedmoreeffectively.Theformoftherelationshipbetweenthecomputerandtheprocessisrepresentedsymbolicallyinthefiguregivenbelow.Dashedlinesareusedtoindicatethatthecommunicationandcontrollinkisanoff-lineconnection,withhumanbeingsoftenrequiredtoconsummatetheinerface.However,humanbeingsarepresentlyrequiredintheapplicationeithertoprovideinputtothecomputerprogramsortointerpretthecomputeroutputandimplementtherequiredaction.3.VoiceNCProgrammingVoiceprogrammingofNCmachines(abbreviatedVNC)involvesvocalcommunicationofthemachiningproceduretoavoice-inputNCtape-preparationofthemachingproceduretoavoice-inputNCtape-prepartionsystem.VNCallowstheprogrammertoavoidstepssuchasOneoftheprincipalcompaniesspecializinginvoice-inputsystemsisThresholdTechnology,Inc,ofDelran,Newjersey.“turn”,ToperformthepartprogrammingprocesswithVNC,theoperatorspeaksintoaheadbandmicrophonedesignedtoreducebackgroundacousticalnoise.Communicationoftheprogramminginstructionsisinshoplanguagewithsuchtermsas“turn”,“thead”,and“millline”,togetherwithnumberstoprovidedimensionalandcoordinatedata.Beforethevoice-inputsystemcanbeused,Itmustbe“trained”torecognizeandaccepttheindividualprogrammer’svoicepattern.Thisisaccomplishedbyrepeatingeachwordofthevocabularyaboutfivetimestoprovideareferencesetwhichcansubsequentlybecomparedtovoicecommandsgivenduringactualprogramming.Theentirevocabularyforthethresholdsystemcontainsabout100words.MostNCprogrammingjobscanbecompletedbyusingabout30ofthesevocabularywords.Intalkingtothesystem,theprogrammermustisolateeachwordbypausingbeforeandaftertheword.bypausingbeforeandaftertheword.Thepausemustbeonlyone-tenthofasecondorlonger.Thisallowsthespeechrecognitionsystemtoindentifyboundariesfortheboundariesfortheutteredcommandsothatitswavecharacteristicscanbecomparedwithwordsinthereferencesetforthatprogrammer.typicalwordinputratesunderthisrestrictionareclaimedtobeabout70perminute.Asthewordsarespoken,aCRTterminalinfrontofthenextcommand.Whenalloftheprogramminginstructionshavebeenenteredandverified,thesystempreparesthepunchedtapeforthejob.TheAdvantagesofVNClieprincipallyinthethesavingsinprogrammingtimeandresultingimprovementsinmanufacturingleadtime.Savingsinprogrammingtimeupto50%areclaimed.Improventsinaccuracyandlowercomputer-skillrequirementsfortheprogrammerarealsogivenasbenefitsofVNC.译文:现代设计与制造一、计算机与制造业:计算机正在将制造业带入信息时代。计算机长期以来在商业和管理方面得到了广泛的应用,它正在作为一种新的工具进入到工厂中,而且它如同蒸汽机在100年前使制造业发生改变那样,正在使制造业发生着变革。尽管基本的金属切削过程不太可能发生根本的改变,但是他们的组织形式和控制方式将发生改变。从某一方面可以说,制造业正在完成一个循环。最初的制造业是家庭手工业:设计者本身也是制造者,产品的构思与加工由同一人完成。后来,形成了零件的互换性这个概念,生产被依照专业功能分割开来,可以成批的生产数以千计的相同的零件。今天,尽管设计者与制造者不可能再是同一个人,但在向集成制造系统前进的途中,这两种功能已经越来越靠近了。可能具有讽刺意味的是,在市场需求高度多样化的产品的时候,提高生产率和降低成本的必要性促使着制造业朝着集成为单调关联系统方向变化。这是一个连续的过程,在其中零件不需要花费多达95%的生产时间用在运输和等待加工上。计算机是满足这两项要求中任何一项的关键。它是能够提供快速反应能力、柔性和满足多样化市场的唯一工具。而且,它是实现制造系统集成所需要的、能够进行详细分析和利用精确数据的唯一工具。在将来计算机可能会是一个企业生存的基本条件,许多现今的企业将会被生产能力更高的企业组合所取代。这些生产能力更高的企业组合是一些具有非常高的质量、非常高的生产率的工厂。目标是设计和运行一个能够以高生产率的生产方式100%合格产品的工厂。一个采用先进的、竞争的世界正在促使制造业开始做更高的工作,使其本身采用先进的技术。为了适应竞争,一个公司会满足一些在某种程度上相互矛盾的要求,诸如产品多样化、提高质量、增加生产率、降低价格。在努力这些要求的过程中,公司需要一个采用先进技术的工具,一个能够对顾客的需求作出快速反应,而且从制造资源中获得最大收益的工具,计算机就是这个工具。成为一个具有“非常高的质量、非常高的生产率”的工厂,需要对一个非常复杂的系统进行集成。这只有通过采用计算机对机械制造的所有组成部分—设计、加工、装配、质量保证、管理和材料装卸及输送进行集成才能完成。例如,在产品设计期间,交互式的计算机辅助设计系统使得完成绘图和分析工作所需要的时间比原来减少了几倍,而且精确程度得到了很大的提高。此外,样机的实验与评价程序进一步加快了设计过程。在制订制造计划时,计算机辅助编制工艺规程可以从数以千计的工序和加工过程中选择最好的加工方案。在车间里,分布式智能以微处理器这种形式来控制机床、操纵自动装卸料设备和收集关于当前车间状态的信息。但是这些各自独立的改革还远远不够。我们所需要的是有一个共同的软件从始端到终端进行控制的全部自动化的系统。整个系统都会从中受益。基本上,计算机集成可以提供广泛的、及时的和精确的信息,可以改进各部门之间的交流与沟通,实施更严格的控制,而且通常能增强整个系统的全面质量和效率。例如,改进交流和沟通意味着会使设计具有更好的可制造性。数控编程人员和工艺装备设计人员有机会向产品设计人员提出意见,反之亦然。因而可以减少技术反面的变更,而对于那些必要的变更,可以更有效地进行处理。计算机不仅能够更快地对变更之处做出详细说明,而且还能把变更之后的数据告诉随后的使用者。利用及时更新的生产控制数据可以制订更好的工艺规程和更有效率的生产进度。因而,可以使昂贵的设备更好的利用,提高零件在生产过程中运送效率,减少在制品的成本。产品质量也可以得到改进。例如,不仅可以提高设计精度,还可以使质量保证部门利用设计数据,避免由于误解而产生错误。可以使人们更好的完成他们的工作。通过避免冗长的计算和书写工作—这还不算查找资料所浪费的时间—计算机不仅使人们更有效的工作,而且还能把他们解放出来去做只有人类才能做工作:创造性思考。计算机集成制造还会吸引新的人才进入制造业。人才被吸引过来的原因是他们希望到一个现代化的、技术先进的环境中工作。在制造过程中,CAD/CAM减少了工艺装备设计、数控编程和编制工艺规程所需要的时间。而且,在同时加快了响应速度,这最终将会使目前外委加工的工作由公司内部人员完成。计算机辅助设计与制造CAD/CAM是表示计算机辅助设计和计算机辅助制造的专业术语。它是一种使用计算机完成某些设计和生产功能的技术。在生产企业里,人们通常把设计和制造视为两项有着明显不同职能的分工,而这项技术正朝着设计与制造的更大程度一体化方向发展。最终,CAD/CAM将会为未来的计算机集成工厂提供技术基础。计算机辅助设计(CAD)可定义为运用计算机系统对设计的创意、修改、分析或优化予以辅助。这些有硬件和软件构成的计算机系统,用于完成用户公司要求的特定设计功能。CAD硬件通常包括:一台计算机,一个或多个图形显示终端,键盘和其他外围设备。CAD软件包括各种计算机制图程序,这些程序便于用户公司完成设计职能,如:零部件的应变分析,机构的动态响应,热传输计算和数控零件编程。由于用户的生产流程、制造工艺和销售市场方面的差异,应用程序的配制也将因用户而异。这些因素均导致对CAD系统要求的差异性。计算机辅助制造(CAM)可定义为通过直接或间接于厂家生产资源相适应的计算机界面,使用计算机系统来规划、管理和控制制造工厂的运行。正如定义所表明的那样,CAM应用程序可分为两大类:1、计算机监控程序;2、制造程序。二者间的区别是理解计算机辅助制造的基础。计算机辅助制造的应用程序,除了为监控制造过程而直接使用计算机处理界面的应用程序之外,还包括在工厂生产运行过程中由计算机提供支持的间接应用程序。在这些应用程序中,计算机并不直接与制造过程相连接。想反,在脱机状态下,计算机可用来提供计划书、进度表、预报、指令和使厂家生产管理更加有效的信息资料。计算机和制造过程间的如下图所示。表中虚线用来说明交流和控制处于脱机状态下,需要人来完善界面。目前,CAM的应用需要有人来为计算机输入程序,解释计算机的输入,并采取所要求的措施。语音数控编程语音编程NC机床涉及机械加工过程和语音输入数控磁带准备系统间的语言交流。VNC可使编程员免除手工编程、键盘输入或打字以及人工检验等步骤。美国新泽西州德尔兰市的斯莱肖德股份有限公司便是一家专门研发语音输入系统的大公司。使用VNC完成零件编程,操作者头带耳机话筒录音,可减弱背静杂音。编程指令的交流使用像“turn”,“thread”和“millling”等加工车间使用的专门术语,同时提供车间和坐标数据。在使用语音输入系统前,该系统必须接受“训练”来识别和接受编程员的声音模式。“训练”时编程员把每个行话词重复大约五遍,作为参照数据组,随后实际编程时系统将给出语音指令与参照数据组进行比较。系统的全部行话词汇包括大约100个单词。大部分的数控编程工作使用其中的30个左右的行话词汇便可以完成。和系统交谈时,编程员必须在说出的词前和词后停顿来隔离每个词。停顿时间不能少于1/10秒。停顿使语音识别系统能确认发出的语音指令的界线以便语音指令声波特征能与该编程员参照组中的单词进行比较。据称在这种限制下,常规的单词输入速度大约每分中70个词。随着单词的输入,操作者面前的CRT(阴极射线管—显示器)终端验证每一个指令并提示操作者发出下一个指令。当输入和验证所有编程指令后,系统就会准备好穿孔纸带以备工作。VNC的优点主要在于节省编程时间并由此缩短产品设计至实际投产时间。准确度的提高和对编程者计算机技能要求较低也被视为VNC的优点。INTERNETusedtobuildVBapplications【Abstract】DevelopmentofInternettechnologyastheprogrammertoprovideabroaderspacefortheirskill.Earlier"InternetApplications"isthewordrefertothosewithFTPprotocoltodownloadfilesorbrowsetheHTMLpagetool,nowuseVisualBasic,notonlythedevelopmentofapplicationsfortheInternet,butalsotheintegrationofInternettechnologyaspartoflarge-scalesolutionsin.【KeyWords】Internet;VisualBasic;ActiveXcomponents;technology;procedures.ThedevelopmentofInternettechnologyastheprogrammertoprovideabroaderspacefortheirskill.Earlier"InternetApplications"isthewordrefertothosewithFTPprotocoltodownloadfilesorbrowsetheHTMLpagetool,nowuseVisualBasic,notonlythedevelopmentofapplicationsfortheInternet,butalsotheintegrationofInternettechnologyaspartoflarge-scalesolution.HerethequestionstobediscussedistheuseofVisualBasictocreateapplicationsfortheInternetplayanimportantroleintheActiveXcomponent.Forexample,thecreationofActiveXcontrolscanbeusedforHTMLpages;thedevelopmentofActiveXdocumentscanbeusedinInternetbrowsersandothercomponentsintegratedtogetherandHTMLpages;otherActiveXcodecomponents(formerlyknownasOLEserver),canbedeployedtheclientorservercomputer,forbackgroundprocessing.A,InternetDevelopmentEnvironmentInternetistheuseofTCP/IPprotocol,aglobalnon-centralizedmanagementofcomputernetworks.Ifforthelocal,theso-called"InternetTechnology"andlocalLANcanbeusedinthesametechnology.
Ontheonehand,Internettechnologydeveloperstoprovideaspacefortheirskill.IftheWebconnectionandtheuseofActiveXcomponents,althoughthespecificmethodstoachievedifferent,suchastheuseofHTMLandVBScriptcodeinordertoachievesecurity,butstillcallthemethod,setproperties,handleeventsandsoon.This,VBdevelopersofallknowledgeandskillshavebeenusedinInternetenvironment.Ontheotherhand,anextensionoftheapplicationofInternettechnologydevelopment.SuchasActiveXcomponentsandInternettechnologieshavethefollowingbenefits:easiertomaintain-asaWebpartofthenecessarycomponentscanbedownloadedwithouttheuserrunasetupprogramtoupgrade;willfeatureextendedtotheInternet-throughtheGeneralAgreement,theuserwillnotseeinbetweentheInternetandIntranetswitch.Second,Internetclient/serverCanuseclient/servertotesttherelationshipbetweentheInternetdevelopmentenvironment,clientandservercanhave"static"and"the"twostates.Theactivitiesoftheclientortheservermaychangeitsinternalstateanddynamically,orrunascripttochangetheirbehavior;staticclientortheserverisonlyincentivetorespondtotheoutsideworld.
Internetdevelopment,includingfourcases:astaticandpassiveclientserver;staticclientserverandactivities;theactivitiesoftheclientandtheserverstatic;activitiesandactivitiesoftheclientserver.Third,theuseofActiveXcomponentsWeb.ActiveXcomponentsforInternettechnologybringsnewfeatures.DownloadedthroughtheInternetcomponents,super-connected,themenufeaturesavarietyofconsultations,theActiveXcomponentsandInternetintegration,andcontentandapplicationshasbecomeincreasinglyblurredlinebetween;anothersitedueto(intheclientandserverbetween)thedistributionfunction,youcancreateamorescalableandflexiblesite.
InternetapplicationsintheuseofActiveXdocuments,canbedevelopedandtheInternet/IntranetsiteoftheotherelementsofthetightintegrationofVisualBasicapplications.Developedtheuseofthesecomponentsoftheapplication,userscantransparentlyintheHTMLpagesandActiveXdocumentsmigrationbetween.
ActiveXdocumentscanbeasaVisualBasicapplicationfortheInternettoprovidealmoststandardnowtocompletetheworkoftheapplicationcanachieveusingActiveXdocuments.AsanHTMLpageelements,iftheuser'sclientdoesnotinstallActiveXdocuments,andcanbedownloadedfromtheInternetautomatically;iftheclientontheolderversioncanalsobeautomaticallyupgraded.??ActiveXdocumentprovidesmanyfeaturestoinstallandnavigationperformance,andtoensurecontinuedconsistency:
Internetcomponentdownload-cancreatealinktotheActiveXdocument,sothatthebrowsercanautomaticallyfindanddownloadalltherequiredcomponents.
Ultra-connectedobjects-inasuper-connectedpacket-awarecontainer,youcanuseVisualBasictoconnectthesuper-objectpropertiesandmethods,JumptoagivenURLorthroughthenavigationhistorylist.
Menuandconsultation-asaresultcangetWordorExceldocument,VisualBasicprovidestheActiveXDocumentembeddingitsmenuinyourbrowsermenufunctions.Forexample,whenbeingloadedintothedocumentinInternetExplorer,thebrowser'smenuwillbecreatedwiththeActiveXdocumentmixedmenu.
PropertyBag-WheninInternetExplorerinthedeploymentofActiveXdocument,PropertyBagcanmaintaintheconsistencyofdataobjects.InInternetExplorerinthedeploymentofanActiveXdocumenttoHTMLpagethroughasuper-connectiontoconnecttotheActiveXdocument.1.TouseHTMLtocreatequoteconnecttheActiveXdocument.DocumentwillbeasaresultofActiveXinInternetExplorertoreplacetheHTMLpage,sotoOBJECTtagsoncomponentsofanotherHTMLpage.WhentheJumptothepage,oncetheActiveXdocumentisloaded,itwillimmediatelydisappear.
2.UsingHTMLforthebrowseravailablefordownload,registrationandnavigationtothewaytheActiveXdocument.OBJECTtagintheActiveXdocumentshouldindicatethetypeofIDandtheCODEBASEattribute.
3.Inthesamepage,InternetExplorerusingVBScriptinstructionsimmediatelythroughtheappropriatenavigationvbdfiletotheActiveXdocument.Fourth,intheInternetapplicationsuseActiveXcontrols.ActiveXcontrolforadynamicHTMLpage:theadoptionofHTMLandVBScript,inanHTMLpagecanuseActiveXcontrols,setitsproperties,callitsmethodsanditsevents;acontrolthatcontainstheHTMLpageasifthedesignofaVisualBasicthewindow,ActiveXcontrolscanprovidemorevividandinteractiveuserinterfacefeaturestomakeHTMLpagesmoredynamic.
GeneralHTMLandVBScriptbymeansofacomprehensivereferenceandcontrolthebehaviorofActiveXcontrols.TheuseofHTMLforthebrowseravailablefordownload,registrationandreferencechannelsquotedActiveXcontrols.HTMLcodeintheOBJECTtagtoinclude:1.ControlthetypeofID,inordertoprocesstheregistryinWindowstofindthem;
2.IDattributesinordertoinvokethecontrolinVBScript(VisualBasicissimilartotheNameattribute);
3.CODEBASEattributetotellifthecomponentisnotthebrowserclienttofindwheretogo;
4.PARAMNAMElabel,setthepropertiesofthecontrolparameters.
PreparedtodealwithandthenuseVBScriptcodeclickeventssothateachcontrolbyclick,theprogramcanbeusedforthecorrespondingaction.isualBasicProfessionalEditionalsoincludesthreepre-designedpackagesforcontrolofInternetrelatedtechnologies,toexpandexistingapplications,theyare:
InternetTransferControl-threeparcelsofcommonInternetprotocol:HTTP,FTPandGopher;
WebBrowserControl-includesmanyavailablethroughtheInternetExplorerfeatures;
WinSockControl-canconnecttoaremotemachine,andthenthroughtheUDPorTCPtoexchangedata.
ThroughtheuseofthesecontrolscanbeaddedautomaticallyfromtheFTPsitetodownloadfiles,VisualBasicIDEcanalsoprovideWebbrowserAdd-in.
InternetapplicationsintheuseofActiveXcodecomponents,whethertheclientortheserverside,youcanuseActiveXcodecomponents(dllorexefiles),soastoaddfeaturesHTMLpage.Thedeploymentofcodeontheclientcomponents,thereisnoneedasaresultofusercommandsaretransmittedoverthenetworkbacktotheserver,socangreatlyimprovethespeed.Server-sidecomponentcanalsodisplaytheuserinterfacefunctionsofvisualelements.BydownloadingaDLL,canbeaddedintheHTMLpagetheuserinterfaceelements,suchasalogondialogbox;alsoprovidebehind-the-scenesclientprocessingpower,suchasalibrarywithVBScript.
AnotherDLLandInternettechnologywillbecombinedwiththewayitdeployedintheserver-side.IfthereisInternetInformationServer(IIS)(includedinWindowsNTServer4.0in),throughVisualBasiccustomsToolsdiskdirectoryOleisapi2dllinVisualBasictocallDLLbuilt-infunction.
Oleisapi2dllcontainsallthefunctionsISAPI.DLLcanbedeployedintheHTTPserver,andHTMLpageinformationsenttocallitsmethods.Oleisapi2dllasaclient,therequesttotheinterfacebetweentheDLL.BasedonduetocodeHTML,theserequestsisonlyasimpleURL.
Throughserver-sideDLL,canprovidecustomerswithcustomizedparametersbacktotheclient'sHTMLpage,butalsocanmanagethedatabaseconnection,therequesttoreceiveandreturntheresultsofthecollationandorganization.References[1]Chen.VisaulBasicProgramming[M].CentralRadioandTelevision[2]JinMaozhong.NETProgramming[M].CentralRadioandTVPress,2004.[3]DingAIping.VisaulBasicProgramming(2ndedition)[M].PublishingHouseofElectronicsIndustry,2004.[4]WenyuanPavilionstudio.ReamweaverXM2004cheatextensionwith[M].China用VB构建INTERNET的应用【摘要】发展Internet技术为编程人员提供了更广泛的施展身手的空间。早先“Internet应用程序"这个词只是指一些用FTP协议下载文件或浏览HTML页面的工具,如今使用VisualBasic,不仅可为Internet开发应用程序,还可把Internet技术作为一部分融入大型的解决方案中。【关键词】Internet;VisualBasic;ActiveX组件;技术;程序发展Internet技术为编程人员提供了更广泛的施展身手的空间。早先“Internet应用程序"这个词只是指一些用FTP协议下载文件或浏览HTML页面的工具,如今使用VisualBasic,不仅可为Internet开发应用程序,还可把Internet技术作为一部分融入大型的解决方案中。这里所要讨论的问题是利用VisualBasic创建面向Internet应用起重要作用的ActiveX组件。例如,所创建的ActiveX控件可用于HTML页面;开发ActiveX文档可以在Internet浏览器中使用并与其他组件一起和HTML页面集成;另外ActiveX代码组件(以前被称为OLE服务器),可以被部署在客户端或服务器端的计算机上,用于后台的处理。一、Internet开发环境Internet是使用TCP/IP协议、全球性非集中管理的计算机网络。如果用于局部,所谓“Internet技术"完全可以和本地局域网中所使用的技术一样。一方面,Internet技术为开发人员提供了一个施展身手的空间。如果和Web连接时使用了ActiveX组件,尽管具体实现的方法有所不同,如采用了HTML和VBScript代码以实现安全性等,但仍然在调用方法、设置属性、处理事件等等。这样,VB开发人员所有的知识和技能都被用于Internet环境。另一方面,应用Internet技术可延伸开发工作。如将ActiveX组件和Internet技术综合有以下益处:更简单维护——作为Web一部分的组件可以根据需要下载,无须用户运行一个setup程序进行升级;将功能延伸至Internet——通过通用协议,用户将看不见在Internet和Intranet之间的切换。二、Internet客户/服务器可以借用客户机/服务器的关系来考查Internet的开发环境,客户端和服务器端都可以有“静态的"和“活动的"两种状态。活动的客户机或服务器可据其内部状态的改变而动态地运行一个脚本或是改变其行为;静态的客户机或服务器仅仅只是对外界激励作出反应。Internet开发包括四种情形:静态的客户机
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2.2声音的特性 说课稿2025年初中人教版物理八年级上册
- 2025年党政领导干部党章党规党纪知识考试题库及答案(共150题)
- 智能财税综合实训 上篇 课件全套 社会共享初级代理实务-社会共享企业管家
- 2025年可生物降解有机垃圾厌氧发酵装置合作协议书
- 2025年广东省深圳市中考一模语文试题(原卷版+解析版)
- 银行业务流程优化与风险控制方案
- 网络安全攻防实战与防御策略
- 新能源行业光伏电站智能调度与管理方案
- 制造业智能化生产线升级方案
- 项目执行阶段工作总结与经验教训分享报告
- 高中物理分层教学实施方案
- 农贸市场建设项目可行性研究报告
- 大学英语四级阅读理解精读100篇
- 思想道德与法治2023版第三章继承优良传统 弘扬中国精神专题4第1讲 教学设计
- 股东损害公司债权人利益责任纠纷起诉状(成功范文)
- 中国石油转观念勇担当创一流心得体会 中国石油转观念勇担当创一流心得
- 中石油职称俄语
- 七年级历史下册(人教版1-5课)测试题
- 苏州职业大学职业适应性测试题库2021
- 辽宁升联生物科技有限公司年产1.42万吨化学农药原药智能化示范项目环境影响报告书
- 2015-2022年江苏食品药品职业技术学院高职单招语文/数学/英语笔试参考题库含答案解析
评论
0/150
提交评论