Sample Code of vbs event application in ASP environment

Class topicmodel Public onview Public Function load (ID) If not (isevent (onview) then Onview (1) End if End Function Function isevent (evnet) Isevent = isempty (evnet) End Function End Class Sub updateviewcounter (value) Response. Write

Notes for ASP + COM

As we all know, ASP is a non-typed scripting language, while DLL components developed by VB, Vc, Delphi and other languages are all strongly typed, which leads to a problem. this will cause problems. let me talk about the problem I encountered. I

ASP dynamic cascading menu code

JS script: Dim rs Dim SQL Dim count Dim RS1 Dim sql1 SQL = "select * From region order by zoneid ASC" Set rs = server. Createobject ("ADODB. recordset ") Rs. Open SQL, Conn, 1, 3 %> Form Content: * region: select Sql1 = "select * From bigzone

Implementation of random access record reading in ASP. NET 2.0

Because there is a cache when accessing the ACCESS database using ADO, when database data is randomly extracted, for example, SQL = "select top 10 title, objectguid from document order by RND (ID )", there will be no random records. The following

Code for implementing a random grouping program in asp

Copy codeThe Code is as follows: Function makegroup (teams () As String'Function: Randomly groups 32 teams in the teams array. (Note: The subscript of the teams array starts from 0)'Function variable definition.'Displaying variable declarations is

How to use asp to access web mail

I hope you can click an advertisement! Some days ago, a friend in the group asked me how to implement the email access function on the webpage. Now, the website I saw on the Internet is loaded, and people will be there. This is the html code. Do you

Code used to restrict IP Access in Asp

''Get the visitor's address Ip = Request. ServerVariables ("REMOTE_ADDR ") ''The allowed IP address range is 10.0.0.0 ~ 10.68.63.255Allowip1 = "10.0.0.0"Allowip2 = "10.68.10.71"Response. write checkip (ip, allowip1, allowip2)Function checkip (ip,

Asp.net (downmoon original)

In this article, only the active proxy is used to access the Internet: The Code is as follows: 1. Define variables: Define variable # region define variable Copy codeThe Code is as follows: private string strFireWallIP ...{ Get ...{ Return System.

One of the remote webpage content retrieved in asp.net (original downmoon)

Get one of the remote webpage content (downmoon original) 1. When the local machine directly accesses the Internet: Obtain the content of the specified remote webpage # region obtains the content of the specified remote webpage Copy codeThe Code is

Code for detecting the current NIC address using components in ASP

Option Explicit Private Const NCBASTAT = & H33Private Const NCBNAMSZ = 16Private Const HEAP_ZERO_MEMORY = & H8Private Const HEAP_GENERATE_EXCEPTIONS = & H4Private Const NCBRESET = & H32 Private Type NCBNcb_command As Byte 'integerNcb_retcode As

Available ASP random functions without repeated numbers, array implementation, and applied to the random display record set

Tested by the webmaster of the walking home, the available ASP random functions without repeated numbers are implemented in arrays and applied to the random display record set. Purpose: This function is applicable to the random display of small

Code of the "infinite stream" Paging program in asp

'*************************************** *************************** '** Program name: "infinite stream" Paging Program *** Author: Arbiter (AAsx) '** Version: Million Level '** '** QQ: 22222xx '** Email: Arbiter@21cn.com '**

Side note-Website Assistant Xu Fang modifies the no-kill asp version

side note-the Website Assistant Xu Fang modifies the no-kill version. "" then %> success! :) "%> failed! :( "%>" %>& Lt; td height = "100%" & gt; " %> input path: " %> " %> " %>

How to compile ASP into DLL

How to compile ASP as a DLL to select a Blog from AppleBBS Keyword: how to compile ASP into DLL Source This article mainly turns ASP code into a component. Developers not only speed up ASP, but also protect their own code.Next, we will compile a

ASP database connection code

ASP database connection code 'Solved the ACCESS database path problem! 'Use DBType = 0 or DBType = 1 to distinguish between the AC database and the MSSQL database. 'The precautions for using the AC library are described in the program. -------------

ASP data island operations

'''''''''''''''''''''''''''''''''''''''' ''''''''''''''''''''''' 'Programming By smartpig' '''''''''''''''''''''''''''''''''''''''' ''''''''''''''''''''''' Class TBGrid Public DataSource 'data Source Public style 'total Table style Public headstyle'

Summary and analysis of Excel technology under ASP

ASP Excel Technical Summary DirectoryI. Environment ConfigurationIi. Basic ASP operations on Excel3. Generate a data table using ASP ExcelIv. Generate a Chart using ASP ExcelV. Solutions for viewing, downloading and deleting Excel files on the

Favorite common ASP function sets

ASP function set '======= Obtain the URL with a port, we recommend using ====================== Function Get_ScriptNameUrl () If request. servervariables ("SERVER_PORT") = "80" Then Get_ScriptNameUrl = "http: //" & request. servervariables

Common Asp. Net functions

Abs (number) gets the absolute value of the value. Asc (String) obtains the first ASCII code of a String expression. Atn (number) gets the arc tangent value of an angle. CallByName (object, procname, usecalltype, [args ()]) is used to execute the

ASP program for capturing online real estate information

Untitled Document On error resume next'Server. ScriptTimeout = 999999'================================================ ========================'Character encoding Functions'================================================ ==================Function

Total Pages: 1800 1 .... 1508 1509 1510 1511 1512 .... 1800 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.