当前位置: 首页 > 图文教程 > 网络编程 > ASP > 用ASP做一个记事本编缉器(附源码)

ASP
用ASP编写网络传呼机
用ASP+CSS实现随机背景
ASP下载系统防盗链方法
用ASP编写下载网页中所有资源的程序
Request.ServerVariables应用
解决Asp程序的Server.CreateObject错误
ASP实现TCP端口扫描的方法
源码实例:ASP实现远程保存图片
用ASP+DLL实现WEB方式修改服务器时间
ASP使用MySQL数据库全攻略
ASP+SQL Server构建网页防火墙
教程/ASP 十天学会ASP之第二天
教程/ASP 十天学会ASP之第四天
教程/ASP 十天学会ASP之第五天
教程/ASP 十天学会ASP之第六天
教程/ASP 十天学会ASP之第七天
教程/ASP 十天学会ASP之第八天
教程/ASP 十天学会ASP之第九天
教程/ASP 十天学会ASP之第十天
关于学习ASP和编程的28个观点

用ASP做一个记事本编缉器(附源码)


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-03   浏览: 31 ::
收藏到网摘: n/a

  newDoc.asp
     ----------------------------------------------------------
     <%@ Language=VBScript %>
     <SCRIPT id=DebugDirectives runat=server language=javascript>
     // Set these to true to enable debugging or tracing
     @set @debug=false
     @set @trace=false
     </SCRIPT>
     <HTML>
     <HEAD>
     <META name=VI60_defaultClientScript content=VBScript>
     <META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
     
     <SCRIPT ID=clientEventHandlersVBS LANGUAGE=vbscript>
     <!--
     
     Sub button2_onclick
     fo1.TEXTAREA1.style.fontFamily=select1.value
     End Sub
     
     Sub button3_onclick
     fo1.TEXTAREA1.style.fontSize=select2.value
     End Sub
     
     Sub button4_onclick
     if button4.value="Bold" then
     button4.value="Un Bold"
     fo1.TEXTAREA1.style.fontWeight="Bold"
     else
     button4.value="Bold"
     fo1.TEXTAREA1.style.fontWeight="normal"
     end if
     End Sub
     
     Sub button5_onclick
     if button5.value="Italics" then
     button5.value="Un Italics"
     fo1.TEXTAREA1.style.fontstyle="italic"
     else
     button5.value="Italics"
     fo1.TEXTAREA1.style.fontstyle="normal"
     end if
     End Sub
     Sub button6_onclick
     window.close
     End Sub
     
     -->
     </SCRIPT>
     </HEAD>
     <BODY>
     <FONT face=arial size=3 color=royalblue><B>ASP NOTEPAD</b></font>
     <%dim x
     if Request("type")="save" then
     x = 1
     end if
     %>
     <OBJECT id=OBJECT1 PROGID="Scripting.FileSystemObject" RUNAT="server"></OBJECT>
     <TABLE bgColor=blanchedalmond border=0 cellPadding=1 cellSpacing=1
     width="100%">
     <TR>
     <TD>
     <% if not len(request("doc"))=0 then%>
     <Font face=arial size=2>Document:<B> <%=Request.querystring("doc")%></B></font>
     <%else%>
     <Font face=arial size=2>Document:<B> Untitled</B></font>