首页 软件开发 代码片段 ASP/Basic ( Page 7 )

ASP/Basic 204

#APS/Basic
用于修改 DNS IP 地址的 VB Shell 脚本

' This script changes the DNS servers for a network device in Windows ' to a defined IP or…

2015-07-17 370

#APS/Basic
WshShell对象常用方法介绍

   1.Wscript对象:Windows Script Host object model   首先了解Wscript根对象,简单地说,Wscript对象就是一个Windows…

2015-07-13 382

#APS/Basic
用VBS解压缩ZIP文件

Sub UnZip(ByVal myZipFile, ByVal myTargetDir) If NOT fso.FolderExists(myTargetDir) Then fs…

2015-07-13 592

#APS/Basic
VBScript测试SQL Server 2005数据库连接

Dim conn Set conn = CreateObject("ADODB.Connection") conn.connectionString = "Provider = S…

2015-07-13 331

#APS/Basic
ASP 格式化时间函数

'格式化时间函数 public function formatdate(dateandtime,para) on error resume next dim y, m, d, h,…

2015-07-06 942

#APS/Basic
欧姆龙 PLC 串行口

Do Do str_in = str_in & Link.ReadExisting Loop While ((str_in.Length < length_predi…

2015-07-05 202

#APS/Basic
Luhn算法

<% ' send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California ' 9…

2015-07-04 704

#APS/Basic
按指定数量字节分块读取文件

Option Explicit Private Const OFS_MAXPATHNAME = 128 Private Type OFSTRUCT cBytes As Byte f…

2015-07-04 541

#APS/Basic
getFileSize 获得文件大小

<% ' Copyright (c) 2009, reusablecode.blogspot.com; some rights reserved. ' ' This work…

2015-07-03 826

#APS/Basic
ASP 分页时计算页面总数的几种算法

' HTMer_RecordCount为要计算的页面总数 ' HTMer_RecordCount为记录集数 ' HTMer_PageSize为每页记录数 If HTMer_Reco…

2015-07-01 139

#APS/Basic
读取Excel / CSV 文件到数据库

/// <summary> /// Reads the contents of an excel spreadsheet (.xlsx || .xls) /// or …

2015-06-30 747
1 5 6 7 8 9 17