Connection Database Option Explicit
' local variable (s) to hold property value (s)
Private lsserver as String ' local copy
Private Lsdatabase as String
' local variable (s) to hold property value (s)
Private lsusername as String ' local
Coding | data | database | compression ' ###### #以下是一个类文件, the following annotation is the method of calling the class ########################
' # Note: If the system does not support the creation of Scripting.FileSystemObject objects, then the
access| Code | data | database | Compressed PURE code to achieve Access database establishment or compression!!
' ###### #以下是一个类文件, the following annotation is the method of calling the class ################################################
' #
Server connects SQL Server's public class BLESTWQ (original)
'*****************************************************************************************************
'//Start date: May 27, 2002
'//End Date: May 27, 2002
'******************************
server| upload Need a adodb.connection, connect user name need sysadmin authority, first RadioButton need xp_cmdshell support, second \ Three need WSH support, When used, it adjusts itself as a result of the restrictions on the server. Example of a
Encryption | Algorithm I think the user password is encrypted is safe (relative), isn't it?
Here is the MD5 encryption algorithm!
Private Const Bits_to_a_byte = 8
Private Const Bytes_to_a_word = 4
Private Const Bits_to_a_word = 32
Private M_lonbits
Upload | upload pictures | No components First, the picture can find the selection in the page. Design form page index.asp and upload Selection page upload.asp,upload.asp included in index.asp with IFRAME.
Second, the selected picture should be
access| Code | data | database | compression ' ###### #以下是一个类文件, the following annotation is the method of calling the class ################################################
' # Note: If the system does not support the creation of
access| Create | dynamic | data | database Imports ADOX
Module Module1
Public Function Createaccessdb (ByVal newdbpathname as String) as Integer
Dim I as Integer = 1
Dim Cat as Catalog = New Catalog ()
Try
Cat. Create
function | member
Ways to prohibit garbage registration
Public Function Checknum (STR)If str= "" Then Exit FunctionIf session (STR) =false ThenRanDomize TimerSession (STR) =int (rnd*9) +1End IfChecknum=session (STR)End FunctionFunction Validinteger
Menu
'****************************************' Class Name: Double Linkage Menu Class'****************************************' This class is originally written by [71port]sean, [71port]80 Port]' [Arisisi] modify and perfect bugs, no copyright,
Ado|vbscript Function Bytes2bstr (VIN)
If LenB (VIN) =0 Then
Bytes2bstr = ""
Exit function
End If
' Binary conversion to string
Dim Bytesstream,stringreturn
Set Bytesstream = Server.CreateObject ("ADODB. Stream ")
Bytesstream.type =
Senior
Engineering name Flysoft class module Image.cls
Option Explicit
'*****************************************************' CSDN VB version online (Tornado 3.0 Smile Proud Lake)' 2005-6-30 Day modified part of code
' Name: Thumbnail watermark
* Written by Jaron, 2003-11-21 * *
* Original source: CSDN Document Center Http://www.csdn.net/develop web Technology Chinese Network http://www.jaron.cn * *
* Reprint Please specify the source and retain this copyright information * *
* * Welcome
web| upload in WebClass using file Upload function
WebClass Example: http://www.shinco.com/jjx/wcnews/news.asp
Many file upload components can not be used in VB normal use, I tested the chinaasp fileup,aspsmartupload,aspupload
Public conn as New ADODB. Connection
Public rs as New ADODB. Recordset
Public Addflag as Boolean
Public Function OPENCN (ByVal Cip as String) as Boolean
Dim Mag as String
On Error GoTo Strerrmag
Set conn = New ADODB. Connection
Conn.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service