![外文翻译-用VB构建INTERNET的应用_第1页](http://file4.renrendoc.com/view/863721bf8813450cee217ef69ed8f501/863721bf8813450cee217ef69ed8f5011.gif)
![外文翻译-用VB构建INTERNET的应用_第2页](http://file4.renrendoc.com/view/863721bf8813450cee217ef69ed8f501/863721bf8813450cee217ef69ed8f5012.gif)
![外文翻译-用VB构建INTERNET的应用_第3页](http://file4.renrendoc.com/view/863721bf8813450cee217ef69ed8f501/863721bf8813450cee217ef69ed8f5013.gif)
![外文翻译-用VB构建INTERNET的应用_第4页](http://file4.renrendoc.com/view/863721bf8813450cee217ef69ed8f501/863721bf8813450cee217ef69ed8f5014.gif)
![外文翻译-用VB构建INTERNET的应用_第5页](http://file4.renrendoc.com/view/863721bf8813450cee217ef69ed8f501/863721bf8813450cee217ef69ed8f5015.gif)
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
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,2021.[3]DingAIping.VisaulBasicProgramming(2ndedition)[M].PublishingHouseofElectronicsIndustry,2021.[4]WenyuanPavilionstudio.ReamweaverXM2021cheatextensionwith[M].ChinaRailwayPublishingHouse,2021.用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开发包括四种情形:静态的客户机和静态的服务器;静态的客户机和活动的服务器;活动的客户机和静态的服务器;活动的客户机和活动的服务器。三、在Web上使用ActiveX组件ActiveX组件为Internet技术带来新功能。通过Internet组件的下载、超连接、菜单协商等各种功能,将ActiveX组件和Internet集成起来,内容和应用程序之间的界线越来越模糊;另外由于在站点上(在客户机和服务器之间)分布功能函数,则可创建更具扩展性和灵活性的站点。在Internet应用程序中使用ActiveX文档,可以开发和Internet/Intranet站点的其他元素紧密集成的VisualBasic的应用程序。利用这些组件开发出来的应用程序,用户可以透明地在HTML页面和ActiveX文档之间迁移。可以把ActiveX文档作为VisualBasic为Internet提供的应用,几乎现在用标准应用程序完成的工作都可以用ActiveX文档实现。作为HTML页面中的一个元素,如果在用户的客户机上没有安装ActiveX文档,用时可以自动地从网上下载;如果客户机上的版本较旧,也可自动升级。??ActiveX文档的许多特性提供了安装和导航性能,并可以保证持续一致性:Internet组件的下载——可创建一个到ActiveX文档的连接,使浏览器可以自动找到并下载所有需要的组件。超连接对象——在一个超连接感知的包容器中,可使用VisualBasic的超连接对象的属性和方法,跳转到一个给定的URL或是通过历史记录清单进行导航。菜单和协商——由于可以从Word或Excel中获得文档,VisualBasic的ActiveX文档提供了将其菜单嵌入浏览器中的菜单的功能。例如当文档被装载入InternetExplorer中后,浏览器的菜单将与该ActiveX文档创建的菜单混合。PropertyBag——当在InternetExplorer中部署ActiveX文档时,可以通过PropertyBag对象保持数据的一致性。在InternetExplorer中部署一个ActiveX文档,要通过一个HTML页面中的超连接连接到这个ActiveX文档上。1.用HTML创建引用这个ActiveX文档的连接。由于ActiveX文档将在InternetExplorer中取代HTML页面,所以要将组件的OBJECT标签放在另一个HTML页面中。当跳转到该页面后,一旦ActiveX文档被装载,它就会立刻消失。2.用HTML为浏览器提供下载、注册以及导航到这个ActiveX文档的途径。在OBJECT标签中应该说明ActiveX文档的类ID和CODEBASE属性。3.在同一页面上,使用VBScript指示InternetExplorer立刻通过相应的vbd文件导航到该ActiveX文档上。四、在Internet应用程序中使用ActiveX控件ActiveX控件为HTML页面带来了活力:通过HTML和VBScript,可在一个HTML页面上使用ActiveX控件,设置其属性,调用其方法并处理其事件;一个包含控件的的HTML页面仿佛一个VisualBasic的设计窗口,ActiveX控件可以提供更多交互式且生动的用户界面特性,使HTML页面变得更加有活力。一般需要通过HTML和VBScript的综合手段引用并控制ActiveX控件的行为。使用HTML为浏览器提供下载,注册并引用ActiveX控件引用的途径。在HTML代码的OBJECT标签中需要包括:1.控件的类别ID,以使程序能在Windows的注册表中找到它们;2.、ID的属性,以便在VBScript中引用该控件(类似于VisualBasic中的Name属性);3.CODEBASE属性,告诉浏览器如果组件不在客户机上该去哪儿找;4.PARAMNAME标签,设置控件的属性参数。然后用VBScript编写处理单击事件的代码,使每一个控件被单击后,程序可以作相应的动作。VisualBasic专业版中还包括了三个已预先设计好的用于包裹Internet相关技术的控件,能够扩展已有的应用程序,它们是:InternetTransferControl——包裹了三种通用的Internet协议:HTTP、FTP和Gopher;WebBrowserControl——包含了许多通过InternetExplorer可以获得的功能;WinSockControl——可以连接到一台远程的机器,然后通过UDP或TCP交换数据。通过使用这些控件,可以添加从FTP站点自动下载文件的功能,还可以为VisualBasicIDE提供Web浏览器的Add-in。在Internet应用程序中使用ActiveX代码组件,无论是在客户端或是在服务器端,都可以使用ActiveX代码组件(dll或exe文件),从而为HTML页面添加功能。在客户端部署代码组件,由于用户命令无须通过网络传输回服务器,于是可以大大提高运行速度。服务器端的组件同样也可以有显示用户界面可视化元素的功能。通过下载一个DLL,可以在HTML页面上添加用户界面的元素,如一个登录对话框;还可以提供幕后的客户端处理能力,如一个伴随VBScript的函数库。另一种将DLL和Internet技术结合的方法是将它部署在服务器端。如果有InternetInformationServer(IIS)(包含在WindowsNTServer4.0中),可以通过VisualBasic关盘中的Tools目录下的Oleisapi2dll调用VisualBasic中内置的DLL函数。Oleisapi2dll中包含了ISAPI中的所有函数。可以把DLL部署在HTTP服务器上,并通过HTML页面上发送的信息调用其方法。Oleisapi2dll作为客户,请求到DLL之间的中介。由于代码基于HTML,这些请求仅仅是简单的URL。通过服务器端的DLL,可以由客户提供的参数定制返回给客户的HTML页面,还可以管理数据库的连接,对接受到的请求和返回的结果进行整理和编组。参考文献[1]陈明.VisaulBasic程序设计[M].中央广播电视大学出版社,2021.[2]金茂忠.NET编程基础[M].中央广播电视出版社,2021.[3]丁爱萍.VisaulBasic程序设计(第2版)[M].电子工业出版社,2021.[4]文渊阁工作室.reamweaverXM2021扩展程序与密技[M].中国铁道出版社,2021.
论大学生写作能力写作能力是对自己所积累的信息进行选择、提取、加工、改造并将之形成为书面文字的能力。积累是写作的基础,积累越厚实,写作就越有基础,文章就能根深叶茂开奇葩。没有积累,胸无点墨,怎么也不会写出作文来的。写作能力是每个大学生必须具备的能力。从目前高校整体情况上看,大学生的写作能力较为欠缺。一、大学生应用文写作能力的定义那么,大学生的写作能力究竟是指什么呢?叶圣陶先生曾经说过,“大学毕业生不一定能写小说诗歌,但是一定要写工作和生活中实用的文章,而且非写得既通顺又扎实不可。”对于大学生的写作能力应包含什么,可能有多种理解,但从叶圣陶先生的谈话中,我认为:大学生写作能力应包括应用写作能力和文学写作能力,而前者是必须的,后者是“不一定”要具备,能具备则更好。众所周知,对于大学生来说,是要写毕业论文的,我认为写作论文的能力可以包含在应用写作能力之中。大学生写作能力的体现,也往往是在撰写毕业论文中集中体现出来的。本科毕业论文无论是对于学生个人还是对于院系和学校来说,都是十分重要的。如何提高本科毕业论文的质量和水平,就成为教育行政部门和高校都很重视的一个重要课题。如何提高大学生的写作能力的问题必须得到社会的广泛关注,并且提出对策去实施解决。二、造成大学生应用文写作困境的原因:(一)大学写作课开设结构不合理。就目前中国多数高校的学科设置来看,除了中文专业会系统开设写作的系列课程外,其他专业的学生都只开设了普及性的《大学语文》课。学生写作能力的提高是一项艰巨复杂的任务,而我们的课程设置仅把这一任务交给了大学语文教师,可大学语文教师既要在有限课时时间内普及相关经典名著知识,又要适度提高学生的鉴赏能力,且要教会学生写作规律并提高写作能力,任务之重实难完成。(二)对实用写作的普遍性不重视。“大学语文”教育已经被严重地“边缘化”。目前对中国语文的态度淡漠,而是呈现出全民学英语的大好势头。中小学如此,大学更是如此
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- NX-1607-GMP-Cbl-b-IN-3-GMP-生命科学试剂-MCE-7412
- Isoorotidine-生命科学试剂-MCE-5873
- 3-Methoxy-prostaglandin-F1α-生命科学试剂-MCE-1002
- 二零二五年度红木家具品牌授权合同及清单
- 二零二五年度父母无偿赠与子女房产并约定维修责任协议
- 二零二五年度新能源储能技术融资合同
- 施工现场施工防突发公共卫生事件制度
- 施工单位关于协调配合的联络函
- 雨雪天气的应急预案
- 《运营管理 第7版》课件-chapt.05-选址与设施布置
- 2025保安部年度工作计划
- 2024年江苏经贸职业技术学院单招职业适应性测试题库
- 人居环境综合治理项目项目背景及必要性分析
- 招标采购基础知识培训
- 2024年广东省公务员录用考试《行测》试题及答案解析
- 电力系统分布式模型预测控制方法综述与展望
- 2024年注册建筑师-二级注册建筑师考试近5年真题附答案
- 2024年贵州省中考理科综合试卷(含答案)
- 无人机技术与遥感
- 燃煤电厂超低排放烟气治理工程技术规范(HJ 2053-2018)
- TSG-T7001-2023电梯监督检验和定期检验规则宣贯解读
评论
0/150
提交评论