This example implements the ability to extract all the icons from the user's chosen executable file (the suffix name exe) and to display it on the form.
Add Timage components, Topendialog components, and TButton components to the form, Timage
Use the Easymailobject component in ASP to process Exchange message source code---Save Attachments (saveatt.asp)
'*************************************
' This file is used to download attachments
' Author: Awayeah
' E-mail: awayeah@163.net
'*****
Base64+gzinflate compressed encoded (encrypted) files are usually Eval (Gzinflate (Base64_decode) (a file for the header. The coding and decoding code are given in this paper.
Compressed encoding (encryption) code:
function Encode_file_contents
One, back up the restore by copy mogodb file. (It is recommended to copy the Mogodb lock forbidden to write, to avoid the export of the file and the original library file part of the data inconsistent, or the exported file format is corrupted)1.
Dim Sundyupload_sourcedataClass SundyuploadDim objform,objfile,version,objprogressDim xmlpath,charsetencodingPublic Function Form (strform)Strform=lcase (Strform)If not objform.exists (strform) ThenForm= ""ElseForm=objform (Strform)End IfEnd
First look at the upload section of the form code:
Copy Code code as follows:
Files:
"
Here are a few places to pay attention to, first of all look at this sentence ,type= "file" description of the type of files,
In recent years, the World Wide Web (also known as Global Information Network, WWW) has been changing the face of information processing technology. The web has quickly become an effective medium for people and business to communicate and
Basic knowledge
Shell execution Mode SH xx.sh (file must have R permission) | | ./xx.sh (file must have X permission) Note: Sh xx.sh method is more safeFileName suffix. shShell content Opening #!/bin/bash | | #!/bin/sh | | #!/bin/csh | | #!/bin/ksh
Dim upload, File, MaxWidth, maxheight, Ofilestream, Bytes, ratio1, Ratio2
Set upload = new Upload_fileSet file = Upload.file ("pic")
MaxWidth = CInt (upload. Form ("width")MaxHeight = CInt (upload. Form ("height")
If file. FileSize > 0 Then
Dim Oupfilestream
Class Upload_fileDim form,file,versionPrivate Sub Class_Initialize' Define variablesDim requestbindate,sstart,bcrlf,sinfo,iinfostart,iinfoend,tstream,istart,ofileinfoDim ifilesize,sfilepath,sfiletype,sformvalue,sfilenameDim
'----------------------------------------------------------------------Dim Oupfilestream'----------------------------------------------------------------------' File Upload classClass Upfile_class
Dim Form,file,version,err
Private Sub
Dynamically Loading JAVASCRIPT/CSSS files
The traditional way to load external JavaScript (*.js) or Css (*.css) files is to add them directly to the tag:
Copy Code code as follows:
These files are loaded
---database size distribution
SET NoCount on
CREATE TABLE #DBsize
(
[DatabaseName] [nvarchar] (a) Not NULL,
[Size] [Decimal] Not NULL,
[Name] [nvarchar] (a) Not NULL,
[Filename] [nvarchar] (+) Not NULL
)
CREATE TABLE #drives
(
[Drive]
Bulk Delete GIS data attribute value spaces#-*-coding:utf-8-*-# ---------------------------------------------------------------------------#merge.py#Created on:2015-05-04 10:25:22.00000#(generated by wanglin_tjch)#Description:# ----------------------
The grep command in a Linux system is a powerful text search tool that uses regular expressions to search for text and print matching lines. The grep full name is global Regular expression Print, which represents the globally regular expression
The plist file is stored as text, one character occupies one byte, and the head of the plist file is occupied, which is the total number of characters.The amount of space loaded into memory is the same as the file size.For example, a string below is
-------Android Training, Java training, look forward to communicating with you! ----------I. Overview of IO Streams(1)IO streams are used to process data transfer between devicesThe Java operation of the data is streamed through the wayThe objects
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.