请您先登录,才能继续操作

zip文件

windows nt4 操作系统源代啊 windows_nt_4_source_code.zip 评分:

windows_nt_4_source_code.zip 是微软的windows NT4 操作系统的源代码,被其合作伙伴泄露 。
立即下载
rar文件
VB编程资源大全(英文源码 API)

1 , docudel.zip
This example shows how to clear the document history on the start menu.
2 , BatteryAPIdemo.zip
This example demonstrates how to "To get information about the battery status with out having to use the SysInfo.ocx from MS"
3 , DisableXexam.zip
This example easily demonstrates how to remove the "X" from your forms.
4 , manc-sleep.zip
This example demonstrates how to pause for a specified duration in seconds using the 'Sleep' win32 API function.
5 , camp-api.zip
An example of editing the "win.ini" file to execute programs when Windows loads.
6 , win32api.exe
This will install the Win32API.txt on your system. This file holds all API declarations for Windows. Must 下载.
7 , transparentblt.zip
This demonstrates how to display an image transparently on the form. An excellent example.
8 , MessageBoxDemo.zip
Manipulate Message Boxes using API. These include a self-closing message box, and a form-centered message box.
9 , menucol.zip
This shows how to add "columns" to your menus. An excellent example.
10 , changeborder.zip
Have you ever wanted to change the border style during runtime? Now you can using SetWindowLong. This example demonstrates greatly how you can accomplish this.
11 , capmousedemo.zip
This example demonstrates how to Set capture on the mouse to detect when it enters and leaves a specific portion of your form.
12 , apilines.zip
This example demonstrates how to draw lines using API.
13 , killapp.zip
This is a bas file to close any window with just it's caption.
14 , combohgt.zip
This demonstrates how to change the height of a combobox's drop-down height using API.
15 , bat-os.zip
This demonstrates how to retrieve information about Battery Powered machines.
16 , display.zip
This will open the Screen Resolution Dialog so you can manipulate it.
17 , ciasystray.zip
This shows you how to add your icon to the system tray without any third-party controls.
18 , taskbar.zip
This demonstrates how to Hide and Show the taskbar.
19 , wpchanger.zip
This shows how to change Windows' Desktop Wallpaper
20 , discad.zip
This shows how to disable control alt and delete by tricking the computer into thinking that the screensaver is running.
21 , windowfrompoint.zip
Get a window's handle from the current cursor position.
22 , api.zip
api function collection
23 , benchmark.zip
This program is very usefull program which gets the details of your computer and have an ability of changing some system details.
24 , menustructure.zip
This program will retrieve the full menu structure of a Form, up to three levels, and allow the user to modify it.
25 , crackPassword.zip
This is a very unusual program which will let you read behind those ******* in password fields and recover captions from Dialogs, Labels, Command Buttons, TextBoxes...
26 , hotkey_source.zip
Hotkey Manager Beta Version: Manages and implements hotkey in Windows 95/98/NT.
27 , rjsoftapisamples.zip
The samples included in this project use the few API
28,sysmetrics.zip
This is a windows information viewer. You can use this sample to find or select an open window, and view information about the window, such as its hwnd, size, and parent window.
29,launcher.zip
This is an ActiveX DLL that causes a client app to wait for another app to finish. The library takes care of launching the new app and doing all of the synchronization. It also returns the exit code for the process.
30,servcont.zip
It enables you to start and stop NT Services through the Win32 API, change the startup type and the security account associated with it. Included is a test harness so that people can see how it works. The code has been tested under NT4 SP6a
31,passdemo.zip
This is a very good example of how to use the registry to save data. It shows how to create, store and save a password to the registry and also encrypts it to keep out prying eyes.
32,delay.zip
This is a rough translation of the GetTickCount API and includes three different ways to pause an application.
33,cdromsystray.zip
This excellent program which was sent to us annoymously adds an icon to the systray (bottom right on the start menu bar) and allows you to control the opening and closing of the CDROM.. Easily adaptable, and if you wrote this and want to be credited
34,rgbdemo.zip
Very small, very fast. Complete source included to demonstrate how to translate a long to red, green and blue values
35,sleep2.zip
This is a small project showing how to use the Sleep API call from within your program to pause for a set period of time. Its much better than looping round as it uses very little CPU time
36,threads.zip
This application is only used to show how a multithreaded program is structured through the 'eyes' of VB. If you follow the logic of the program it does teach a lot about multithreading and the necessary techniques to do this in a 'Thread Safe environmen
37,callback.zip
This small project is for the more advanced VB users and shows an undocumented VB function and an undocumented Win32 API function. Demonstrated in the project how to use these two functions in order to raise events in a class from a module
38,ctaskmanager.zip
This application contains the same basic functionality as the task manager in Windows. It allows you to see the loaded windows on your system as well as the class, position and process ID for each window. Remember that every process running on a system
39,cprocessfinished.zip
This little routine will test if a shelled process has finished executing and return true or false. Its bits of code like that we would like more of, so please send them.
40,apimsg.zip
API Message Box
41,freespc.zip
Get a Drive's Free Space
42,drvinfo.zip
Get Drive Information (S/N, Label, Format)
43,nodisk.zip
Show Message When There is No Disk in a Drive
44,fullpath.zip
Add Full Paths to a TreeView
45,disksrch.zip
Search for Disk in a Removable Drive
46,drvtype.zip
Determine Drive Type
47,findcd1.zip
Find the First CD-ROM
48,xxsShell32.zip
Shell32 functions and subs wrapper for VB developers.
49,api2.zip
This application is designed to help VB Developer to find Windows API Easely.
50,qsvb.zip
QuickSilver for Visual Basic, aims to provide a wrapper for all important Windows API functions by a simple class. All the operations are included as properties and methods that can used with the same ease as any other part of your dream project.
51,CPUInfo.zip
This code will quickly tell you a lot of your system information like computer name, IP address, OS, Service Pack, Processor Vendor, Processor Type, Processor Speed (Raw and Normal), RAM (Total and Available).
52,Callbacks.zip
It is nice little application, which demonstrates WinAPI Callbacks. It hides and restors all Yahoo chatting window in a single click.
53,ShellTrayIcon.zip
The CShellTrayIcon class allows your VB application to set, change and delete icons in the system's tray (note: the official term for the tray is the taskbar notification area). The class raises an event in your application when the user clicks an icon in the tray.
54,EventCtl.zip
This little control greatly simplifies the business of subclassing a form to get at the extra events that the Visual basic designers left out. i.e.:
55,EuroCalc2.zip
In place conversion between every one of the European Monetary Union member currencies and the Euro.
56,Edge.zip
In my program i have used few API functions to set 3D,Sunken,etched effects to the images of your image control.Another example shows how to change your label control to a 3D command button almost functionally.
57,Prjfloat.zip
I have used two APIFuctions 'Setwindowword' and 'Setparent' to make the child window float
freely and with in the parent window. Open with vb5 and vb6.
58,FilterTextBox.zip
This program shows how to filter out characters from TextBox control.Uses GetWindowLong and SetWindowLong APIs.
59,SysControl.zip
This is a program that will let you show, hide, alter text, capture a picture, change the parent, kill, close, enable, disable, get info on, minimize, maximize, restore, capture a picture of, make them stay-on-top, send a message to, edit the window style, and flash the title bar on almost any target!
60,LBApi.zip
This program uses Sendmessage API function for additem,removeitem,clear,selcount,listcount etc, with a horizontal scroll bar.(List/combo)
61,winnanny.zip
U can use Winnanny to restrict unauthorised people from running programs u don't want them to on your pc .It Uses simple api functions to do this.
62,ReadWriteIni.zip
Creates .ini file, writes to it and reads from it. Demo project shows how to write usernames and passwords. For clarity's sake I made it write user color preferences.
63,capture.zip
This program captures the active window and displays it to a Picture box.
64,TransIco.zip
An update to my previous code : Added a couple of features some ppl asked me for...like the ability to change the text colour of the icon and also keep the background transparent after a desktop refresh.
65,shutdown.zip
Shut Down Windows with Windows Shutdown Dialog.This is the real thing , not Kill , It is a real API Call, I hope you find it useful.
66,alarm.zip
A VB alarm clock.
67,clcViewWinInfo.zip
ViewWinInfo is a windows information viewer. You can use this sample to find or select an open window, and view information about the window, such as its hwnd, size, and parent window.
68,ptinrect.zip
Use the PtInRect API function to create an annoying program.
69,fliphorizvert.zip
Flips a picture using the StretchBlt API function.
70,animation.zip
Use BitBlt to crate flickerless animation

立即下载
pdf文件
Linux操作系统基础教程

Linux 操作系统基础教程 清华大学信息学院计算机系 目 录 前言..................................................................................................................................................2 第一讲 Linux基础...........................................................................................................................2 一.什么是Linux?.................................................................................................................2 二.安装Linux的好处?.........................................................................................................3 三.如何得到Linux?.............................................................................................................3 四.如何得到Linux的最新消息?.........................................................................................3 五.Linux操作系统上有什么应用?.....................................................................................4 六.在那里可以找到讨论区?..............................................................................................5 七.安装过程..........................................................................................................................5 第二讲 Linux基础进阶...................................................................................................................5 一.Linux的文件系统结构.....................................................................................................6 二. 文件类型...........................................................................................................................7 三.Linux基本操作命令............................................................................................................8 四.基本的系统管理命令.......................................................................................................14 五.关於 Process 处理的指令...............................................................................................16 六. 关於字串处理的指令.....................................................................................................17 七. 网路上查询状况的指令.................................................................................................17 八. 网路指令.........................................................................................................................18 九. 关於通讯用的指令.........................................................................................................21 十. 编译器( Compiler )..........................................................................................................22 十一. 有关列印的指令.........................................................................................................22 第三讲 Linux下的网络服务,配置问题和常用工具.................................................................24 一.Linux下的网络服务.......................................................................................................24 二.几种重要的配置文件.......................................................................................................26 三.Linux下常用的工具软件..................................................................................................28 尾语................................................................................................................................................31 前言 Linux 是在 1991 年发展起来的与 UNIX兼容的操作系统,可以免费使用,它的源代码 可以自由传播且可任人修改、充实、发展,开发者的初衷是要共同创造一个完美、理想并 可以免费使用的操作系统。 我们并不能使同学们通过这次系列讲座成为一个 UNIX 类操作系统的高手,这次系列 讲座的目的就是在同学们中间普及 Linux 基础知识,为今后我们更加接近的了解 Linux 做一 个好的开端。 第一讲 Linux基础 在这一讲中,我们主要是了解一下 Linux 的概况,以及对 Linux 有一个初步的感性认识。 一.什么是Linux? Linux 是一个以 Intel 系列 CPU(CYRIX,AMD 的 CPU也可以)为硬件平台,完全免费的 UNIX 兼容系统,完全适用于个人的 PC。它本身就是一个完整的 32 位的多用户多任务操作 系统,因此不需要先安装 DOS 或其他的操作系统(MS Windows, OS2, MINIX..)就可以进 行直接的安装。 Linux的最早起源是在1991年10月5日由一位芬兰的大学生Linux Torvalds (Torvalds@kruuna.helsinki.fi)写了 Linux核心程序的 0.02 版开始的,但其后的发展却几乎都 是由互联网上的 Linux社团(Linux Community)互通交流而完成的。Linux 不属于任何一 家公司或个人,任何人都可以免费取得甚至修改它的源代码(source code)。Linux 上的大部 分软件都是由 GNU倡导发展起来的,所以软件通常都会在附着 GNU Public License(GPL) 的情况下被自由传播。GPL 是一种可以使你免费获得自由软件的许可证,因此 Linux 使用 者的使用活动基本不受限制(只要你不将它用于商业目的),而不必像使用微软产品是那样, 2需要为购满许可证付出高价还要受到系统安装数量的限制。我在讲义的最后面附有 GPL 的 非官方中文译稿。目前 Linux 中国的发行版本(Linux Distribution)主要有 Red Hat (红帽子) , Slackware, Caldera, Debian, Red Flag (红旗) , Blue Point (蓝点) , Xteam Linux (冲浪) , Happy Linux(幸福Linux), Xlinux 等若干种,我推荐同学们使用的发行版本是 Red Hat(事实标 准)和 Xlinux(安装最容易)。 二.安装Linux的好处? Linux的核心具有 Windows 无法比拟的稳定性和高效率,在不使用 X Windows 的情况 下,它占用系统资源较少,可以使一台 Intel486摇身一变成为高效工作站。对于想要学习 UNIX的用户来说,使他们熟悉 UNIX 操作环境,通往"骨灰级"高手境界的一大捷径。最重 要的是,Linux 上有公认的 C 语言世界最好的编译器 gcc,如果你想得到一个效率更高的开 发环境(并不一定是最友好的,但一定是最强大的),我建议你一定要好好的熟悉一下 Linux。 三.如何得到Linux? 据我所知,大多数的 Linux 发行版本(Linux distribution)和核心(Kernel)都是可以 从网上下载的,但是我不推荐易用这种方法得到 Linux,因为仅仅核心就有几十个 Mbit 的 数据量,而一个完整的发行版本大概都是 1Gbit 左右的数据量,你自己可以估计一下得用多 少时间来下载它们?我建议你最好去软件商店买光盘来,因为 Linux 的产品光盘是非常便宜 的,连带许可证 GPL 在内你大概支付 50 元人民币就可以,而具有同样功能的 Windows NT 4.0 你至少得付出 17000元人民币(有一点需要声明:在你购买光盘时 GPL 许可证你是不会 肉眼看到的)。直接到商店去买,可以省去你很多麻烦,因为从网上下载的 Linux有很多它 还是要求你有光盘刻录工具将安装文件刻到光盘上。 四.如何得到Linux的最新消息? 关于 Linux 的站点现在到处都是,我这里向大家推荐的是一个关于 Linux 核心最新消息 的一个网站,你可以得到核心(Kernel)发展情况的最新信息。网址如下: http://www.kernel.org 另外还有一个非常著名的讨论组,你也可以去看看:http://www.linuxforum.net 另外还有一 个我常去的讨论组,这个讨论组是有高手专门维护的,而且回应贴子的速度很快: http://www.coventive.com.cn/club/default.htm在我这份讲义快写完的时候,又有一个非常好的 自由软件团体出现了,那就是 AKA,大家可以到他们的网页上去看看,里面有许多很实用的 3信息:http://www.aka.org.cn 五.Linux操作系统上有什么应用? Linux 上有丰富的的应用软件,在这里我给大家做一个简单的介绍,具体它们是什么样 子我会在讲座上为大家一一演示。 文本处理方面(控制台界面,X Window界面在后面介绍) vi 最令 UNIX类操作系统初学者裹足不前的 editor,然而只要你习惯于操作,你会觉得 它比任何的 editor都好用,且功能强大。 pico 一种风格很像 Microsoft DOS的 EDIT 的一种文本编辑器。 中文化方面 XCIN+Crxvt 缺省的 Linux 系统是不支持显示中文的,虽然现在国内涌现出许多著名的 Linux 汉化厂商,但是一些著名的 Linux distribution 如 Red Hat、Debian、Caldera 仍然不支 持中文的输入和输出。这套汉化工具组合在控制台(console)方式和 X Window方式下都可 以显示和输入汉字信息。 Cxterm 可以很容易的自行设置输入法,或者修改现有的输入法表格。 视窗界面(window manager)方面 KDE 这是 X Window System使用率最高的 Window Manager。 lFvwm 公认的最为好用的 Window Manager之一。 Fvwm95 拥有和 Microsoft Win95 同样界面的 Window Manager。 Afterstep 公认的最好看的 Window Manager,但号内存也很大。 Enlightenment 界面最华丽的 Window Manager, Win95 和它相比简直就是 nothing,但是 号内存太大,有点华而不实。 lIcewin 又一个极富个性的 Window Manager。 视窗应用软件方面 WWW Browser Netscape公司的 navigator3.x 和communicator4.x 版可用,使用方法和 MS Windows上一样。 图像处理 GIMP是类似于 Photoshop的绘图软件,号称是 Linux 上最强的绘图软件。 看图工具 MTV 这是一个可以播放 VCD的软件,但是它是共享软件(Shareware),不是免费软件, 我们也得不到它的源代码。 Star Office 这是一套著名的办公软件,我个人认为它无论在界面上还是在功能上都强于 Microsoft Office 产品。唯一的缺憾是他不支持汉字,无论 GB 还是 BIG5。 Word Perfect 这是一个非常精彩的字处理软件,功能类似于 Microsoft Word。 4文杰字处理系统 这是一套由韩国人开发的字处理系统,功能强大,有专门的中文版推出, 类似于 Microsoft Word。 编译环境 gcc 公认的C 语言世界中功能最为强大的编译器,但是界面不是很友好。 除此之外还有 FORTRAN、 Pascal、 GNU make、 GNU debugger、 GNU LISP、 GNU PERL、 TCL。 这里因为本人对这些编译工具都不熟悉,因此不多介绍。 MS Windows的模拟环境 WINE 可以使绝大多数的 16 位 MS Window程序运行在这个模拟环境中。但是不支持 32 位的程序。 六.在那里可以找到讨论区? 大家最熟悉的是北邮的 BBS: 202.204.7.235 port:23 七.安装过程 这是非常重要的一部分,希望大家仔细了解本部分内容。 就我个人认为,对于初学者来说,Linux 的安装过程是相当难的,新手往往会遇到系统 屡装不成的情况。遇到这种事情,是非常痛苦的,但是几乎每个新手又都会遇到,因此我 觉得安装过程应当仔细的说明一下。但是由于篇幅有限,我不见这个这个问题在讲义的正 文中陈述,而是把它放在附文 2 中仔细说明。希望没有安装过 Linux 的同学们将这篇文章看 一看。我想在上课的时候我会给大家演示一遍安装的过程。 第二讲 Linux基础进阶 经过上一节课的探讨,我想同学们应该对 Linux 有了一个初步的感性认识,但我们的 认识还只是处在一个尚需进步的表层上。通过这一节的学习,同学们会对 Linux 的体系结构, 它的基本操作,基本功能有一个更进一步的认识。 5 一.Linux的文件系统结构 Linux的文件系统和MS-Windows的文件系统有很大的不同,对于微软视窗系统的文件 结构我在这里不再多说,我们主要了结一下 linux的文件系统结构. linux 只有一个文件树,整 个文件系统是以一个树根"/"为起点的,所有的文件和外部设备都以文件的形式挂结在这个文 件树上,包括硬盘,软盘,光驱,调制解调器等,这和以"驱动器盘符为基础的 MS-Windows 系统 是大不相同的.Linux 的文件结构体现了这个操作系统简洁清析的设,常我们能够接触到的 linux 发行版本的根目录大都是以下结构: /bin /etc /lost+found /sbin /var /boot /root /home /mnt /tmp /dev /lib /proc /usr 现在我将这些目录给大家做一个简要的介绍: 1. /bin和/sbin 使用和维护UNIX和Linux系统的大部分基本程序都包含在/bin和/sbin里,这两个目录 的名气之所以包含 bin,是因为可执行的程序都是二进制文件(binary files). /bin 目录通常用来存放用户最常用的基本程序,如: login Shells 文件操作实用程序 系统实用程序 压缩工具 /sbin 目录通常存放基本的系统和系统维护程序,如: fsck fdisk mkfs shutdown lilo init 存放在这两个目录中的程序的主要区别是:/sbin 中的程序只能由 root(管理员)来执行. 2. /etc 这个目录一般用来存放程序所需的整个文件系统的配置文件,其中的一些重要文件如 下: passwd shadow fstab hosts motd profile shells services lilo.conf 3. /lost+found 这个目录专门是用来放那些在系统非正常菪机后重新启动系统时,不知道改网哪里恢复 的"流浪"文件的。 4. /boot 这个目录下面存放着和系统启动有关系的各种文件,包括系统的引导程序和系统核心 部分。 65. /root 这是系统管理员(root)的主目录。 6. /home 系统中所有用户的主目录都存放在/home 中,它包含实际用户(人)的主目录和其他用户 的主目录.Linux同 UNIX 的不同之处是,Linux的 root 用户的主目录通常是在/root或 /home/root,而 UNIX 通常是在/。 7. /mnt 按照约定,像 CD-ROM,软盘,Zip盘,或者 Jaz这样的可以动介质都应该安装在/mnt 目录下,/mnt 目录通常包含一些子目录,每个子目录是某种特定设备类型的一个安装点。 例如: /cdrom /floppy /zip /win .... 如果我们要使用这些特定设备,我们需要用 mount 命令从/dev 目录中将外部设备挂接 过来。在这里大家可能看到了有一个 win 的目录,这是我的机子上面做的一个通向 windows 文件系统的挂接点,这样我通过访问这个目录就可以访问到我在 windows 下面的文件了。 但如果你的 windows 文件系统是 NTFS 格式,那么这个办法就不行了。 8. /tmp和/var 这两个目录用来存放临时文件和经常变动的文件。 9. /dev 这是一个非常重要的目录,它存放着各种外部设备的镜像文件,其中有一些内容我们 是要牢牢记住的。例如第一个软盘驱动器的名字是 fd0;第一个硬盘的名字是 hda,硬盘中的 第一个分区是 hda1,第二个分区是 hda2;第一个光盘驱动器的名字是 hdc;此外,还用 modem 和其他外设的名字,在这么多的名字中,我们只需要记住最最常用的那几个外设就可以了。 10. /usr 按照约定,这个目录用来存放与系统的用户直接相关的程序或文件,这里面有每一个 系统用户的主目录,就是相对于他们的小型"/"。 11. /proc 这个目录下面的内容是当前在系统中运行的进程的虚拟镜像,我们在这里可以看到由 当前运行的进程号组成的一些目录,还有一个记录当前内存内容的 kernel 文件。 就个人经验,我认为这些目录以及在它们下面应该存储什么内容,我们都应当很熟练的 记下来,这对于我们进一步的使用系统是很有帮助的。 二. 文件类型 本来我是想把基本操作命令放在这里介绍一下,但是这些命令中又不少是涉及到文件类 7型的,所以我就只好先介绍一下文件类型了。 Linux 的文件类型大致可分为五类,而且它支持长文件名,不论是文件还是目录名,最 长可以达到 256 个字节。如果你能够用 128 个汉字写一片小作文,那你也可以用它来做某 个文件的文件名(当然这里面不能有不合规定的命名字符存在)。 1. 一般性文件 一般性文件,例如纯文本文件 mtv-0.0b4.README,设置文件 lilo.conf,记录文件 ftp.log 等等都是。一般类型的文件在控制台的显示下都没有颜色,系统默认的是白色。 2. 目录 至于目录是什么意思我就不解释了,我的任务是要告诉大家,你可以用 cd+目录名进 入到这个目录中去,而这个目录在控制台下显示的颜色是蓝色的,非常容易辨认。如果你 用 ls -l 来观看它们,会发现它们的文件属性(共 10 个字符)的一个字符是 d,这表明它是一 个目录,而不是其它的东西。 三.Linux基本操作命令 首先介绍一个名词"控制台(console)",它就是我们通常见到的使用字符操作界面的 人机接口,例如 dos。我们说控制台命令,就是指通过字符界面输入的可以操作系统的命令, 例如dos命令就是控制台命令。我们现在要了解的是基于Linux操作系统的基本控制台命令。 有一点一定要注意,和 dos 命令不同的是,Linux 的命令(也包括文件名等等)对大小 写是敏感的,也就是说,如果你输入的命令大小写不对的话,系统是不会做出你期望的响 应的。 1. ls 这个命令就相当于 dos 下的 dir命令一样,肯定是我第一个就要介绍的,这也是 Linux 控制台命令中最为重要几个命令之一。ls 最常用的参数有三个: -a -l -F。 ls -a Linux 上的文件以.开头的文件被系统视为隐藏文件,仅用 ls 命令是看不到他们的,而用 ls -a 除了显示 一般文件名外,连隐藏文件也会显示出来。 ls -l(这个参数是字母 L 的小写,不是数字 1) 这个命令可以使用长格式显示文件内容,如果需要察看更详细的文件资料,就要用到 ls -l 这个指令。例如我在某个目录下键入 ls -l 可能会显示如下信息(最上面两行是我自己加 的): 位置 1 2 3 4 5 6 7 文件属性 文件数 拥有者 所属的group 文件大小 建档日期 文件名 drwx------ 2 Guest users 1024 Nov 21 21:05 Mail 8 -rwx--x--x 1 root root 89080 Nov 7 22:41 tar* -rwxr-xr-x 1 root bin 5013 Aug 15 9:32 uname* lrwxrwxrwx 1 root root 4 Nov 24 19:30 zcat->gzip -rwxr-xr-x 1 root bin 308364 Nov 29 7:43 zsh* -rwsr-x--- 1 root bin 9853 Aug 15 5:46 su* 下面,我为大家解释一下这些显示内容的意义。 第一个栏位,表示文件的属性。 Linux 的文件基本上分为三个属性:可读(r),可写(w),可执行(x)。但是这里有 十个格子可以添(具体程序实现时,实际上是十个 bit 位)。第一个小格是特殊表示格,表 示目录或连结文件等等,d 表示目录,例如 drwx------;l 表示连结文件,如 lrwxrwxrwx;如果 是以一横"-"表示,则表示这是文件。其余剩下的格子就以每 3 格为一个单位。因为 Linux 是多用户多任务系统,所以一个文件可能同时被许多人使用,所以我们一定要设好每个文 件的权限,其文件的权限位置排列顺序是(以-rwxr-xr-x 为例): rwx(Owner)r-x(Group)r-x(Other) 这个例子表示的权限是:使用者自己可读,可写,可执行;同一组的用户可读,不可 写,可执行;其它用户可读,不可写,可执行。另外,有一些程序属性的执行部分不是 X, 而是 S,这表示执行这个程序的使用者,临时可以有和拥有者一样权力的身份来执行该程序。 一般出现在系统管理之类的指令或程序,让使用者执行时,拥有 root身份。 第二个栏位,表示文件个数。 如果是文件的话,那这个数目自然是 1 了,如果是目录的话,那它的数目就是该目录 中的文件个数了。 第三个栏位,表示该文件或目录的拥有者。 若使用者目前处于自己的 Home,那这一栏大概都是它的账号名称。 第四个栏位,表示所属的组(group)。 每一个使用者都可以拥有一个以上的组,不过大部分的使用者应该都只属于一个组,只 有当系统管理员希望给予某使用者特殊权限时,才可能会给他另一个组。 第五栏位,表示文件大小。 文件大小用 byte 来表示,而空目录一般都是 1024byte,你当然可以用其它参数使文件 显示的单位不同,如使用 ls -k 就是用 kb 莱显示一个文件的大小单位,不过一般我们还是以 byte 为主。 第六个栏位,表示创建日期。 以"月,日,时间"的格式表示,如 Aug 15 5:46表示 8 月15日早上 5:46分。 第七个栏位,表示文件名。 我们可以用 ls -a 显示隐藏的文件名。 Ls -F(注意,是大写的 F) 9 使用这个参数表示在文件的后面多添加表示文件类型的符号,例如*表示可执行,/表示 目录,@表示连结文件,这都是因为使用了-F这个参数。但是现在基本上所有的 Linux 发 行版本的 ls都已经内建了-F参数,也就是说,不用输入这个参数,我们也能看到各种分辨 符号。 2. cd命令 这个命令是用来进出目录的,它的使用方法和在 dos 下没什么两样,所以我觉得没什么 可说的,但有两点我补充一下。 首先,和dos 不同的是Linux 的目录对大小写是敏感的,如果大小写没拼对,你的 cd 操作是成功不了的。 其次,cd如果直接输入,cd 后面不加任何东西,会回到使用者自己的 Home Directory。 假设如果是 root,那就是回到/root.这个功能同 cd ~是一样的。 3. mkdir,rmdir 命令 mkdir 命令用来建立新的目录,rmdir用来删除以建立的目录,这两个指令的功能不再 多加介绍,他们同 dos下的 md,rd 功能和用法都是基本一样的。 4. cp命令 这个命令相当于 dos下面的 copy命令,具体用法是: cp -r 源文件(source) 目的文件(target) 参数 r是指连同元文件中的子目录一同拷贝。熟悉 dos 的读者用起这个命令来会觉得更 方便,毕竟比在 dos 下面要少敲两下键盘。 5. rm 命令 这个命令是用来删除文件的,和 dos 下面的 rm(删除一个空目录)是有区别的,大家 千万要注意。Rm命令常用的参数有三个: -i,-r,-f。 比如我现在要删除一个名字为 text 的一个文件: rm -i test 系统会询问我们:"rm:remove 'test'?y",敲了回车以后,这个文件才会真的被删除。之 所以要这样做,是因为 linux 不象dos那样有 undelete 的命令,或者是可以用 pctool 等工具 将删除过的文件救回来,linux 中删除过的文件是救不回来的,所以使用这个参数在删除前 让你再确定一遍,是很有必要的。 rm -r 目录名 这个操作可以连同这个目录下面的子目录都删除,功能上和 rmdir相似。 rm -f 文件名(目录名) 这个操作可以进行强制删除。 6. mv 命令 这个命令的功能是移动目录或文件,引申的功能是给目录或文件重命名。它的用法同 10dos 下面的 move 基本相同,这里不再多讲。当使用该命令来移动目录时,他会连同该目录 下面的子目录也一同移走。另外因为 linux 下面没有 rename 的命令,所以如果你想给一个 文件或目录重命名时可以用以下方法: mv 原文件(目录)名 新的文件(目录)名 7. du,df 命令 du 命令可以显示目前的目录所占的磁盘空间,df 命令可以显示目前磁盘剩余的磁盘空 间。 如果 du 命令不加任何参数,那么返回的是整个磁盘的使用情况,如果后面加了目录的 话,就是这个目录在磁盘上的使用情况(这个功能可是 dos 没有的呦)。不过我一般不喜欢 用 du,因为它给出的信息是在是太多了,我看不过来,而 df这个命令我是最常用的,因为 磁盘上还剩多少空间对我来说是很重要的。 8. cat 命令 这个命令是 linux 中非常重要的一个命令,它的功能是显示或连结一般的 ascii 文本文 件。cat是 concatenate 的简写,类似于 dos 下面的 type 命令。它的用法如下: cat text 显示 text 这个文件 cat file1 file2 依顺序显示 file1,file2的内容 cat file1 file2>file3 把 file1,file2 的内容结合起来,再"重定向(>)"到 file3文件中。 "〉"是一个非常有趣的符号,是往右重定向的意思,就是把左边的结果当成是输入,然 后输入到 file3 这个文件中。这里要注意一点是 file3 是在重定向以前还未存在的文件,如果 file3 是已经存在的文件,那么它本身的内容被覆盖,而变成 file1+file2的内容。 如果〉左边没有文件的名称,而右边有文件名,例如: cat >file1 结果是会"空出一行空白行",等待你输入文字,输入完毕后再按[Ctrl]+[c]或[Ctrl]+[d], 就会结束编辑,并产生 file1 这个文件,而 file1 的内容就是你刚刚输入的内容。这个过程和 dos 里面的copy con file1的结果是一样的。 另外,如果你使用如下的指令: cat file1>>file2 这将变成将 file1 的文件内容"附加"到 file2 的文件后面,而 file2 的内容依然存在,这种 重定向符〉〉比〉常用,可以多多利用。 9. more,less命令 这是两个显示一般文本文件的指令。 如果一个文本文件太长了超过一个屏幕的画面,用 cat 来看实在是不理想,就可以试试 more 和 less两个指令。More 指令可以使超过一页的文件临时停留在屏幕,等你按任何的一 个键以后,才继续显示。而 less 除了有 more 的功能以外,还可以用方向键往上或网下的滚 11动文件,所以你随意浏览,阅读文章时,less 是个非常好的选择。 10. clear 命令 这个命令是用来清除屏幕的,它不需要任何参数,和 dos 下面的 clr具有相同的功能, 如果你觉得屏幕太紊乱,就可以使用它清除屏幕上的信息。 11. pwd命令 这个命令的作用是显示用户当前的工作路径,这个命令不用多说,大家一试即知。 12. ln命令 这是 linux中又一个非常重要命令,请大家一定要熟悉。它的功能是为某一个文件在另 外一个位置建立一个同不的链接,这个命令最常用的参数是-s,具体用法是: ln -s 源文件 目标文件 当我们需要在不同的目录,用到相同的文件时,我们不需要在每一个需要的目录下都 放一个必须相同的文件,我们只要在某个固定的目录,放上该文件,然后在其它的目录下 用 ln 命令链接(link)它就可以,不必重复的占用磁盘空间。例如: ln -s /bin/less /usr/local/bin/less -s 是代号(symbolic)的意思。 这里有两点要注意:第一,ln 命令会保持每一处链接文件的同步性,也就是说,不论 你改动了哪一处,其它的文件都会发生相同的变化;第二,ln 的链接又软链接和硬链接两 种,软链接就是 ln -s ** **,它只会在你选定的位置上生成一个文件的镜像,不会占用磁盘空 间,硬链接 ln ** **,没有参数-s, 它会在你选定的位置上生成一个和源文件大小相同的文件, 无论是软链接还是硬链接,文件都保持同步变化。 如果你用ls 察看一个目录时,发现有的文件后面有一个@的符号,那就是一个用 ln 命 令生成的文件,用 ls -l命令去察看,就可以看到显示的 link 的路径了。 13. man命令 如果你的英文足够好,那完全可以不靠任何人就精通 linux,只要你会用 man。Man 实 际上就是察看指令用法的 help,学习任何一种 UNIX类的操作系统最重要的就是学会使用 man 这个辅助命令。man 是 manual(手册)的缩写字,它的说明非常的详细,但是因为它都是 英文,看起来非常的头痛。建议大家需要的时候再去看 man,平常吗,记得一些基本用法 就可以了。 14. logout 命令 一看就知道了,这是退出系统的命令,我就不多说了。要强调的一点是,linux是多用 户多进程的操作系统,因此如果你不用了,退出系统就可以了,关闭系统你就不用操心了, 那是系统管理员的事情。但有一点切记,即便你是单机使用 linux,logout 以后也不能直接 关机,因为这不是关机的命令。 15. Mount 命令 12这是 Linux 初学者问得最多的问题。由于大家已习惯了微软的访问方法,总想用类似 的思路来找到软盘和光盘。但在 Linux 下,却沿袭了 UNIX 将设备当作文件来处理的方法。 所以要访问软盘和光盘,就必须先将它们装载到 Linux 系统的/mnt 目录中来。 装载的命令是 mount,格式如下:mount -t 文件系统类型 设备名 装载目录 文件 系统类型就是分区格式,Linux 支持的文件系统类型有许多: msdos DOS 分区文件系统类型 vfat 支持长文件名的 DOS 分区文件(可以理解为 Windows 文件)系统类型 iso9660 光盘的文件系统类型 ext2 Linux 的文件系统类型 ...... 设备名,指的是你要装载的设备的名称。软盘一般为/dev/fd0 fd1;光盘则根据你的 光驱的位置来决定,通常光驱装在第二硬盘的主盘位置就是/dev/hdc;如果访问的是 DOS 的 分区,则列出其设备名,如/dev/hda1 是指第一硬盘的第一个分区。 装载目录,就是你指 定设备的载入点。 z 装载软盘 首先用 mkdir /mnt/floppy 在/mnt 目录下建立一个空的 floppy目录,然后输入 mount -t msdos /dev/fd0 /mnt/floppy 将 DOS 文件格式的一张软盘装载进来,以后就可以在 /mnt/floppy目录下找到这张软盘的所有内容。 z 装载 Windows 所在的C 盘 mkdir /mnt/c 在/mnt 目录下建立一个空的 c 目录; mount -t vfat /dev/hda1 /mnt/c 将Windows 的C盘按长文件名格式装载到/mnt/c 目 录下,以后在该目录下就能读写 C盘根目录中的内容 z 装载光盘 mkdir /mnt/cdrom 在/mnt 目录下建立一个空的 cdrom 目录; mount -t iso9660 /dev/hdc /mnt/cdrom 将光盘载入到文件系统中来, 将在/mnt/cdrom 目录下找到光盘内容。有的 Linux 版本允许用 mount /dev/cdrom 或 mount /mnt/cdrom 命 令装载光盘。 要注意的是,用 mount命令装入的是软盘、光盘,而不是软驱、光驱。有些初学者容易 犯一个毛病,以为用上面命令后,软驱就成了/mnt/floppy,光驱就成了/mnt/cdrom,其实 不然,当你要换一张光盘或软盘时,一定要先卸载,再对新盘重新装载。 z 卸载 卸载的命令格式是:umonut 目录名,例如要卸载软盘,可输入命令 umonut /mnt/floppy。 要注意的是,在卸载光盘之前,直接按光驱面板上的弹出键是不会起作用的。 13 四.基本的系统管理命令 系统管理基本上可以分为两种,一种是 root(系统管理员)对 linux的系统管理部分, root 本身的职责就是负责整个 linux系统的运行稳定,增加系统安全性,校验使用者的身份, 新增使用者或删除恶意的使用者,并明确每一个在机器上的使用者权限等等。另一种就是 每一个使用者(包括 root)对自己文件的权限管理。因为 linux 是多用户多任务系统,每一 个使用者都有可能将其工作的内容或是一些机密性的文件放在 Linux工作站上,所以对每个 文件或是目录的归属和使用权,都要有非常明确的规定。下面我就按管理员和一般用户分 类来介绍基本的系统管理命令。 z 管理员使用的系统管理指令 1. adduser 命令 新增使用者账号的命令,如果你想新增一个叫做 jack 的用户,那么需在控制台下输入: adduser jack 这样就增加了一个名字为 jazk 的用户,要注意这里对大小写是敏感的。另外,新增的 用户是没有口令的,你还应当为用户设置口令或者是吩咐用户在第一次登录系统的时候为 自己设置口令。 2. passwd命令 这个命令可以修改特定用户的口令,使用格式是: passwd 用户名 这是,系统会提示你输入新密码,你输入第一遍后,还要输入第二遍进行确认。输入 两遍相同的密码之后,系统就接受了新的密码。如果这个命令是一般用户来使用的话,那 就只能改变它自己的密码。 3. find,whereis,locate命令 这三个命令都是用来查找文件的,使用格式是: find 路径名称 -name 文件名 参数(我们这里就不讨论参数了) whereis 文件名 locate 文件名 一般来说,find 命令功能最为强大,但是对硬件的损耗也是最大的,当你使用 find 去 查找你个文件时,你会发现硬盘等在不停的闪动,这就意味着你的硬盘可能会比别人的少 用个三四年。当你使用whereis 或locate 去查找文件时,你会发现硬盘却是安安静静的,这 是因为这两个命令是从系统的数据库中查找文件,而不是去拼命的读硬盘。所以,如果平 常你只是想找一些笑文件的话,使用 whereis或 locate 就可以了,如果你是要进行系统管理 的工作,那么使用 find再加上一些参数就可以满足你的要求了。 144. su命令 这个命令可以让普通用户变成具有管理员权限的超级用户(superuser),只要它知道知 道管理员的密码就可以。多用户多任务系统的强调的重点之一就是系统的安全性,所以应 避免直接使用 root 身份登录系统去做一些日常性的操作,因为时间一久 root 密码就有可能 被知道而危害到系统安全。所以平常应避免用 root 身份登录,即使要管理系统,也请尽量 使用 su 指令来临时管理系统,然后记住定期的更换 root 密码。 加入你现在是以一个普通用户的身份登录系统,现在你输入: su 系统会要求你输入管理员的口令,当你输入正确的密码后,就可以获得全部的管理员 权限,这是你就是超级用户(superuser)。但你执行完各种管理操作以后,只要输入 logout 就 可以退回到原先的那个普通用户的状态。 5. shutdown,halt 命令 这两个命令是用来关闭 linux 操作系统的。 在前面我说过,作为一个普通用户是不能够随便关闭系统的,因为虽然你用完了机器, 可是这时候可能还有其它的用户正在使用系统。因此,关闭系统或者是重新启动系统的操 作只有管理员才有权执行。另外 linux 系统在执行的时候会用部分的内存作缓存区,如果内 存上的数据还没有写入硬盘,就把电源拔掉,内存就会丢失数据,如果这些数据是和系统 本身有关的,那么会对系统造成极大的伤害。一般,我们建议在关机之前执行三次同步指 令 sync,可以用分号";"来把指令合并在一起执行,如: # sync;sync;sync 使用 shutdown 关闭系统的时候有以下几种格式: shutdown (系统内置 2分钟关机,并传送一些消息给正在使用的 user) shutdown -h now (下完这个指令,系统立刻关机) shutdown -r now (下完这个指令,系统立刻重新启动,相当于 reboot) shutdown -h 20:25 (系统会在今天的 20:25 关机) shutdown -h +10 (系统会在十分钟后关机) 如果在关机之前,要传送信息给正在机器上的使用者,可以加"-q"的参数,则会输出系 统内置的 shutdown 信息给使用者,通知他们离线。 halt 命令就不用多说了,只要你输入 halt,系统就会开始进入关闭过程,其效果和 shutdown -h now是完全一样的,我每次关机的时候都是用 halt。 6. reboot 命令 一看这个词,就知道这个命令是用来重新启动系统的。 当你输入 reboot 后,你就会看到系统正在将一个一个的服务都关闭掉,然后再关闭文 件系统和硬件,接着机器开始重新自检,重新引导,再次进入 linux 系统。 15z 普通用户使用的系统管理指令 1. chown命令 这个命令的作用是改变文件的所有者。 如果你有一个文件名为 classment.list 的文件,所有权要给于另一个账号为 golden的同 学,则可用 chown 来实现这个操作,但是当你改变了文件的所有者以后,该文件虽然在你 的 Home 目录下,可是你已经无任何修改或删除该文件的权限了,这一点同学们千万要注 意。通常会用到这个指令的时机,应该是你想让 linux 机器上的某位使用者到你的 Home 下 去用谋个文件是会用到。不过,泼出去的水就收不回来了,你用这个命令的时候可一定要 想清楚呦。 2. chmod命令 这个命令用来改变目录或文件的属性,是 linux 中一个应当熟悉的命令。 对这个命令,使用的方法很多,鉴于篇幅的原因,我只例出其中我最常用的一种。前 面讲过,一个文件用 10个小格来记录文件的权限。前三个小格是拥有者(user)本身的权 限,中间三个小格是和使用者同一组的成员(group)的权限,最后三个小格是表示其它使 用者(other)的权限。现在我们用三位的 2 进制数来表示相应的三小格的权限,例如: 111 rwx 101 r-x 011 -wx 001 -x 100 r- 这样一来,我们就可以用三个十进制的数来表示一个文件属性位上的十个格,其中每 一个十进制数大小等于代表每三格的那个三位的二进制数。例如,如果一个文件的属性是: rwxr-r--,那么我们就可以用 744 来代表它的权限属性;如果一个文件的属性是:rwxrwxr--, 那它对应的三个十进制数就是 774。这样一来我们就可以用这种简便的方法指定文件的属性 了。例如,我想把一个文件 test.list的属性设置为 rwxr-x---,那么我只要执行: chmod 750 test.list 就可以了,对于改变后的权限,你用 ls -l 就可以看到。 五.关於 Process 处理的指令 1. ps ps 是用来显示目前你的 process 或系统 processes 的状况。 以下列出比较常用的参数: 其选项说明如下: -a 列出包括其他 users 的 process 状况。 -u 显示 user - oriented 的 process 状况 。 -x 显示包括没有 terminal 控制的 process 状况 。 -w 使用较宽的显示模式来显示 process 状况 。 16我们可以经由 ps 取得目前 processes 的状况,如 pid , running state 等。 2. kill kill 指令的用途是送一个 signal 给某一个 process 。因为大部份送的都是用来杀掉 process 的 SIGKILL 或 SIGHUP ,因此称为 kill 。kill 的用法 为: kill [ -SIGNAL ] pid ... kill –l SIGNAL 为一个 singal 的数字,从 0 到 31 ,其中 9 是 SIGKILL ,也就是一般用来 杀掉一些无法正常 terminate 的讯号。其馀讯号的用途可参考 sigvec(2)中对 signal 的 说明。你也可以用 kill -l 来察看可代替 signal 号码的数目字。kill 的详细情形请参 阅 man kill。 六. 关於字串处理的指令 1. echo echo 是用来显示一字串在终端机上。□ echo -n 则是当显示完之後不会有跳行的动 作。 2. grep/fgrep grep 为一过滤器,它可自一个或多个档案中过滤出具有某个字串的行,或是自标准 输入过滤出具有某个字串的行。 fgrep 可将欲过滤的一群字串放在某一个档案中,然後使用 fgrep 将包含有属於这 一群字串的行过滤出来。 grep 与 fgrep 的用法如下: grep [-nv] match_pattern file1 file2 .... fgrep [-nv] -f pattern_file file1 file2 ... -n 把所找到的行在行前加上行号列出 -v 把不包含 match_pattern 的行列出 match_pattern 所要搜寻的字串 -f 以 pattern_file 存放所要搜寻的字串 七. 网路上查询状况的指令 1. man 17man 是手册 ( manual ) 的意思。 UNIX 提供线上辅助( on-line help )的功能, man 就 是用来让使用者在使用时查询指令、系统呼叫、标准程式库函式、各种表格等的使用所用 的。man 的用法如下: man [-M path] [[section] title ] ..... man [-M path] -k keyword ... -M path man 所需要的 manual database 的路径。 我们也可以用设定环境变数 MANPATH 的方式来取代 -M 选项。 title 这是所要查询的目的物。 section 为一个数字表示 manual 的分类,通常 1 代表可执行指令,2 代表系统呼叫 ( system call ) ,3 代表标准函数,等等。 我们如要参考 eqnchar(7) 的资料,则我们就输入 man 7 eqnchar ,便能取得我们所要 的辅助讯息。 -k keyword 用来将含有这项 keyword 的 title 列出来。 man 在 UNIX 上是一项非常重要的指令,我们在本讲义中所述之用法均仅只是一个大家 比较常用的用法以及简单的说明,真正详细的用法与说明还是要请你使用 man 来得到。 2. who who 指令是用来查询目前有那些人在线上。 3. w w 指令是用来查询目前有那些人在线上,同时显示出那些人目前的工作。 4. ku ku 可以用来搜寻整个网路上的 user , 不像 w 跟 who 只是针对 local host 的查询. 而且 ku 提供让使用者建立搜寻特定使用者名单的功能。你可以建立一个档案 information-file 以条列的方式存放你的朋友的资料,再建立一个档案 hosts-file 来指 定搜寻的机器名称。 ku 的指令格式可由 ku -h 得到。 八. 网路指令 UNIX 提供网路的连接,使得你可以在各个不同的机器上做一些特殊的事情,如你可以 在系上的 iris 图形工作站上做图形的处理,在系上的 Sun 上读 News ,甚至到学校的计 中去找别系的同学 talk 。这些工作可以利用 UNIX 的网路指令,在你的位子上连到各个 不同的机器上工作。如此一来,即使你在寝室,也能轻易的连至系上或计中来工作,不用 像以前的人必须泡在冷冰冰的机房面。 这些网路的指令如下所述: 181. rlogin 与 rsh rlogin 的意义是 remote login , 也就是经由网路到另外一部机器 login 。 rlogin 的格式是: rlogin host [ -l username ] 选项 -l username 是当你在远方的机器上的 username 和 local host 不同的时後, 必须输入的选项,否则 rlogin 将会假设你在那边的 username 与 localhost 相同,然後 在第一次 login 时必然会发生错误。 rsh 是在远方的机器上执行某些指令,而把结果传回 local host 。rsh 的格式如下: rsh host [ -l username ] [ command ] 如同 rlogin 的参数 -l username , rsh 的 -l username 也是指定 remote host 的 username 。而 command 则是要在 remote host 上执行的指令。如果没有 指定 command , 则 rsh 会去执行 rlogin ,如同直接执行 rlogin 。 不过 rsh 在执行的时候并不会像一般的 login 程序一样还会问你 password , 而是 如果你没有设定 trust table , 则 remote host 将不会接受你的 request 。 rsh 须要在每个可能会做为 remote host 的机器上设定一个档案,称为 .rhosts。这 个档案每一行分为两个部份,第一个是允许 login 的 hostname , 第二个部份则是允许 login 的username 。 例如, 在 ccsun7.csie.nctu.edu.tw 上头你的 username 为 QiangGe , 而你的 home 下面的 .rhost 有以下的一行: ccsun6.cc.nctu.edu.tw u8217529 则在 ccsun6.cc.nctu.edu.tw 机器上的 user u8217529 就可以用以下的方法来执行 rsh 程式: % rsh ccsun7.csie.nctu.edu.tw -l ysjuang cat mbox 将 ysjuang 在 ccsun7.csie.nctu.edu.tw 上的 mbox 档案内容显示在 local host ccsun6.cc.nctu.edu.tw 上。 而如果 .rhost 有这样的一行,则 ccsun6.cc.nctu.edu.tw 上的 user u8217529 将可以不用输入 password 而直接经由 rsh 或 rlogin login 到 ccsun7.csie.nctu.edu.tw 来。 注意: .rhost 是一个设定可以信任的人 login 的表格,因此如果设定不当将会让不法之徒 有可以乘机侵入系统的机会。 如果你阅读 man 5 rhosts ,将会发现你可以在第一栏用 + 来取代任何 hostname ,第二栏用 + 来取代任何 username 。 如一般 user 喜欢偷懒利用 " + username " 来代替列一长串 hostname ,但是这样 将会使得即使有一台 PC 上跑 UNIX 的 user 有与你相同的 username , 也可以得到你的 trust 而侵入你的系统。这样容易造成系统安全上的危险。因此本系禁止使用这样子的方 19式写你的 .rhost 档,如果发现将予以停机直到你找中心的工作人员将其改正为止。 同理, 如果你的第二个栏位为 + , 如"hostname + " ,则你是允许在某一部机器上的"所有"user 可 以不用经由输入 password 来进入你的帐号,是壹种更危险的行为。所以请自行小心。 2. telnet telnet 是一个提供 user 经由网路连到 remote host。 telnet 的格式如下: telnet [ hostname | ip-address ] [ port ] hostname 为一个像 ccsun1 或是 ccsun1.cc.nctu.edu.tw 的 nameaddress, ip-address 则为一个由四个小於 255 的数字组成的 ip address ,如 ccsun1 的 ip-address 为 140.113.17.173 ccsun1.cc.nctu.edu.tw 的 ip-address 为 140.113.4.11 。你可以利用 telnet ccsun1 或telnet 140.113.17.173 来连到 ccsun1。 port 为一些特殊的程式所提供给外界的沟通点, 如资工系的 MUD 其 server 便提 供一些 port 让 user 由这些 port 进入 MUD 程式。详情请参阅 telnet(1)的说明。 3. ftp ftp 的意义是 File Transfer Program ,是一个很常应用在网路档案传输的程式。ftp 的格式如下: ftp [ hostname | ip-address ] 其中 hostname | ip-address 的意义跟 telnet 中的相同。 在进入 ftp 之後,如果与 remote host 连接上了,它将会询问你 username 与密码, 如果输入对了就可以开始进行档案传输。 在 ftp 中有许多的命令,详细的使用方式请参考 ftp(1) ,这里仅列出较常用的 cd , lcd , mkdir , put , mput , get , mget , binary , ascii , prompt , help 与 quit 的 使用方式。 ascii 将传输模式设为 ascii 模式。通常用於传送文字档。 binary 将传输模式设为 binary 模式,通常用於传送执行档,压缩档与影像档等。 cd remote-directory 将 remote host 上的工作目录改变。 lcd [ directory ] 更改 local host 的工作目录。 ls [ remote-directory ] [ local-file ] 列出 remote host 上的档案。 get remote-file [ local-file ] 取得远方的档案。 mget remote-files 可使用通用字元一次取得多个档案。 put local-file [ remote-file] 将 local host 的档案送到 remote host。 mput local-files 可使用通用字元一次将多个档案放到 remote host 上。 help [ command ] 线上辅助指令。 20mkdir directory-name 在 remote host 造一个目录。 prompt 更改交谈模式,若为 on 则在 mput 与 mget 时每作一个档案之传输时均会询 问。 quit/bye 离开ftp . 利用 ftp ,我们便可以在不同的机器上将所需要的资料做转移,某些特别的机器更存 放大量的资料以供各地的使用者抓取,本校较著名的 ftp server 有 NCTUCCCA 与系上的 ftp.csie.nctu.edu.tw 。这些 ftp server 均有提供一个 user 称为 anonymous ,一般 的"外来客"可以利用这个 username取得该 server 的公共资料。不过 anonymous 在询问 password 时是要求使用 anonymous 的使用者输入其 email address,以往有许多台湾的使 用者在使用国外的 ftp server 时并没有按照人家的要求输入其 email address,而仅是随 便打一些字串,引起许多 internet user 和管理者的不满,对台湾的使用者的风评变得很 差,因此遵循各 ftp server 的使用规则也是一件相当重要的事。 九. 关於通讯用的指令 1. write 这个指令是提供使用者传送讯息给另一个使用者,使用方式: write username [tty] 2. talk/ytalk/cytalk/ctalk UNIX 专用的交谈程式。会将萤幕分隔开为你的区域和交谈对象的区域,同时也可和不 同机器的使用者交谈。使用方式: talk username[@host] [tty] 3. mesg 选择是否接受他人的 messege , 若为 messege no 则他人的 messege 将无法传送给 你,同时他也无法干扰你的工作。使用方法: mesg [-n|-y] 4. mail/elm 在网路上的 email 程式,可经由此程式将信件 mail 给他人。 使用方式: mail [username] mail -f mailboxfile 如有信件,则直接键入 mail 可以读取你的 mail . elm 提供较 mail 更为方便的介面,而且可做线上的 alias . 你可以进入 elm 使用上下 左右键来选读取的信件,并可按 h 取得线上的 help 文件。 21使用方式: elm [usernmae] elm -f mailboxfile 十. 编译器( Compiler ) Compiler 的用处在於将你所撰写的程式翻译成一个可执行档案。在资工系常用的程式语 言是 C , pascal , FORTRAN 等。你可以先写好一个 C 或 Pascal 或 FORTRAN 的原始程 式档,再用这些 compiler 将其翻成可执行档。你可以用这个方法来制造你自己的特殊指 令。 1. cc/gcc (C Compiler) /usr/bin/cc /usr/local/bin/gcc 语法: cc [ -o execfile ] source gcc [ -o execfile ] source execfile 是你所希望的执行档的名称,如果没有加上 -o 选项编译出来的可执行档会以 a.out 做为档名。 source 为一个以 .c 做为结尾的 C 程式档。请参阅 cc(1) 的说明。 2. pc (Pascal Compiler) /usr/local/bin/pc 语法: pc [ -o execfile ] source execfile 是你所希望的执行档的名称,如果没有加上 -o 选项编译出来的可执行档会 以 a.out 做为档名。 source 为一个以 .p 做为结尾的 Pascal 程式档。 请参阅 /net/home5/lang/man 中 pc(1) 的说明。 3. f77 (Fortran Compiler) /net/home5/lang/f77 语法: f77 [ -o execfile ] source execfile 是你所希望的执行档的名称,如果没有加上 -o 选项编译出来的可执行档会以 a.out 做为档名。 source 为一个以 .p 做为结尾的 FORTRAN 程式档。 十一. 有关列印的指令 以下为印表所会用到的指令,在本系的印表机有 lp1 , lp2 ( 点矩阵印表机 ), lw , sp , ps , compaq ( 雷射印表机 ),供使用者使用。 221. lpr lpr 为用来将一个档案印至列表机的指令。用法: lpr -P[ printer ] file1 file2 file3 ... 或 lpr -P[ printer ] < file1 例子: lpr -Plp1 hello.c hello.lst hello.map lpr -Plp1 < hello.c 前者以参数输入所要印出的档案内容,後者列印标准输入档案(standard input)的内 容,因已将 hello.c 转向到标准输入,故会印出 hello.c 的档案内容。 2. lpq lpq 是用来观察 printer queue 上的 Jobs 。用法: lpq -P[ printer ] 3. lprm lprm 是用来取消列印要求的指令。 通常我们有时会印错,或是误送非文字档资料至 printer , 此时就必须利用 lprm 取消列印 request ,以免造成资源的浪费。 用法: lprm -P[ printer ] [ Jobs id | username ] lprm 用来清除 printer queue 中的 Jobs , 如果你使用 Job Id 作为参数,则它将此 Job 自 printer queue 清除,如果你用 username 作为参数,则它将此 queue 中所有 Owner 为此 username 的 Jobs 清除。 到这里,我们第二讲的内容就基本结束了,可以说,这一讲是比较无聊的,但它又是 必不可少的。这里列出的仅仅是最最常用的控制台命令,要进一步的熟悉 Linux操作系统, 了解类 UNIX 操作系统的管理思想,我们还有很多要学习,有兴趣的同学可以参看其它的 相关参考书籍。 23 第三讲 Linux下的网络服务,配置问题和 常用工具 这一讲我们会接触到 Linux 下能够提供的一些典型的网络服务,大家会对这些服务有 一个感性的认识,除此之外我们还会看到 Linux下面一些非常重要的配置文件以及他们的用 法。最后我们会看到 Linux 下面最常用的几个工具软件。 一.Linux下的网络服务 一般来说,各种操作系统在网络方面的性能比较是这样的顺序 BSD>Linux>Win NT>Win 9X, 由此说来,Linux 的网络功能仅次于 UNIX,而强于 Win NT 和其它的视窗系 列产品,对于 Win2000我还不能评价太多,因为不是很熟。 Linux 的网络功能除了基本的连线功能如 telnet, ftp, rsh, login, finger等等以外,架设各 种服务器的功能更把 Linux 网络功能发挥的淋漓尽致,下面我大概的为大家介绍一下 Linux 下的各种网络服务。 1. Mail Server Email 现在是网络上最重要的服务了,你可能没有用过 FTP, BBS, INN,但是如果你连电 子邮件都没有用过,那作为 BUPT 的一员,你得自己好好反省一下了。 现在又很多功能强大的 mailserver供你选择,例如 freemail.263.net, hotmail.com, freemail.sohu.com,等等,这些都是免费的。但这是从使用者角度来看,如果你是想为一个局 域网内部提供一个交换电子邮件的服务,那它们对你来说可就是一笔巨款了,再说人家卖 不卖给你还不好说呢。Linux 下面最著名的 mail server是 Sendmail,它是一个负责监控和传 送电子邮件的邮件代理程序,你使用它就可以在在一个小的局域网(例如宿舍网)里提供 一个电子邮件服务,这是多么神奇的事情啊!使用 Linux 下面的 MailServer最大的好处是性 价比高,这些软件的功能强大,却又是完全免费的,我们完全不用去花几万元买一个功能 有限还要按照人头收费的 Exchange Server,或者是使用 D版软件被别人扎脊梁骨。 2. Router 和 Gateway 如果你的计算机可以连接到外面的 Internet 上去, 然而一些可以连接到你这台机器上的 24计算机却只能访问里面的局域网,那么你可以安装 Router或 Gateway的服务,这样别人就 可以通过你的机器和外面的世界联系了。当然了,这么做的前提是你有一颗大公无私的信, 要我就不行,我可舍不得把我的 PIII 的机器贡献给宿舍的网虫们。 3. Samba 在 Windows 横行的今天,Samba 的出现对于 Linux 的茁壮成长是非常重要的,它大大 拓宽了 Linux 的应用领域。Samba 可以提供一种转换 SMB(windows 使用的一种信息格式) 和 NFS(Linux 使用的一种信息格式)的服务,通过 Samba, 运行 Windows的工作站就可以 同运行 Linux 的服务器之间进行通信,还可以 让网络上的使用者(包括 Windows 用户)共 享一台打印机,这样 Linux 的服务器就可以运行在 Windows的环境中了。 4. NFS Server Linux 还可以作为文件服务器,为网络上具有存取权限的 Windows/Linux机器分享相同 的文件系统,这样一来,不论是在 Windows 还是在 Linux 的网络中,Linux 的文件服务器都 能够发挥作用了。 5. Terminal Server 这种服务能够提供 PPP/SLIP Dialup(包括 multi-port,就是一台计算机连多个调制解调器 上网),让一般的民用网络 Moden 使用者可通过 Terminal Server与 Internet连接起来。 6. BBS 在北邮如果你没有上过 BBS(Bulletin Board System电子布告版)我会很吃惊的, 202.112.101.44 或者是202.204.7.235 你至少应该去过一个吧?如果没有去过,那么赶快把这 一课补上。关于 BBS到底能做什么我就不多说了,我假定你已经知道了,现在网络上流行 的免费 BBS版本很多,著名的有 Phoenix,Maple,Firebird,Pivot等等,这些都可以在 Linux 上 使用。另外还有许多基于 WWW 的 BBS,例如著名的跨平台的 Motiff Community,可以非 常稳定的在 Linux 下运行,这是"瘟都死"所不能比拟的。 7. WWW 在 Linux下面也有功能强大的 WWW服务器,你完全可以不必去使用又贵又不稳定的 IIS。但是不可否认 IIS 的操作非常的简单,如果你觉得自己有钱,可以买得起 Win2000 Advanced Server,又出得起"人头税",那你就用"瘟都死"吧。在 Linux 上的 WWW服务程序 很多,现在最著名最流行的是 Apache,在北邮,有许多的服务器就是跑 Apache 的。现在在 Linux 上使用 Apache+PHP+MySQL 是实现动态页面的最佳搭配,立志于搞网站建设的朋友 可一定要留心这一块,因为它可以为你的网站建设节省大笔的成本(现在可是操作系统比 机器贵)。我知道一个讨论组:www.coventive.com.cn/club/default.htm,它就是用 Apache+PHP+MySQL 这种组合建立起来的,有兴趣的朋友可以去看看。 25 二.几种重要的配置文件 Linux 下面的配置文件非常的多,对于初学者来说,我们只需要知道最最常用的几个配 置文件就可以了。由于片符合时间的原因,在这里我只介绍四个非常经典的配置文件 (lilo.conf, passwd,inittab,fasttab),这四个文件中我重点介绍 lilo.conf,其余三个文件会简单的 在课堂上演示。至于 Linux 其它众多的配置文件必须各位同学自己下去查找相关资料自己学 习了。 1. lilo.conf 这是 Linuxloader(lilo)的配置文件。对于初学者来说,这个配置文件是非常重要的,因 为它直接关系到你的系统是否能够正确的引导到 Linux 上来。 我在这里主要将一下如何使用 lilo 实现多个在一台机器上安装多个操作系统。 一般来说,第一次安装 Linux 后,缺省引导的系统是 Linux,但是对大多数 Linux 用户 来说,他们使用 windows 的时间会多于 Linux,所以我们最好能够将缺省引导的系统改为 windows,这样的话,就省去了每次启动时敲一串字符的麻烦。要修改引导顺序,就要修改 Linux 系统中的一个配置文件,这个文件就是/etc/lilo.conf。我使用的是 Xlinux OS 1.5,用 vi 打开这个文件后,会出现下面的文字: boot=/dev/hda map=/boot/map install=/boot/boot.b prompt timeout=100 linear default=xlinux image=/boot/vmlinuz-2.2.14-5.0 read-only root=/dev/hda4 other=/dev/hda1 label=win 这就是刚刚安装完毕后的 LILO配制文件.这个文件是按照由前到后顺序引用的,通过修 改这个文件就可以改变 lilo 执行时的一些特性.首先我将这个文件中比较重要的几个地方给 大家介绍一下: 首先请看第 5 行:timeout=100,这是一个设置在 lilo 引导缺省的系统之前等候用户输入系 统别名的等候时间长度.它的时长好象不是按秒一级的数量级进行计算的,总之用户可以按 照自己的实际需要设置相应的时长.我一般是设置成 timeout=500. 然后我们看第 7 行:default=xlinux,这里是关键之一!这一行指明缺省引导的系统的别名 26是 xlinux,要想改变系统的缺省引导顺序,这里是需要修改的,稍后就会说到是怎么修改的. 再看第8行到第 11 行,这四行指明了引导 Linux 系统的一些细节. image=/boot/vmlinuz-2.2.14-5.0指明了操作系统核心是放在哪里的,以便于引导程序装载操作 系统核心;label=xlinux指明了引导这个操作系统时用的别名,这里是xlinux; root=/dev/hda4指 明了引导程序需要到哪一个硬盘的第几个分区去寻找 init 过程,在这里是要到第一个硬盘的 第四个分区中去将引导系统的控制权交给这个分区里的 init过程. 最后我们看看文件中的最后两行.other=/dev/hda1说明除了linux操作系统以外,机器中还 安装了别的操作系统(当然我知道这个另外的操作系统是我的 win2000了),它位于第一块硬 盘中的第一个分区,一般来说,这个路径是在安装的时候就设置好的,不需要我们手工修改,但 是我认为知道这些信息还是很有必要的;label=win指明了这个系统引导时使用的别名为win. 因为 lilo 是顺序引用的,所以如果我们想要让缺省引导的系统变成 windows,就需要将这两行 移动到 image=.....那一行之前的位置,我建议的位置是放在 image=...之前和default=.....之后. 这是关键之二! 当你将前面的两个关键步骤完成之后,还需要将default=....那一行改成 default=win,这是 比较重要的一步,虽然即使你不改动这里,系统也可以按照你的想法去引导,但是我可不敢保 证你这样做不会出一点问题.再说,如果你不改动这里那多别扭啊! 做到这里,我们对lilo.conf这个文件的改动就结束了,然后只要退出vi,然后键入 lilo -v -v -v这个命令来更新一下LILO,我们就大功告成了.当你reboot以后,就会发现在"lilo:"那里敲入 回车键后,系统就会缺省的引导到 windows 系统去了. 2. Passwd 这个配置文件是关于用户口令的。如果你是一名系统管理员,有可能会一次新增很多 的用户,这时用 adduser就相当麻烦了。一般有功力的管理员会直接去修改/etc/passwd 文件。 利用 passwd文件,可以控制用户的口令状态及一些个人配置。 对于这个文件,普通单机用户使用的并不是很多,主要是多用户的管理员使用,对于 它的一些基本配置方法,我会在课堂上为同学们演示,这里不再赘述。 3. Inittab和 fasttab 这两个文件都是存放在/etc 这个目录下面的,Inittab 文件用来配置 Linux 初始化的一些 动作,我们最常用的是设定 Linux 的启动方式。Fasttab 文件用来设定一些在 Linux 启动时的 动作,主要是文件系统或者是外设的挂接动作,如果你想让你的 Linux 一开始就能够使用光 盘驱动器,就可以把 mount 指令加到这个文件中去。 因为这两个文件对我们初学者来说,可以利用的地方不是很多,所以我不用过多的文 字来描述它们的功能,具体的操作我会在课堂上为同学们演示,这里不再赘述。 27 三.Linux下常用的工具软件 这里我会为大家介绍 Linux 世界里最常用的几种工具软件,包括:vi, tar, gzip, rpm。 1. 文字编辑 vi 是Linux(UNIX)世界最强大的文本编辑工具,我在第一讲中提到过它,现在我把它的 一些基本使用方法介绍给大家。 Vi 的三种状态 „ Command mode : 控制萤幕游标之移动,字元或游标之删除,搬移复制某 区段及进入 Insert mode 下,或者到 Last line mode 。 „ Insert mode : 唯有在 Insert mode 下, 才可做文字资料输入,按 Esc 键可到 Command mode 。 „ Last line mode : 将档案写入或离开编辑器,亦可设定编辑环境, 如寻找字 串、列出行号..等。 vi 的基本操作 ‹ 进入 vi 1. 在系统提示符号下输入 vi 及档案名称後即进入 vi 全萤幕编辑画面,且在 Command mode 下。 ‹ 切换至 Insert mode 编辑文件: 在 Command mode 下可按 'i' 或 'a' 或 'o' 三键进入 Insert mode。 ‹ 离开 vi 及存档: 在 Command mode 下可按 ':' 键进入 Last line mode, :w filename (存入指定档案) :wq (写入并离开 vi) :q! (离开并放弃编辑的档案) Command mode 下功能键简介 1. 进入 Insert mode i : 插入, 从目前游标所在之处插入所输入之文字。 a : 增加, 目前游标所在之下一个字开始输入文字。 o : 从新的一行行首开始输入文字。 2. 移动游标

立即下载
zip文件
MSIC.zip_MSI_Overview_NTDDK.d_delphix_d7_msi_Machine.dcu_update

MSIC, source code for delphi

立即下载
zip文件
RunAsTI-master.zip

注册表编辑工具,源出处:https://github.com/jschicht/RunAsTI RunAsTI or RunAsTrustedInstaller Is a tool to launch a program of choice (usually cmd.exe) with the same privileges as the TrustedInstaller. That privilege is very powerfull! Actually the tool makes a clone of the token from TrustedInstaller, and thus the newly created process has an identical token. 教程链接:https://blog.csdn.net/qq_43017750/article/details/104959613 Why would you need it? Sometimes it is just not enough to just be running as "nt authority\system". Maybe it's a file or a registry key that is locked. Running a tool with this powerfull privilege most likely solve that. Usually such an issue may be due to Windows Resource Protection (WRP) protecting it (previously called Windows File Protection (WFP)); http://msdn.microsoft.com/en-us/library/windows/desktop/aa382503(v=vs.85).aspx How do you run it? Simply double click it and cmd.exe will launch. Or pass it the program to launch as parameter. There are reports that the tool does not work over an RDP session. The tool is actually a merge of 2 previous tools; RunAsSystem and RunFromToken. The curious ones might notice that RunFromToken is attached as a resource. Have added the original source of RunFromToken as the exe's must be present in current directory when building RunAsTi. The tool only runs on nt6.x (Vista and later), since TrustedInstaller does not exist on earlier Windows versions. Requirement: Administrator.

立即下载
zip文件
SaM.Component.Set.For.WinNT.2000.XP.1.14.FullSource.zip

Component Set For Windows NT/2000/XP(tm) (NTSET)Version 1.14Full Version with source code.Windows 2000(NT) specific components for Delphi 5.0/6.0/7.0 and C++Builder 5.0/6.0.Now the collection has 14 components: TNTServiceManager: to control Windows NT services;TNTEventLog: to work with Windows NT event log;TNTUserMan: to manage users and groups;TNTShare: to manage and monitor shared devices;TNTFileSecurity: to assign access rights to files on NTFS;TNTRegSecurity: to deal with registry‘s security;TNTPrivilege: to control privileges given to the users;TNTVerifyLogon: to verify user‘s username and password against Windows NT Domain;TNTServerInfo: to retrieve/set variety of setting for network computers;TNTMessage: to send text messages over the network;TNTNetBrowser: to browse network resources and connected devices;TNTerminalAdmin: to monitor terminal service sessions;TNTaskScheduler: to schedule tasks for execution on network computers;TNTFirewall: to configure the firewall under Windows XP and higher;What‘s new in version 1.14?--------------------------------------- The collection has 14th component: TNTFirewall. The component configures the firewalls on the network connections. It works under Windows XP and Windows 2003. - The TNTVerifyLogon component has been completely rewritten. It now allows impersonating as the user whose credentials where successfully verified.- Minor bug fixes.How to install the components into IDE?-------------------------------------------------The installation program will install components into selected IDE(s). If you want to reinstall the components without running installation again, follow the simple instructions. The instructions refer to a folder where NTSet is installed as to ROOT. Delphi 7--------- Uninstall the previous version of NTSet;- Edit "Library Path" of your Delphi 7 IDE by adding the two paths: ROOTcommon;ROOT tset; (if your ROOT folder is "c: tset", you would add "c: tsetcommon;c: tset tset")- Open ROOTcommonVclCommon70.dpk, compile and install it. - Open ROOT tset t70.dpk, compile and install it. - Open project NTSet.bpg. All the projects in the project group demonstrate the main features of components and should be opened after the NT70.bpl is compiled and installed.Delphi 6--------- Uninstall the previous version of NTSet;- Edit "Library Path" of your Delphi 6 IDE by adding the two paths: ROOTcommon;ROOT tset; (if your ROOT folder is "c: tset", you would add "c: tsetcommon;c: tset tset")- Open ROOTcommonVclCommon60.dpk, compile and install it. - Open ROOT tset t60.dpk, compile and install it. - Open project NTSet.bpg. All the projects in the project group demonstrate the main features of components and should be opened after the NT60.bpl is compiled and installed.Delphi 5--------- Uninstall the previous version of NTSet;- Edit "Library Path" of your Delphi 5 IDE by adding the two paths: ROOTcommon;ROOT tset; (if your ROOT folder is "c: tset", you would add "c: tsetcommon;c: tset tset")- Open ROOTcommonVclCommon50.dpk, compile and install it. - Open ROOT tset t50.dpk, compile and install it. - Open project NTSet.bpg. All the projects in the project group demonstrate the main features of components and should be opened after the NT50.bpl is compiled and installed.C++Builder 6.0--------------- Open package ROOT tset trtl60.bpk. Compile it. Copy ntrtl60.bpl into your SYSTEM23 folder. For example d:winntsystem32; - Open package ROOTcommonVclCommon60Dcl.bpk. Compile it. Use menu command "Component->Install Packages" to add the new package VclCommon60Rtl.bpl- Open package ROOT tset tdcl60.bpk. Compile it. Use menu command "Component->Install Packages" to add the new package ntdcl60.bplC++Builder 5.0--------------- Open package ROOT tset trtl50.bpk. Compile it. Copy ntrtl50.bpl into your SYSTEM23 folder. For example d:winntsystem32; - Open package ROOTcommonVclCommon50Rtl.bpk. Compile it. Use menu command "Component->Install Packages" to add the new package VclCommon50Dcl.bpl- Open package ROOT tset tdcl50.bpk. Compile it. Use menu command "Component->Install Packages" to add the new package ntdcl50.bplNote----Version for C++ Builder does not have the examples for some components. Full help is supplied.Contact Information-------------------Please, contact us at the following addresses and phone numbers: E-mail: contact@sam-solutions.net support@sam-solutions.net SaM-Solutions39 Ul.PlatonovaBY-220071 Minsk, Belarus Tel: +375-17-2398081Fax: +375-17-2313976

立即下载
rar文件
Visual C++ 编程资源大全(英文源码 其它)

1,01.zip
Output
显示所有的调试信息(5KB)
2,02.zip
Some general debugging tips
一般的调试技巧(11KB)
3,03.zip
Debugging ISAPI extension
调试ISAPI扩展(4KB)
4,04.zip
LibDump
类似DumpBin的工具(10KB)
5,05.zip
Finding memory leaks
发现内存的泄漏(6KB)
6,06.zip
Convert message ID to a string
将消息标志符转换成字符串(4KB)
7,07.zip
Message Tracer
消息跟踪(5KB)
8,08.zip
A simple profiler class
一个简单的轮廓类(5KB)
9,09.zip
Terminator
中断应用程序(5KB)
10,10.zip
Translate Window Style
转换窗口风格(5KB)
11,11.zip
Long String Debugging Macro
调试宏(5KB)
12,12.zip
Check for loaded DLLs
检查装入的动态链接库(4KB)
13,13.zip
Autoincreasing build number
自动增加版本信息的宏(5KB)
14,14.zip
File Dialog Macro
文件对话框宏(6KB)
15,15.zip
Code Template add-in for Visual C++ 5.0
在VC5中可增加的代码模板(5KB)
16,16.zip
Comment / Uncomment macros
命令/反命令宏(5KB)
17,17.zip
Custom built files
自定义生成的文件(5KB)
18,18.zip
Define Method
定义方法(5KB)
19,19.zip
Export Makefile
输出工程制作文件(5KB)
20,20.zip
Jump to Next/Previous Function Definition
跳转到下一个/上一个功能定义(4KB)
21,21.zip
Inverting Assignment Operations
转化操作任务(5KB)
22,22.zip
VC4.2 style keyboard macro recorder for DevStudio 97
在DevStudio 97中使用在VC4.2风格的键盘宏记录(4KB)
23,23.zip
Application Launcher
程序发射器, 能够在Word, Excel, Access, Power Point, Visio和Html中连接网站(6KB)
24,24.zip
Open current header file
打开当前文件头(7KB)
25,25.zip
Open header file
打开文件头(4KB)
26,26.zip
Sequentially Renumber Resource ID's
重新对资源标识符编号(5KB)
27,27.zip
A secondary clipboard
实现第二个剪贴板, 不过它用的热键是Ctrl+Shift+C, Ctrl+Shift+V和Ctrl+Shift+X(4KB)
28,28.zip
Case switching
这个宏实现文字的大小写互换(4KB)
29,29.zip
WM_COMMAND user message macro
WM_COMMAND用户消息宏(5KB)
30,30.zip
Better caret movement by words
在IDE中移动快速单词的宏(5KB)
31,31.zip
Word selection
选择单词的宏(5KB)
32,32.zip
Disable ALT-TAB etc 1K 禁止ALT-TAB切换等等(8KB)
33,33.zip
In-Program Evaluation
在程序中识别并计算表达式(5KB)
34,34.zip
Doing Excel Automation witch MSVC
在VC中实现Excel自动化(9KB)
35,35.zip
High Resolution Timing
高精度的时间处理(5KB)
36,36.zip
Using Timers in MFC Applications
在MFC应用程序中使用时间(8KB)
37,37.zip
Microsecond delay
百万分子一的延时(4KB)
38,38.zip
Messagebox with printf capability
有printf能力的Messagebox(4KB)
39,39.zip
Multiple Level Undo/Redo
多级Undo/Redo功能的实现(7KB)
40,40.zip
Getting rid of Window List from MDI applications
在MDI应用中去掉窗口列表(5KB)
41,41.zip
Save and Restore
存储和恢复(7KB)
42,42.zip
A Quick Start
使用微软本地化工具包的快速入门(5KB)
43,43.zip
用微软本地化工具包在VC4.x中创建一个自定义编译步骤(5KB)
44,44.zip
Known Bugs and Limitations of the MS Resource Localization Toolset 3K 本地化工具包中已知的Bug和程序限制(5KB)
45,45.zip
Get VersionInfo from resource file
从资源文件中得到程序的版本信息(1)(6KB)
46,dynip.zip
A IP Poster for people with dynamic IP addresses(18KB)
47,cliptalk.zip
An application to speak the current text on the clipboard(30KB)
48,dibimage.zip
An MFC class framework to encapsulate Device Independent Bitmaps (DIBs) and Image Processing(1014KB)
49,gpslib.zip
An SDK to add GPS support to your Windows applications(82KB)
50,anirocx.zip
AnirOCX - An OCX to add remote control support to your Windows applications(36KB)
51,smtpsend.zip
A shareware ISAPI module to send Internet (SMTP) email(104KB)
52,autoplay.zip
AutoPlay - An app to use with your AutoRun enabled CD's(413KB)
53,ezview.zip
A shareware image viewer application(36KB)
54,LogTrace.zip
A Class for Creating a Trace Log(153KB)
55,MFCConsole_demo.zip
How to send debugging output to a console in a MFC application(12KB)
56,statuslog.zip
A very simple text logger that allows you to use printf-type formatting, with automatic application name and date stamping(15KB)
57,CTracerST.zip
A flexible trace class for consistent application debug traces. (153KB)
58,DebugToolkit.zip
A complete debug toolkit to add intelligent debugging capability to your application. (62KB)
59,ProcMon.zip
Debugging & Testing Tips from the Trenches(150KB)
60,TestRunner.zip
A framework for performing unit tests(323KB)
61,debug_macros_src.zip
A set of handy Debugging macro facilities without MFC (2KB)
62,CrtDbg.zip
How catch memory leaks with very little effort (7KB)
63,TraceTips.zip
A simple way to format your TRACE statements so double clicking takes you directly to the source code. (6KB)
64,dbg_src.zip
A log file class for multi-threaded applications. (4KB)
65,Console.zip
A Trace macro which traces on a new console of the Windows' application. (1KB)
66,XTrace_src.zip
Extended TRACE macros with easy source navigation(3KB)
67,AutoSave.zip
Add auto-save feature to Visual Studio 6.0.(41KB)
68,acomment.zip
This addin allows your source code to have references to external files, MSDN articles, voice comments etc.(134KB)
69,AutoBuild_demo.zip
Describes a way to automatically generate an application build number.(35KB)
70,GUIDGen.zip
An Add-In that replaces and extends the GUID Generator component included with Developer Studio(35KB)
71,IncPrivateBuild.zip
An add-in to automatically increment the PrivateBuild field in your applications resource file.(34KB)
72,level.zip
An add-in that helps you hide 'inactive' pieces of your code in include files(42KB)
73,ProjectExplorer.zip
A DevStudio Add-in that adds the ability to launch windows explorer in the directory of the currently active project(32KB)
74,PLC111.zip
Get statistics about your source code with a click of a button(392KB)
75,replaceinfiles.zip
Search and Replace in multiple files Add-in for Visual C++ 6.0(83KB)
76,RescueAgent.zip
A Code Rescue Add-in for Visual C++ Developers(118KB)
77,stripem.zip
This Add-in converts the text format (DOS or UNIX) of a file when it is saved in Visual Studio.(39KB)
78,devtruecolour.zip
Use any colour in the Developer Studio IDE(49KB)
79,openvc_demo.zip
Spelunking in the Badlands of MSDEV(441KB)
80,UsefulManagers.zip
An add-in for Devstudio that provides tag indexing and search, window, bookmarks, session and other managers(325KB)
81,bookmark.zip
Visual Studio add-in which saves and restores bookmarks after closing and re-opening a file.(82KB)
82,WndTabs250.exe
Window and File Management For Visual C++(1498KB)
83,WizGen.zip
This Add-in is similar to class wizard but can be used for MFC extension libraries(104KB)
84,WorkspaceUtils175.zip
A Visual Studio add-in provides a number of useful workspace-related functions(673KB)
85,solesby.zip
Some useful macros for MS Visual Studio(3KB)
86,AlignNext.zip
Align multiple lines of assignments after the equal sign, for example(2KB)
87,VBAutoIncrement_src.zip
An article on how to add an automatic build incrementer to VC6(2KB)
88,MakeCodeNicer.zip
A great macro for reformatting C++ source code(7KB)
89,ShellExtGuide1_demo.zip
A step-by-step tutorial on writing shell extensions(12KB)
90,ShellExtGuide2_demo.zip
A tutorial on writing a shell extension that operates on multiple files at once.(18KB)
91,ShellExtGuide3_demo.zip
A tutorial on writing a shell extension that shows pop-up info for files.(12KB)
92,ShellExtGuide4_demo.zip
A tutorial on writing a shell extension that provides custom drag and drop functionality.(14KB)
93,ShellExtGuide9_demo.zip
A tutorial on writing an extension to customize the icons displayed for a file type.(15KB)
94,ShellExtGuide5_demo.zip
A tutorial on writing a shell extension that adds pages to the properties dialog of files.(17KB)
95,ShellExtGuide6_demo.zip
A tutorial on writing a shell extension that can be used on the Send To menu.(22KB)
96,ShellExtGuide7_demo.zip
A tutorial on using owner-drawn menus in a context menu shell extensions, and on making a context menu extension that responds to a right-click in a directory background.(33KB)
97,ShellExtGuide8_demo.zip
A tutorial on adding columns to Explorer's details view via a column handler shell extension.(13KB)
98,CJBTaskBarApplet.zip
A framework for system tray applets(32KB)
99,systemtray.zip
A class for adding icons to the system tray(120KB)
100,CGFileType.zip
Registry entries and MFC class that associates a file extension with a program.(20KB)
101,CScheduledTask.zip
Basic class for using the Microsoft Task Scheduler(33KB)
102,copylocation.zip
This shell extension adds the ability to copy file and folder names from the Windows Explorer to the clipboard.(66KB)
103,CopyPathExt.zip
A context menu shell extension that allows you to copy full file paths to the clipboard.(270KB)
104,CShellFileOp.zip
An easy-to-use wrapper for the Win32 SHFileOperation function(34KB)105,CShellLink_src.zip
2 Freeware MFC classes to encapsulate shell shortcuts.(42KB)
106,dllregshex.zip
Why are we still using command prompt to register a DLL and not using the Windows Explorer(37KB)
107,selecticon_demo.zip
Explains how to display the windows 'Pick Icon' dialog(12KB)
108,MultiFiler_demo.zip
A step-by-step description of how to drag and drop files between your application and Explorer windows.(68KB)>
109,pxshlapi.zip
The library that helps to manage Shell ITEMIDLISTS(5KB)
110,MinimizeToTray_demo.zip
A set of routines that show how easy it is to minimise your windows to the system tray(110KB)
111,shlext_src.zip
Namespace extensions - the undocumented Windows Shell(13KB)
112,mkexesvc.zip
A 'not-so-simple' shell extension allowing executable to be run as services(75KB)
113,FavoDemo.zip
This is a class to get the folders and urls of the IE.(32KB)
114,seashell.zip
A set of shell controls and other useful classes(277KB)
115,ControlPanelExt_demo.zip
This article shows how to add your own pages to Control Panel applets by writing a property sheet handler.(14KB)
116,shdlg.zip
Undocumented shell dialogs, part 2(27KB)
117,dyndllclass.zip
Dynamically loading classes from DLLs(7KB)
118,ps.zip
PS (Process Status) for Windows 95 and Windows NT(20KB)
119,ipcdemo.zip
Inter-Process Communication Using WM_COPYDATA(25KB)
120,querysem.zip
Query the Value of a Semaphore(10KB)
121,child_popup.zip
Change from child window to popup window (and back)(277KB)
122,graded.zip
Gradient color caption bar(52KB)
123,hooks.zip
Hooks(49KB)
124,microsecond.zip
Microsecond delay(31KB)
125,realtime.zip
Real-time plot(179KB)
126,resviewer.zip
ResViewer - view resources within a DLL or EXE file(85KB)
127,fliespec.zip
Filename Handling Class (2KB)
128,single.zip
Single Instance of an Application Class (21KB)
129,instance.zip
A Single-Instance Application Class(54KB)
130,manager.zip
Undo/Redo Manager (107KB)
131,whfname.zip
Getting The Filename Given A Window Handle (5KB)
132,wait.zip
Launch and wait application to end (8KB)
133,mfctimer.zip
Using Timers in MFC Applications (63KB)
134,undo.zip
Add Undo - Redo support to CDocument(2KB)
135,multiundo.zip
Multiple Level Undo/Redo (45KB)
136,evaluation.zip
In-Program Evaluation (55KB)
137,scribml.zip
Creating a multilingual Scribble application with the MS Resource Localization Toolset (133KB)
138,mfctab.zip
MFC Graphics Tablet Test Application (73KB)
139,cardfile.zip
Microsoft Cardfile import DLL (37KB)
140,writedir.zip
Create Multiple Level Subdirectories (2KB)
141,log_src.zip
A Text File Logging system for use in VC++ projects (3KB)
142,commtest.zip
A communication class for serail port(66KB)
143,redirect.zip
Redirecting Standard Output to a CEdit Control (27KB)
144,geometry.zip
Method to achieve repositioning/resizing of child controls (36KB)
145,redirectout.zip
Redirect Output of CMD.EXE to a Pipe (5KB)
146,cdchange.zip
CD Change Notifications (6KB)
147,encrypt.zip
Encrypting and decrypting sensitive data using CryptoAPI. (6KB)
148,cabinet.zip
Cabinet File Utility Classes (142KB)
149,mappedfile.zip
Mapped File Class (4KB)
150,memdc.zip
Flicker free drawing using memory DC(17KB)
151,flicker.zip
Flicker free drawing (2)(4KB)
152,waitredraw.zip
Really (or at least more) Flicker Free (1KB)
153,linetracker.zip
Line tracker class similar to CRectTracker(45KB)
154,transparent.zip
Transparent Window (25KB)
155,marker_demo.zip
Graph Marker with Hit-Testing (26KB)
156,html_help.zip
Starting with HTML Help (126KB)
157,ipcwdata.zip
Sharing Data Between Different Instances of the Same Module (DLL or EXE) (13KB)
158,invokejvm.zip
Embed Java VM in Executables using Java Native Interface (JNI) (7KB)
159,controlling.zip
Programmatically controlling the state of the NumLock, CapsLock, ScrollLock keys (39KB)
160,mapizip_demo.zip
Implementing a "Send as ZIP-File" command in Scribble (149KB)
161,csh.zip
Implementing ToolTip Style Context Sensitive Help in CFormView based Applications (75KB)
162,tomsgbox.zip
MessageBox With Timeout (14KB)
163,messageboxex.zip
MessageBox With Timeout (13KB)
164,mousetrack.zip
Mouse Over Special Efects (107KB)
165,digscrsaver.zip
Screen Saver which Displays Pictures (756KB)
166,mfcsaver.zip
Windows Compliant Screen Saver Using MFC (53KB)
167,ssbase.zip
Screen Saver Base Class (203KB)
168,cscheduled.zip
Basic class for using the Microsoft Task Scheduler (26KB)
169,process.zip
Starting, Managing and Switching Processes(11KB)
170,thread.zip
Thread manager(47KB)
171,win32proc.zip
Enumerating Running Processes in Win95 and WinNT (107KB)
172,sameproc.zip
Making Multiple Instances of an Application run in the Same Process Space as different Threads (56KB)
173,gradientcap.zip
"Win'98 like" Gradient Caption Bar (47KB)
174,version.zip
Executable file version information (39KB)

立即下载
其他文档
python3.6.5参考手册 chm

Python参考手册,官方正式版参考手册,chm版。以下摘取部分内容:Navigation index modules | next | Python » 3.6.5 Documentation » Python Documentation contents What’s New in Python What’s New In Python 3.6 Summary – Release highlights New Features PEP 498: Formatted string literals PEP 526: Syntax for variable annotations PEP 515: Underscores in Numeric Literals PEP 525: Asynchronous Generators PEP 530: Asynchronous Comprehensions PEP 487: Simpler customization of class creation PEP 487: Descriptor Protocol Enhancements PEP 519: Adding a file system path protocol PEP 495: Local Time Disambiguation PEP 529: Change Windows filesystem encoding to UTF-8 PEP 528: Change Windows console encoding to UTF-8 PEP 520: Preserving Class Attribute Definition Order PEP 468: Preserving Keyword Argument Order New dict implementation PEP 523: Adding a frame evaluation API to CPython PYTHONMALLOC environment variable DTrace and SystemTap probing support Other Language Changes New Modules secrets Improved Modules array ast asyncio binascii cmath collections concurrent.futures contextlib datetime decimal distutils email encodings enum faulthandler fileinput hashlib http.client idlelib and IDLE importlib inspect json logging math multiprocessing os pathlib pdb pickle pickletools pydoc random re readline rlcompleter shlex site sqlite3 socket socketserver ssl statistics struct subprocess sys telnetlib time timeit tkinter traceback tracemalloc typing unicodedata unittest.mock urllib.request urllib.robotparser venv warnings winreg winsound xmlrpc.client zipfile zlib Optimizations Build and C API Changes Other Improvements Deprecated New Keywords Deprecated Python behavior Deprecated Python modules, functions and methods asynchat asyncore dbm distutils grp importlib os re ssl tkinter venv Deprecated functions and types of the C API Deprecated Build Options Removed API and Feature Removals Porting to Python 3.6 Changes in ‘python’ Command Behavior Changes in the Python API Changes in the C API CPython bytecode changes Notable changes in Python 3.6.2 New make regen-all build target Removal of make touch build target Notable changes in Python 3.6.5 What’s New In Python 3.5 Summary – Release highlights New Features PEP 492 - Coroutines with async and await syntax PEP 465 - A dedicated infix operator for matrix multiplication PEP 448 - Additional Unpacking Generalizations PEP 461 - percent formatting support for bytes and bytearray PEP 484 - Type Hints PEP 471 - os.scandir() function – a better and faster directory iterator PEP 475: Retry system calls failing with EINTR PEP 479: Change StopIteration handling inside generators PEP 485: A function for testing approximate equality PEP 486: Make the Python Launcher aware of virtual environments PEP 488: Elimination of PYO files PEP 489: Multi-phase extension module initialization Other Language Changes New Modules typing zipapp Improved Modules argparse asyncio bz2 cgi cmath code collections collections.abc compileall concurrent.futures configparser contextlib csv curses dbm difflib distutils doctest email enum faulthandler functools glob gzip heapq http http.client idlelib and IDLE imaplib imghdr importlib inspect io ipaddress json linecache locale logging lzma math multiprocessing operator os pathlib pickle poplib re readline selectors shutil signal smtpd smtplib sndhdr socket ssl Memory BIO Support Application-Layer Protocol Negotiation Support Other Changes sqlite3 subprocess sys sysconfig tarfile threading time timeit tkinter traceback types unicodedata unittest unittest.mock urllib wsgiref xmlrpc xml.sax zipfile Other module-level changes Optimizations Build and C API Changes Deprecated New Keywords Deprecated Python Behavior Unsupported Operating Systems Deprecated Python modules, functions and methods Removed API and Feature Removals Porting to Python 3.5 Changes in Python behavior Changes in the Python API Changes in the C API What’s New In Python 3.4 Summary – Release Highlights New Features PEP 453: Explicit Bootstrapping of PIP in Python Installations Bootstrapping pip By Default Documentation Changes PEP 446: Newly Created File Descriptors Are Non-Inheritable Improvements to Codec Handling PEP 451: A ModuleSpec Type for the Import System Other Language Changes New Modules asyncio ensurepip enum pathlib selectors statistics tracemalloc Improved Modules abc aifc argparse audioop base64 collections colorsys contextlib dbm dis doctest email filecmp functools gc glob hashlib hmac html http idlelib and IDLE importlib inspect ipaddress logging marshal mmap multiprocessing operator os pdb pickle plistlib poplib pprint pty pydoc re resource select shelve shutil smtpd smtplib socket sqlite3 ssl stat struct subprocess sunau sys tarfile textwrap threading traceback types urllib unittest venv wave weakref xml.etree zipfile CPython Implementation Changes PEP 445: Customization of CPython Memory Allocators PEP 442: Safe Object Finalization PEP 456: Secure and Interchangeable Hash Algorithm PEP 436: Argument Clinic Other Build and C API Changes Other Improvements Significant Optimizations Deprecated Deprecations in the Python API Deprecated Features Removed Operating Systems No Longer Supported API and Feature Removals Code Cleanups Porting to Python 3.4 Changes in ‘python’ Command Behavior Changes in the Python API Changes in the C API Changed in 3.4.3 PEP 476: Enabling certificate verification by default for stdlib http clients What’s New In Python 3.3 Summary – Release highlights PEP 405: Virtual Environments PEP 420: Implicit Namespace Packages PEP 3118: New memoryview implementation and buffer protocol documentation Features API changes PEP 393: Flexible String Representation Functionality Performance and resource usage PEP 397: Python Launcher for Windows PEP 3151: Reworking the OS and IO exception hierarchy PEP 380: Syntax for Delegating to a Subgenerator PEP 409: Suppressing exception context PEP 414: Explicit Unicode literals PEP 3155: Qualified name for classes and functions PEP 412: Key-Sharing Dictionary PEP 362: Function Signature Object PEP 421: Adding sys.implementation SimpleNamespace Using importlib as the Implementation of Import New APIs Visible Changes Other Language Changes A Finer-Grained Import Lock Builtin functions and types New Modules faulthandler ipaddress lzma Improved Modules abc array base64 binascii bz2 codecs collections contextlib crypt curses datetime decimal Features API changes email Policy Framework Provisional Policy with New Header API Other API Changes ftplib functools gc hmac http html imaplib inspect io itertools logging math mmap multiprocessing nntplib os pdb pickle pydoc re sched select shlex shutil signal smtpd smtplib socket socketserver sqlite3 ssl stat struct subprocess sys tarfile tempfile textwrap threading time types unittest urllib webbrowser xml.etree.ElementTree zlib Optimizations Build and C API Changes Deprecated Unsupported Operating Systems Deprecated Python modules, functions and methods Deprecated functions and types of the C API Deprecated features Porting to Python 3.3 Porting Python code Porting C code Building C extensions Command Line Switch Changes What’s New In Python 3.2 PEP 384: Defining a Stable ABI PEP 389: Argparse Command Line Parsing Module PEP 391: Dictionary Based Configuration for Logging PEP 3148: The concurrent.futures module PEP 3147: PYC Repository Directories PEP 3149: ABI Version Tagged .so Files PEP 3333: Python Web Server Gateway Interface v1.0.1 Other Language Changes New, Improved, and Deprecated Modules email elementtree functools itertools collections threading datetime and time math abc io reprlib logging csv contextlib decimal and fractions ftp popen select gzip and zipfile tarfile hashlib ast os shutil sqlite3 html socket ssl nntp certificates imaplib http.client unittest random poplib asyncore tempfile inspect pydoc dis dbm ctypes site sysconfig pdb configparser urllib.parse mailbox turtledemo Multi-threading Optimizations Unicode Codecs Documentation IDLE Code Repository Build and C API Changes Porting to Python 3.2 What’s New In Python 3.1 PEP 372: Ordered Dictionaries PEP 378: Format Specifier for Thousands Separator Other Language Changes New, Improved, and Deprecated Modules Optimizations IDLE Build and C API Changes Porting to Python 3.1 What’s New In Python 3.0 Common Stumbling Blocks Print Is A Function Views And Iterators Instead Of Lists Ordering Comparisons Integers Text Vs. Data Instead Of Unicode Vs. 8-bit Overview Of Syntax Changes New Syntax Changed Syntax Removed Syntax Changes Already Present In Python 2.6 Library Changes PEP 3101: A New Approach To String Formatting Changes To Exceptions Miscellaneous Other Changes Operators And Special Methods Builtins Build and C API Changes Performance Porting To Python 3.0 What’s New in Python 2.7 The Future for Python 2.x Changes to the Handling of Deprecation Warnings Python 3.1 Features PEP 372: Adding an Ordered Dictionary to collections PEP 378: Format Specifier for Thousands Separator PEP 389: The argparse Module for Parsing Command Lines PEP 391: Dictionary-Based Configuration For Logging PEP 3106: Dictionary Views PEP 3137: The memoryview Object Other Language Changes Interpreter Changes Optimizations New and Improved Modules New module: importlib New module: sysconfig ttk: Themed Widgets for Tk Updated module: unittest Updated module: ElementTree 1.3 Build and C API Changes Capsules Port-Specific Changes: Windows Port-Specific Changes: Mac OS X Port-Specific Changes: FreeBSD Other Changes and Fixes Porting to Python 2.7 New Features Added to Python 2.7 Maintenance Releases PEP 434: IDLE Enhancement Exception for All Branches PEP 466: Network Security Enhancements for Python 2.7 Acknowledgements What’s New in Python 2.6 Python 3.0 Changes to the Development Process New Issue Tracker: Roundup New Documentation Format: reStructuredText Using Sphinx PEP 343: The ‘with’ statement Writing Context Managers The contextlib module PEP 366: Explicit Relative Imports From a Main Module PEP 370: Per-user site-packages Directory PEP 371: The multiprocessing Package PEP 3101: Advanced String Formatting PEP 3105: print As a Function PEP 3110: Exception-Handling Changes PEP 3112: Byte Literals PEP 3116: New I/O Library PEP 3118: Revised Buffer Protocol PEP 3119: Abstract Base Classes PEP 3127: Integer Literal Support and Syntax PEP 3129: Class Decorators PEP 3141: A Type Hierarchy for Numbers The fractions Module Other Language Changes Optimizations Interpreter Changes New and Improved Modules The ast module The future_builtins module The json module: JavaScript Object Notation The plistlib module: A Property-List Parser ctypes Enhancements Improved SSL Support Deprecations and Removals Build and C API Changes Port-Specific Changes: Windows Port-Specific Changes: Mac OS X Port-Specific Changes: IRIX Porting to Python 2.6 Acknowledgements What’s New in Python 2.5 PEP 308: Conditional Expressions PEP 309: Partial Function Application PEP 314: Metadata for Python Software Packages v1.1 PEP 328: Absolute and Relative Imports PEP 338: Executing Modules as Scripts PEP 341: Unified try/except/finally PEP 342: New Generator Features PEP 343: The ‘with’ statement Writing Context Managers The contextlib module PEP 352: Exceptions as New-Style Classes PEP 353: Using ssize_t as the index type PEP 357: The ‘__index__’ method Other Language Changes Interactive Interpreter Changes Optimizations New, Improved, and Removed Modules The ctypes package The ElementTree package The hashlib package The sqlite3 package The wsgiref package Build and C API Changes Port-Specific Changes Porting to Python 2.5 Acknowledgements What’s New in Python 2.4 PEP 218: Built-In Set Objects PEP 237: Unifying Long Integers and Integers PEP 289: Generator Expressions PEP 292: Simpler String Substitutions PEP 318: Decorators for Functions and Methods PEP 322: Reverse Iteration PEP 324: New subprocess Module PEP 327: Decimal Data Type Why is Decimal needed? The Decimal type The Context type PEP 328: Multi-line Imports PEP 331: Locale-Independent Float/String Conversions Other Language Changes Optimizations New, Improved, and Deprecated Modules cookielib doctest Build and C API Changes Port-Specific Changes Porting to Python 2.4 Acknowledgements What’s New in Python 2.3 PEP 218: A Standard Set Datatype PEP 255: Simple Generators PEP 263: Source Code Encodings PEP 273: Importing Modules from ZIP Archives PEP 277: Unicode file name support for Windows NT PEP 278: Universal Newline Support PEP 279: enumerate() PEP 282: The logging Package PEP 285: A Boolean Type PEP 293: Codec Error Handling Callbacks PEP 301: Package Index and Metadata for Distutils PEP 302: New Import Hooks PEP 305: Comma-separated Files PEP 307: Pickle Enhancements Extended Slices Other Language Changes String Changes Optimizations New, Improved, and Deprecated Modules Date/Time Type The optparse Module Pymalloc: A Specialized Object Allocator Build and C API Changes Port-Specific Changes Other Changes and Fixes Porting to Python 2.3 Acknowledgements What’s New in Python 2.2 Introduction PEPs 252 and 253: Type and Class Changes Old and New Classes Descriptors Multiple Inheritance: The Diamond Rule Attribute Access Related Links PEP 234: Iterators PEP 255: Simple Generators PEP 237: Unifying Long Integers and Integers PEP 238: Changing the Division Operator Unicode Changes PEP 227: Nested Scopes New and Improved Modules Interpreter Changes and Fixes Other Changes and Fixes Acknowledgements What’s New in Python 2.1 Introduction PEP 227: Nested Scopes PEP 236: __future__ Directives PEP 207: Rich Comparisons PEP 230: Warning Framework PEP 229: New Build System PEP 205: Weak References PEP 232: Function Attributes PEP 235: Importing Modules on Case-Insensitive Platforms PEP 217: Interactive Display Hook PEP 208: New Coercion Model PEP 241: Metadata in Python Packages New and Improved Modules Other Changes and Fixes Acknowledgements What’s New in Python 2.0 Introduction What About Python 1.6? New Development Process Unicode List Comprehensions Augmented Assignment String Methods Garbage Collection of Cycles Other Core Changes Minor Language Changes Changes to Built-in Functions Porting to 2.0 Extending/Embedding Changes Distutils: Making Modules Easy to Install XML Modules SAX2 Support DOM Support Relationship to PyXML Module changes New modules IDLE Improvements Deleted and Deprecated Modules Acknowledgements Changelog Python 3.6.5 final? Tests Build Python 3.6.5 release candidate 1? Security Core and Builtins Library Documentation Tests Build Windows macOS IDLE Tools/Demos C API Python 3.6.4 final? Python 3.6.4 release candidate 1? Core and Builtins Library Documentation Tests Build Windows macOS IDLE Tools/Demos C API Python 3.6.3 final? Library Build Python 3.6.3 release candidate 1? Security Core and Builtins Library Documentation Tests Build Windows IDLE Tools/Demos Python 3.6.2 final? Python 3.6.2 release candidate 2? Security Python 3.6.2 release candidate 1? Core and Builtins Library Security Library IDLE C API Build Documentation Tools/Demos Tests Windows Python 3.6.1 final? Core and Builtins Build Python 3.6.1 release candidate 1? Core and Builtins Library IDLE Windows C API Documentation Tests Build Python 3.6.0 final? Python 3.6.0 release candidate 2? Core and Builtins Tools/Demos Windows Build Python 3.6.0 release candidate 1? Core and Builtins Library C API Documentation Tools/Demos Python 3.6.0 beta 4? Core and Builtins Library Documentation Tests Build Python 3.6.0 beta 3? Core and Builtins Library Windows Build Tests Python 3.6.0 beta 2? Core and Builtins Library Windows C API Build Tests Python 3.6.0 beta 1? Core and Builtins Library IDLE C API Tests Build Tools/Demos Windows Python 3.6.0 alpha 4? Core and Builtins Library IDLE Tests Windows Build Python 3.6.0 alpha 3? Core and Builtins Library Security Library Security Library IDLE C API Build Tools/Demos Documentation Tests Python 3.6.0 alpha 2? Core and Builtins Library Security Library Security Library IDLE Documentation Tests Windows Build Windows C API Tools/Demos Python 3.6.0 alpha 1? Core and Builtins Library Security Library Security Library Security Library IDLE Documentation Tests Build Windows Tools/Demos C API Python 3.5.3 final? Python 3.5.3 release candidate 1? Core and Builtins Library Security Library Security Library IDLE C API Documentation Tests Tools/Demos Windows Build Python 3.5.2 final? Core and Builtins Tests IDLE Python 3.5.2 release candidate 1? Core and Builtins Security Library Security Library Security Library Security Library Security Library IDLE Documentation Tests Build Windows Tools/Demos Windows Python 3.5.1 final? Core and Builtins Windows Python 3.5.1 release candidate 1? Core and Builtins Library IDLE Documentation Tests Build Windows Tools/Demos Python 3.5.0 final? Build Python 3.5.0 release candidate 4? Library Build Python 3.5.0 release candidate 3? Core and Builtins Library Python 3.5.0 release candidate 2? Core and Builtins Library Python 3.5.0 release candidate 1? Core and Builtins Library IDLE Documentation Tests Python 3.5.0 beta 4? Core and Builtins Library Build Python 3.5.0 beta 3? Core and Builtins Library Tests Documentation Build Python 3.5.0 beta 2? Core and Builtins Library Python 3.5.0 beta 1? Core and Builtins Library IDLE Tests Documentation Tools/Demos Python 3.5.0 alpha 4? Core and Builtins Library Build Tests Tools/Demos C API Python 3.5.0 alpha 3? Core and Builtins Library Build Tests Tools/Demos Python 3.5.0 alpha 2? Core and Builtins Library Build C API Windows Python 3.5.0 alpha 1? Core and Builtins Library IDLE Build C API Documentation Tests Tools/Demos Windows The Python Tutorial 1. Whetting Your Appetite 2. Using the Python Interpreter 2.1. Invoking the Interpreter 2.1.1. Argument Passing 2.1.2. Interactive Mode 2.2. The Interpreter and Its Environment 2.2.1. Source Code Encoding 3. An Informal Introduction to Python 3.1. Using Python as a Calculator 3.1.1. Numbers 3.1.2. Strings 3.1.3. Lists 3.2. First Steps Towards Programming 4. More Control Flow Tools 4.1. if Statements 4.2. for Statements 4.3. The range() Function 4.4. break and continue Statements, and else Clauses on Loops 4.5. pass Statements 4.6. Defining Functions 4.7. More on Defining Functions 4.7.1. Default Argument Values 4.7.2. Keyword Arguments 4.7.3. Arbitrary Argument Lists 4.7.4. Unpacking Argument Lists 4.7.5. Lambda Expressions 4.7.6. Documentation Strings 4.7.7. Function Annotations 4.8. Intermezzo: Coding Style 5. Data Structures 5.1. More on Lists 5.1.1. Using Lists as Stacks 5.1.2. Using Lists as Queues 5.1.3. List Comprehensions 5.1.4. Nested List Comprehensions 5.2. The del statement 5.3. Tuples and Sequences 5.4. Sets 5.5. Dictionaries 5.6. Looping Techniques 5.7. More on Conditions 5.8. Comparing Sequences and Other Types 6. Modules 6.1. More on Modules 6.1.1. Executing modules as scripts 6.1.2. The Module Search Path 6.1.3. “Compiled” Python files 6.2. Standard Modules 6.3. The dir() Function 6.4. Packages 6.4.1. Importing * From a Package 6.4.2. Intra-package References 6.4.3. Packages in Multiple Directories 7. Input and Output 7.1. Fancier Output Formatting 7.1.1. Old string formatting 7.2. Reading and Writing Files 7.2.1. Methods of File Objects 7.2.2. Saving structured data with json 8. Errors and Exceptions 8.1. Syntax Errors 8.2. Exceptions 8.3. Handling Exceptions 8.4. Raising Exceptions 8.5. User-defined Exceptions 8.6. Defining Clean-up Actions 8.7. Predefined Clean-up Actions 9. Classes 9.1. A Word About Names and Objects 9.2. Python Scopes and Namespaces 9.2.1. Scopes and Namespaces Example 9.3. A First Look at Classes 9.3.1. Class Definition Syntax 9.3.2. Class Objects 9.3.3. Instance Objects 9.3.4. Method Objects 9.3.5. Class and Instance Variables 9.4. Random Remarks 9.5. Inheritance 9.5.1. Multiple Inheritance 9.6. Private Variables 9.7. Odds and Ends 9.8. Iterators 9.9. Generators 9.10. Generator Expressions 10. Brief Tour of the Standard Library 10.1. Operating System Interface 10.2. File Wildcards 10.3. Command Line Arguments 10.4. Error Output Redirection and Program Termination 10.5. String Pattern Matching 10.6. Mathematics 10.7. Internet Access 10.8. Dates and Times 10.9. Data Compression 10.10. Performance Measurement 10.11. Quality Control 10.12. Batteries Included 11. Brief Tour of the Standard Library — Part II 11.1. Output Formatting 11.2. Templating 11.3. Working with Binary Data Record Layouts 11.4. Multi-threading 11.5. Logging 11.6. Weak References 11.7. Tools for Working with Lists 11.8. Decimal Floating Point Arithmetic 12. Virtual Environments and Packages 12.1. Introduction 12.2. Creating Virtual Environments 12.3. Managing Packages with pip 13. What Now? 14. Interactive Input Editing and History Substitution 14.1. Tab Completion and History Editing 14.2. Alternatives to the Interactive Interpreter 15. Floating Point Arithmetic: Issues and Limitations 15.1. Representation Error 16. Appendix 16.1. Interactive Mode 16.1.1. Error Handling 16.1.2. Executable Python Scripts 16.1.3. The Interactive Startup File 16.1.4. The Customization Modules Python Setup and Usage 1. Command line and environment 1.1. Command line 1.1.1. Interface options 1.1.2. Generic options 1.1.3. Miscellaneous options 1.1.4. Options you shouldn’t use 1.2. Environment variables 1.2.1. Debug-mode variables 2. Using Python on Unix platforms 2.1. Getting and installing the latest version of Python 2.1.1. On Linux 2.1.2. On FreeBSD and OpenBSD 2.1.3. On OpenSolaris 2.2. Building Python 2.3. Python-related paths and files 2.4. Miscellaneous 2.5. Editors and IDEs 3. Using Python on Windows 3.1. Installing Python 3.1.1. Supported Versions 3.1.2. Installation Steps 3.1.3. Removing the MAX_PATH Limitation 3.1.4. Installing Without UI 3.1.5. Installing Without Downloading 3.1.6. Modifying an install 3.1.7. Other Platforms 3.2. Alternative bundles 3.3. Configuring Python 3.3.1. Excursus: Setting environment variables 3.3.2. Finding the Python executable 3.4. Python Launcher for Windows 3.4.1. Getting started 3.4.1.1. From the command-line 3.4.1.2. Virtual environments 3.4.1.3. From a script 3.4.1.4. From file associations 3.4.2. Shebang Lines 3.4.3. Arguments in shebang lines 3.4.4. Customization 3.4.4.1. Customization via INI files 3.4.4.2. Customizing default Python versions 3.4.5. Diagnostics 3.5. Finding modules 3.6. Additional modules 3.6.1. PyWin32 3.6.2. cx_Freeze 3.6.3. WConio 3.7. Compiling Python on Windows 3.8. Embedded Distribution 3.8.1. Python Application 3.8.2. Embedding Python 3.9. Other resources 4. Using Python on a Macintosh 4.1. Getting and Installing MacPython 4.1.1. How to run a Python script 4.1.2. Running scripts with a GUI 4.1.3. Configuration 4.2. The IDE 4.3. Installing Additional Python Packages 4.4. GUI Programming on the Mac 4.5. Distributing Python Applications on the Mac 4.6. Other Resources The Python Language Reference 1. Introduction 1.1. Alternate Implementations 1.2. Notation 2. Lexical analysis 2.1. Line structure 2.1.1. Logical lines 2.1.2. Physical lines 2.1.3. Comments 2.1.4. Encoding declarations 2.1.5. Explicit line joining 2.1.6. Implicit line joining 2.1.7. Blank lines 2.1.8. Indentation 2.1.9. Whitespace between tokens 2.2. Other tokens 2.3. Identifiers and keywords 2.3.1. Keywords 2.3.2. Reserved classes of identifiers 2.4. Literals 2.4.1. String and Bytes literals 2.4.2. String literal concatenation 2.4.3. Formatted string literals 2.4.4. Numeric literals 2.4.5. Integer literals 2.4.6. Floating point literals 2.4.7. Imaginary literals 2.5. Operators 2.6. Delimiters 3. Data model 3.1. Objects, values and types 3.2. The standard type hierarchy 3.3. Special method names 3.3.1. Basic customization 3.3.2. Customizing attribute access 3.3.2.1. Customizing module attribute access 3.3.2.2. Implementing Descriptors 3.3.2.3. Invoking Descriptors 3.3.2.4. __slots__ 3.3.2.4.1. Notes on using __slots__ 3.3.3. Customizing class creation 3.3.3.1. Metaclasses 3.3.3.2. Determining the appropriate metaclass 3.3.3.3. Preparing the class namespace 3.3.3.4. Executing the class body 3.3.3.5. Creating the class object 3.3.3.6. Metaclass example 3.3.4. Customizing instance and subclass checks 3.3.5. Emulating callable objects 3.3.6. Emulating container types 3.3.7. Emulating numeric types 3.3.8. With Statement Context Managers 3.3.9. Special method lookup 3.4. Coroutines 3.4.1. Awaitable Objects 3.4.2. Coroutine Objects 3.4.3. Asynchronous Iterators 3.4.4. Asynchronous Context Managers 4. Execution model 4.1. Structure of a program 4.2. Naming and binding 4.2.1. Binding of names 4.2.2. Resolution of names 4.2.3. Builtins and restricted execution 4.2.4. Interaction with dynamic features 4.3. Exceptions 5. The import system 5.1. importlib 5.2. Packages 5.2.1. Regular packages 5.2.2. Namespace packages 5.3. Searching 5.3.1. The module cache 5.3.2. Finders and loaders 5.3.3. Import hooks 5.3.4. The meta path 5.4. Loading 5.4.1. Loaders 5.4.2. Submodules 5.4.3. Module spec 5.4.4. Import-related module attributes 5.4.5. module.__path__ 5.4.6. Module reprs 5.5. The Path Based Finder 5.5.1. Path entry finders 5.5.2. Path entry finder protocol 5.6. Replacing the standard import system 5.7. Special considerations for __main__ 5.7.1. __main__.__spec__ 5.8. Open issues 5.9. References 6. Expressions 6.1. Arithmetic conversions 6.2. Atoms 6.2.1. Identifiers (Names) 6.2.2. Literals 6.2.3. Parenthesized forms 6.2.4. Displays for lists, sets and dictionaries 6.2.5. List displays 6.2.6. Set displays 6.2.7. Dictionary displays 6.2.8. Generator expressions 6.2.9. Yield expressions 6.2.9.1. Generator-iterator methods 6.2.9.2. Examples 6.2.9.3. Asynchronous generator functions 6.2.9.4. Asynchronous generator-iterator methods 6.3. Primaries 6.3.1. Attribute references 6.3.2. Subscriptions 6.3.3. Slicings 6.3.4. Calls 6.4. Await expression 6.5. The power operator 6.6. Unary arithmetic and bitwise operations 6.7. Binary arithmetic operations 6.8. Shifting operations 6.9. Binary bitwise operations 6.10. Comparisons 6.10.1. Value comparisons 6.10.2. Membership test operations 6.10.3. Identity comparisons 6.11. Boolean operations 6.12. Conditional expressions 6.13. Lambdas 6.14. Expression lists 6.15. Evaluation order 6.16. Operator precedence 7. Simple statements 7.1. Expression statements 7.2. Assignment statements 7.2.1. Augmented assignment statements 7.2.2. Annotated assignment statements 7.3. The assert statement 7.4. The pass statement 7.5. The del statement 7.6. The return statement 7.7. The yield statement 7.8. The raise statement 7.9. The break statement 7.10. The continue statement 7.11. The import statement 7.11.1. Future statements 7.12. The global statement 7.13. The nonlocal statement 8. Compound statements 8.1. The if statement 8.2. The while statement 8.3. The for statement 8.4. The try statement 8.5. The with statement 8.6. Function definitions 8.7. Class definitions 8.8. Coroutines 8.8.1. Coroutine function definition 8.8.2. The async for statement 8.8.3. The async with statement 9. Top-level components 9.1. Complete Python programs 9.2. File input 9.3. Interactive input 9.4. Expression input 10. Full Grammar specification The Python Standard Library 1. Introduction 2. Built-in Functions 3. Built-in Constants 3.1. Constants added by the site module 4. Built-in Types 4.1. Truth Value Testing 4.2. Boolean Operations — and, or, not 4.3. Comparisons 4.4. Numeric Types — int, float, complex 4.4.1. Bitwise Operations on Integer Types 4.4.2. Additional Methods on Integer Types 4.4.3. Additional Methods on Float 4.4.4. Hashing of numeric types 4.5. Iterator Types 4.5.1. Generator Types 4.6. Sequence Types — list, tuple, range 4.6.1. Common Sequence Operations 4.6.2. Immutable Sequence Types 4.6.3. Mutable Sequence Types 4.6.4. Lists 4.6.5. Tuples 4.6.6. Ranges 4.7. Text Sequence Type — str 4.7.1. String Methods 4.7.2. printf-style String Formatting 4.8. Binary Sequence Types — bytes, bytearray, memoryview 4.8.1. Bytes Objects 4.8.2. Bytearray Objects 4.8.3. Bytes and Bytearray Operations 4.8.4. printf-style Bytes Formatting 4.8.5. Memory Views 4.9. Set Types — set, frozenset 4.10. Mapping Types — dict 4.10.1. Dictionary view objects 4.11. Context Manager Types 4.12. Other Built-in Types 4.12.1. Modules 4.12.2. Classes and Class Instances 4.12.3. Functions 4.12.4. Methods 4.12.5. Code Objects 4.12.6. Type Objects 4.12.7. The Null Object 4.12.8. The Ellipsis Object 4.12.9. The NotImplemented Object 4.12.10. Boolean Values 4.12.11. Internal Objects 4.13. Special Attributes 5. Built-in Exceptions 5.1. Base classes 5.2. Concrete exceptions 5.2.1. OS exceptions 5.3. Warnings 5.4. Exception hierarchy 6. Text Processing Services 6.1. string — Common string operations 6.1.1. String constants 6.1.2. Custom String Formatting 6.1.3. Format String Syntax 6.1.3.1. Format Specification Mini-Language 6.1.3.2. Format examples 6.1.4. Template strings 6.1.5. Helper functions 6.2. re — Regular expression operations 6.2.1. Regular Expression Syntax 6.2.2. Module Contents 6.2.3. Regular Expression Objects 6.2.4. Match Objects 6.2.5. Regular Expression Examples 6.2.5.1. Checking for a Pair 6.2.5.2. Simulating scanf() 6.2.5.3. search() vs. match() 6.2.5.4. Making a Phonebook 6.2.5.5. Text Munging 6.2.5.6. Finding all Adverbs 6.2.5.7. Finding all Adverbs and their Positions 6.2.5.8. Raw String Notation 6.2.5.9. Writing a Tokenizer 6.3. difflib — Helpers for computing deltas 6.3.1. SequenceMatcher Objects 6.3.2. SequenceMatcher Examples 6.3.3. Differ Objects 6.3.4. Differ Example 6.3.5. A command-line interface to difflib 6.4. textwrap — Text wrapping and filling 6.5. unicodedata — Unicode Database 6.6. stringprep — Internet String Preparation 6.7. readline — GNU readline interface 6.7.1. Init file 6.7.2. Line buffer 6.7.3. History file 6.7.4. History list 6.7.5. Startup hooks 6.7.6. Completion 6.7.7. Example 6.8. rlcompleter — Completion function for GNU readline 6.8.1. Completer Objects 7. Binary Data Services 7.1. struct — Interpret bytes as packed binary data 7.1.1. Functions and Exceptions 7.1.2. Format Strings 7.1.2.1. Byte Order, Size, and Alignment 7.1.2.2. Format Characters 7.1.2.3. Examples 7.1.3. Classes 7.2. codecs — Codec registry and base classes 7.2.1. Codec Base Classes 7.2.1.1. Error Handlers 7.2.1.2. Stateless Encoding and Decoding 7.2.1.3. Incremental Encoding and Decoding 7.2.1.3.1. IncrementalEncoder Objects 7.2.1.3.2. IncrementalDecoder Objects 7.2.1.4. Stream Encoding and Decoding 7.2.1.4.1. StreamWriter Objects 7.2.1.4.2. StreamReader Objects 7.2.1.4.3. StreamReaderWriter Objects 7.2.1.4.4. StreamRecoder Objects 7.2.2. Encodings and Unicode 7.2.3. Standard Encodings 7.2.4. Python Specific Encodings 7.2.4.1. Text Encodings 7.2.4.2. Binary Transforms 7.2.4.3. Text Transforms 7.2.5. encodings.idna — Internationalized Domain Names in Applications 7.2.6. encodings.mbcs — Windows ANSI codepage 7.2.7. encodings.utf_8_sig — UTF-8 codec with BOM signature 8. Data Types 8.1. datetime — Basic date and time types 8.1.1. Available Types 8.1.2. timedelta Objects 8.1.3. date Objects 8.1.4. datetime Objects 8.1.5. time Objects 8.1.6. tzinfo Objects 8.1.7. timezone Objects 8.1.8. strftime() and strptime() Behavior 8.2. calendar — General calendar-related functions 8.3. collections — Container datatypes 8.3.1. ChainMap objects 8.3.1.1. ChainMap Examples and Recipes 8.3.2. Counter objects 8.3.3. deque objects 8.3.3.1. deque Recipes 8.3.4. defaultdict objects 8.3.4.1. defaultdict Examples 8.3.5. namedtuple() Factory Function for Tuples with Named Fields 8.3.6. OrderedDict objects 8.3.6.1. OrderedDict Examples and Recipes 8.3.7. UserDict objects 8.3.8. UserList objects 8.3.9. UserString objects 8.4. collections.abc — Abstract Base Classes for Containers 8.4.1. Collections Abstract Base Classes 8.5. heapq — Heap queue algorithm 8.5.1. Basic Examples 8.5.2. Priority Queue Implementation Notes 8.5.3. Theory 8.6. bisect — Array bisection algorithm 8.6.1. Searching Sorted Lists 8.6.2. Other Examples 8.7. array — Efficient arrays of numeric values 8.8. weakref — Weak references 8.8.1. Weak Reference Objects 8.8.2. Example 8.8.3. Finalizer Objects 8.8.4. Comparing finalizers with __del__() methods 8.9. types — Dynamic type creation and names for built-in types 8.9.1. Dynamic Type Creation 8.9.2. Standard Interpreter Types 8.9.3. Additional Utility Classes and Functions 8.9.4. Coroutine Utility Functions 8.10. copy — Shallow and deep copy operations 8.11. pprint — Data pretty printer 8.11.1. PrettyPrinter Objects 8.11.2. Example 8.12. reprlib — Alternate repr() implementation 8.12.1. Repr Objects 8.12.2. Subclassing Repr Objects 8.13. enum — Support for enumerations 8.13.1. Module Contents 8.13.2. Creating an Enum 8.13.3. Programmatic access to enumeration members and their attributes 8.13.4. Duplicating enum members and values 8.13.5. Ensuring unique enumeration values 8.13.6. Using automatic values 8.13.7. Iteration 8.13.8. Comparisons 8.13.9. Allowed members and attributes of enumerations 8.13.10. Restricted subclassing of enumerations 8.13.11. Pickling 8.13.12. Functional API 8.13.13. Derived Enumerations 8.13.13.1. IntEnum 8.13.13.2. IntFlag 8.13.13.3. Flag 8.13.13.4. Others 8.13.14. Interesting examples 8.13.14.1. Omitting values 8.13.14.1.1. Using auto 8.13.14.1.2. Using object 8.13.14.1.3. Using a descriptive string 8.13.14.1.4. Using a custom __new__() 8.13.14.2. OrderedEnum 8.13.14.3. DuplicateFreeEnum 8.13.14.4. Planet 8.13.15. How are Enums different? 8.13.15.1. Enum Classes 8.13.15.2. Enum Members (aka instances) 8.13.15.3. Finer Points 8.13.15.3.1. Supported __dunder__ names 8.13.15.3.2. Supported _sunder_ names 8.13.15.3.3. Enum member type 8.13.15.3.4. Boolean value of Enum classes and members 8.13.15.3.5. Enum classes with methods 8.13.15.3.6. Combining members of Flag 9. Numeric and Mathematical Modules 9.1. numbers — Numeric abstract base classes 9.1.1. The numeric tower 9.1.2. Notes for type implementors 9.1.2.1. Adding More Numeric ABCs 9.1.2.2. Implementing the arithmetic operations 9.2. math — Mathematical functions 9.2.1. Number-theoretic and representation functions 9.2.2. Power and logarithmic functions 9.2.3. Trigonometric functions 9.2.4. Angular conversion 9.2.5. Hyperbolic functions 9.2.6. Special functions 9.2.7. Constants 9.3. cmath — Mathematical functions for complex numbers 9.3.1. Conversions to and from polar coordinates 9.3.2. Power and logarithmic functions 9.3.3. Trigonometric functions 9.3.4. Hyperbolic functions 9.3.5. Classification functions 9.3.6. Constants 9.4. decimal — Decimal fixed point and floating point arithmetic 9.4.1. Quick-start Tutorial 9.4.2. Decimal objects 9.4.2.1. Logical operands 9.4.3. Context objects 9.4.4. Constants 9.4.5. Rounding modes 9.4.6. Signals 9.4.7. Floating Point Notes 9.4.7.1. Mitigating round-off error with increased precision 9.4.7.2. Special values 9.4.8. Working with threads 9.4.9. Recipes 9.4.10. Decimal FAQ 9.5. fractions — Rational numbers 9.6. random — Generate pseudo-random numbers 9.6.1. Bookkeeping functions 9.6.2. Functions for integers 9.6.3. Functions for sequences 9.6.4. Real-valued distributions 9.6.5. Alternative Generator 9.6.6. Notes on Reproducibility 9.6.7. Examples and Recipes 9.7. statistics — Mathematical statistics functions 9.7.1. Averages and measures of central location 9.7.2. Measures of spread 9.7.3. Function details 9.7.4. Exceptions 10. Functional Programming Modules 10.1. itertools — Functions creating iterators for efficient looping 10.1.1. Itertool functions 10.1.2. Itertools Recipes 10.2. functools — Higher-order functions and operations on callable objects 10.2.1. partial Objects 10.3. operator — Standard operators as functions 10.3.1. Mapping Operators to Functions 10.3.2. Inplace Operators 11. File and Directory Access 11.1. pathlib — Object-oriented filesystem paths 11.1.1. Basic use 11.1.2. Pure paths 11.1.2.1. General properties 11.1.2.2. Operators 11.1.2.3. Accessing individual parts 11.1.2.4. Methods and properties 11.1.3. Concrete paths 11.1.3.1. Methods 11.2. os.path — Common pathname manipulations 11.3. fileinput — Iterate over lines from multiple input streams 11.4. stat — Interpreting stat() results 11.5. filecmp — File and Directory Comparisons 11.5.1. The dircmp class 11.6. tempfile — Generate temporary files and directories 11.6.1. Examples 11.6.2. Deprecated functions and variables 11.7. glob — Unix style pathname pattern expansion 11.8. fnmatch — Unix filename pattern matching 11.9. linecache — Random access to text lines 11.10. shutil — High-level file operations 11.10.1. Directory and files operations 11.10.1.1. copytree example 11.10.1.2. rmtree example 11.10.2. Archiving operations 11.10.2.1. Archiving example 11.10.3. Querying the size of the output terminal 11.11. macpath — Mac OS 9 path manipulation functions 12. Data Persistence 12.1. pickle — Python object serialization 12.1.1. Relationship to other Python modules 12.1.1.1. Comparison with marshal 12.1.1.2. Comparison with json 12.1.2. Data stream format 12.1.3. Module Interface 12.1.4. What can be pickled and unpickled? 12.1.5. Pickling Class Instances 12.1.5.1. Persistence of External Objects 12.1.5.2. Dispatch Tables 12.1.5.3. Handling Stateful Objects 12.1.6. Restricting Globals 12.1.7. Performance 12.1.8. Examples 12.2. copyreg — Register pickle support functions 12.2.1. Example 12.3. shelve — Python object persistence 12.3.1. Restrictions 12.3.2. Example 12.4. marshal — Internal Python object serialization 12.5. dbm — Interfaces to Unix “databases” 12.5.1. dbm.gnu — GNU’s reinterpretation of dbm 12.5.2. dbm.ndbm — Interface based on ndbm 12.5.3. dbm.dumb — Portable DBM implementation 12.6. sqlite3 — DB-API 2.0 interface for SQLite databases 12.6.1. Module functions and constants 12.6.2. Connection Objects 12.6.3. Cursor Objects 12.6.4. Row Objects 12.6.5. Exceptions 12.6.6. SQLite and Python types 12.6.6.1. Introduction 12.6.6.2. Using adapters to store additional Python types in SQLite databases 12.6.6.2.1. Letting your object adapt itself 12.6.6.2.2. Registering an adapter callable 12.6.6.3. Converting SQLite values to custom Python types 12.6.6.4. Default adapters and converters 12.6.7. Controlling Transactions 12.6.8. Using sqlite3 efficiently 12.6.8.1. Using shortcut methods 12.6.8.2. Accessing columns by name instead of by index 12.6.8.3. Using the connection as a context manager 12.6.9. Common issues 12.6.9.1. Multithreading 13. Data Compression and Archiving 13.1. zlib — Compression compatible with gzip 13.2. gzip — Support for gzip files 13.2.1. Examples of usage 13.3. bz2 — Support for bzip2 compression 13.3.1. (De)compression of files 13.3.2. Incremental (de)compression 13.3.3. One-shot (de)compression 13.4. lzma — Compression using the LZMA algorithm 13.4.1. Reading and writing compressed files 13.4.2. Compressing and decompressing data in memory 13.4.3. Miscellaneous 13.4.4. Specifying custom filter chains 13.4.5. Examples 13.5. zipfile — Work with ZIP archives 13.5.1. ZipFile Objects 13.5.2. PyZipFile Objects 13.5.3. ZipInfo Objects 13.5.4. Command-Line Interface 13.5.4.1. Command-line options 13.6. tarfile — Read and write tar archive files 13.6.1. TarFile Objects 13.6.2. TarInfo Objects 13.6.3. Command-Line Interface 13.6.3.1. Command-line options 13.6.4. Examples 13.6.5. Supported tar formats 13.6.6. Unicode issues 14. File Formats 14.1. csv — CSV File Reading and Writing 14.1.1. Module Contents 14.1.2. Dialects and Formatting Parameters 14.1.3. Reader Objects 14.1.4. Writer Objects 14.1.5. Examples 14.2. configparser — Configuration file parser 14.2.1. Quick Start 14.2.2. Supported Datatypes 14.2.3. Fallback Values 14.2.4. Supported INI File Structure 14.2.5. Interpolation of values 14.2.6. Mapping Protocol Access 14.2.7. Customizing Parser Behaviour 14.2.8. Legacy API Examples 14.2.9. ConfigParser Objects 14.2.10. RawConfigParser Objects 14.2.11. Exceptions 14.3. netrc — netrc file processing 14.3.1. netrc Objects 14.4. xdrlib — Encode and decode XDR data 14.4.1. Packer Objects 14.4.2. Unpacker Objects 14.4.3. Exceptions 14.5. plistlib — Generate and parse Mac OS X .plist files 14.5.1. Examples 15. Cryptographic Services 15.1. hashlib — Secure hashes and message digests 15.1.1. Hash algorithms 15.1.2. SHAKE variable length digests 15.1.3. Key derivation 15.1.4. BLAKE2 15.1.4.1. Creating hash objects 15.1.4.2. Constants 15.1.4.3. Examples 15.1.4.3.1. Simple hashing 15.1.4.3.2. Using different digest sizes 15.1.4.3.3. Keyed hashing 15.1.4.3.4. Randomized hashing 15.1.4.3.5. Personalization 15.1.4.3.6. Tree mode 15.1.4.4. Credits 15.2. hmac — Keyed-Hashing for Message Authentication 15.3. secrets — Generate secure random numbers for managing secrets 15.3.1. Random numbers 15.3.2. Generating tokens 15.3.2.1. How many bytes should tokens use? 15.3.3. Other functions 15.3.4. Recipes and best practices 16. Generic Operating System Services 16.1. os — Miscellaneous operating system interfaces 16.1.1. File Names, Command Line Arguments, and Environment Variables 16.1.2. Process Parameters 16.1.3. File Object Creation 16.1.4. File Descriptor Operations 16.1.4.1. Querying the size of a terminal 16.1.4.2. Inheritance of File Descriptors 16.1.5. Files and Directories 16.1.5.1. Linux extended attributes 16.1.6. Process Management 16.1.7. Interface to the scheduler 16.1.8. Miscellaneous System Information 16.1.9. Random numbers 16.2. io — Core tools for working with streams 16.2.1. Overview 16.2.1.1. Text I/O 16.2.1.2. Binary I/O 16.2.1.3. Raw I/O 16.2.2. High-level Module Interface 16.2.2.1. In-memory streams 16.2.3. Class hierarchy 16.2.3.1. I/O Base Classes 16.2.3.2. Raw File I/O 16.2.3.3. Buffered Streams 16.2.3.4. Text I/O 16.2.4. Performance 16.2.4.1. Binary I/O 16.2.4.2. Text I/O 16.2.4.3. Multi-threading 16.2.4.4. Reentrancy 16.3. time — Time access and conversions 16.3.1. Functions 16.3.2. Clock ID Constants 16.3.3. Timezone Constants 16.4. argparse — Parser for command-line options, arguments and sub-commands 16.4.1. Example 16.4.1.1. Creating a parser 16.4.1.2. Adding arguments 16.4.1.3. Parsing arguments 16.4.2. ArgumentParser objects 16.4.2.1. prog 16.4.2.2. usage 16.4.2.3. description 16.4.2.4. epilog 16.4.2.5. parents 16.4.2.6. formatter_class 16.4.2.7. prefix_chars 16.4.2.8. fromfile_prefix_chars 16.4.2.9. argument_default 16.4.2.10. allow_abbrev 16.4.2.11. conflict_handler 16.4.2.12. add_help 16.4.3. The add_argument() method 16.4.3.1. name or flags 16.4.3.2. action 16.4.3.3. nargs 16.4.3.4. const 16.4.3.5. default 16.4.3.6. type 16.4.3.7. choices 16.4.3.8. required 16.4.3.9. help 16.4.3.10. metavar 16.4.3.11. dest 16.4.3.12. Action classes 16.4.4. The parse_args() method 16.4.4.1. Option value syntax 16.4.4.2. Invalid arguments 16.4.4.3. Arguments containing - 16.4.4.4. Argument abbreviations (prefix matching) 16.4.4.5. Beyond sys.argv 16.4.4.6. The Namespace object 16.4.5. Other utilities 16.4.5.1. Sub-commands 16.4.5.2. FileType objects 16.4.5.3. Argument groups 16.4.5.4. Mutual exclusion 16.4.5.5. Parser defaults 16.4.5.6. Printing help 16.4.5.7. Partial parsing 16.4.5.8. Customizing file parsing 16.4.5.9. Exiting methods 16.4.6. Upgrading optparse code 16.5. getopt — C-style parser for command line options 16.6. logging — Logging facility for Python 16.6.1. Logger Objects 16.6.2. Logging Levels 16.6.3. Handler Objects 16.6.4. Formatter Objects 16.6.5. Filter Objects 16.6.6. LogRecord Objects 16.6.7. LogRecord attributes 16.6.8. LoggerAdapter Objects 16.6.9. Thread Safety 16.6.10. Module-Level Functions 16.6.11. Module-Level Attributes 16.6.12. Integration with the warnings module 16.7. logging.config — Logging configuration 16.7.1. Configuration functions 16.7.2. Configuration dictionary schema 16.7.2.1. Dictionary Schema Details 16.7.2.2. Incremental Configuration 16.7.2.3. Object connections 16.7.2.4. User-defined objects 16.7.2.5. Access to external objects 16.7.2.6. Access to internal objects 16.7.2.7. Import resolution and custom importers 16.7.3. Configuration file format 16.8. logging.handlers — Logging handlers 16.8.1. StreamHandler 16.8.2. FileHandler 16.8.3. NullHandler 16.8.4. WatchedFileHandler 16.8.5. BaseRotatingHandler 16.8.6. RotatingFileHandler 16.8.7. TimedRotatingFileHandler 16.8.8. SocketHandler 16.8.9. DatagramHandler 16.8.10. SysLogHandler 16.8.11. NTEventLogHandler 16.8.12. SMTPHandler 16.8.13. MemoryHandler 16.8.14. HTTPHandler 16.8.15. QueueHandler 16.8.16. QueueListener 16.9. getpass — Portable password input 16.10. curses — Terminal handling for character-cell displays 16.10.1. Functions 16.10.2. Window Objects 16.10.3. Constants 16.11. curses.textpad — Text input widget for curses programs 16.11.1. Textbox objects 16.12. curses.ascii — Utilities for ASCII characters 16.13. curses.panel — A panel stack extension for curses 16.13.1. Functions 16.13.2. Panel Objects 16.14. platform — Access to underlying platform’s identifying data 16.14.1. Cross Platform 16.14.2. Java Platform 16.14.3. Windows Platform 16.14.3.1. Win95/98 specific 16.14.4. Mac OS Platform 16.14.5. Unix Platforms 16.15. errno — Standard errno system symbols 16.16. ctypes — A foreign function library for Python 16.16.1. ctypes tutorial 16.16.1.1. Loading dynamic link libraries 16.16.1.2. Accessing functions from loaded dlls 16.16.1.3. Calling functions 16.16.1.4. Fundamental data types 16.16.1.5. Calling functions, continued 16.16.1.6. Calling functions with your own custom data types 16.16.1.7. Specifying the required argument types (function prototypes) 16.16.1.8. Return types 16.16.1.9. Passing pointers (or: passing parameters by reference) 16.16.1.10. Structures and unions 16.16.1.11. Structure/union alignment and byte order 16.16.1.12. Bit fields in structures and unions 16.16.1.13. Arrays 16.16.1.14. Pointers 16.16.1.15. Type conversions 16.16.1.16. Incomplete Types 16.16.1.17. Callback functions 16.16.1.18. Accessing values exported from dlls 16.16.1.19. Surprises 16.16.1.20. Variable-sized data types 16.16.2. ctypes reference 16.16.2.1. Finding shared libraries 16.16.2.2. Loading shared libraries 16.16.2.3. Foreign functions 16.16.2.4. Function prototypes 16.16.2.5. Utility functions 16.16.2.6. Data types 16.16.2.7. Fundamental data types 16.16.2.8. Structured data types 16.16.2.9. Arrays and pointers 17. Concurrent Execution 17.1. threading — Thread-based parallelism 17.1.1. Thread-Local Data 17.1.2. Thread Objects 17.1.3. Lock Objects 17.1.4. RLock Objects 17.1.5. Condition Objects 17.1.6. Semaphore Objects 17.1.6.1. Semaphore Example 17.1.7. Event Objects 17.1.8. Timer Objects 17.1.9. Barrier Objects 17.1.10. Using locks, conditions, and semaphores in the with statement 17.2. multiprocessing — Process-based parallelism 17.2.1. Introduction 17.2.1.1. The Process class 17.2.1.2. Contexts and start methods 17.2.1.3. Exchanging objects between processes 17.2.1.4. Synchronization between processes 17.2.1.5. Sharing state between processes 17.2.1.6. Using a pool of workers 17.2.2. Reference 17.2.2.1. Process and exceptions 17.2.2.2. Pipes and Queues 17.2.2.3. Miscellaneous 17.2.2.4. Connection Objects 17.2.2.5. Synchronization primitives 17.2.2.6. Shared ctypes Objects 17.2.2.6.1. The multiprocessing.sharedctypes module 17.2.2.7. Managers 17.2.2.7.1. Customized managers 17.2.2.7.2. Using a remote manager 17.2.2.8. Proxy Objects 17.2.2.8.1. Cleanup 17.2.2.9. Process Pools 17.2.2.10. Listeners and Clients 17.2.2.10.1. Address Formats 17.2.2.11. Authentication keys 17.2.2.12. Logging 17.2.2.13. The multiprocessing.dummy module 17.2.3. Programming guidelines 17.2.3.1. All start methods 17.2.3.2. The spawn and forkserver start methods 17.2.4. Examples 17.3. The concurrent package 17.4. concurrent.futures — Launching parallel tasks 17.4.1. Executor Objects 17.4.2. ThreadPoolExecutor 17.4.2.1. ThreadPoolExecutor Example 17.4.3. ProcessPoolExecutor 17.4.3.1. ProcessPoolExecutor Example 17.4.4. Future Objects 17.4.5. Module Functions 17.4.6. Exception classes 17.5. subprocess — Subprocess management 17.5.1. Using the subprocess Module 17.5.1.1. Frequently Used Arguments 17.5.1.2. Popen Constructor 17.5.1.3. Exceptions 17.5.2. Security Considerations 17.5.3. Popen Objects 17.5.4. Windows Popen Helpers 17.5.4.1. Constants 17.5.5. Older high-level API 17.5.6. Replacing Older Functions with the subprocess Module 17.5.6.1. Replacing /bin/sh shell backquote 17.5.6.2. Replacing shell pipeline 17.5.6.3. Replacing os.system() 17.5.6.4. Replacing the os.spawn family 17.5.6.5. Replacing os.popen(), os.popen2(), os.popen3() 17.5.6.6. Replacing functions from the popen2 module 17.5.7. Legacy Shell Invocation Functions 17.5.8. Notes 17.5.8.1. Converting an argument sequence to a string on Windows 17.6. sched — Event scheduler 17.6.1. Scheduler Objects 17.7. queue — A synchronized queue class 17.7.1. Queue Objects 17.8. dummy_threading — Drop-in replacement for the threading module 17.9. _thread — Low-level threading API 17.10. _dummy_thread — Drop-in replacement for the _thread module 18. Interprocess Communication and Networking 18.1. socket — Low-level networking interface 18.1.1. Socket families 18.1.2. Module contents 18.1.2.1. Exceptions 18.1.2.2. Constants 18.1.2.3. Functions 18.1.2.3.1. Creating sockets 18.1.2.3.2. Other functions 18.1.3. Socket Objects 18.1.4. Notes on socket timeouts 18.1.4.1. Timeouts and the connect method 18.1.4.2. Timeouts and the accept method 18.1.5. Example 18.2. ssl — TLS/SSL wrapper for socket objects 18.2.1. Functions, Constants, and Exceptions 18.2.1.1. Socket creation 18.2.1.2. Context creation 18.2.1.3. Random generation 18.2.1.4. Certificate handling 18.2.1.5. Constants 18.2.2. SSL Sockets 18.2.3. SSL Contexts 18.2.4. Certificates 18.2.4.1. Certificate chains 18.2.4.2. CA certificates 18.2.4.3. Combined key and certificate 18.2.4.4. Self-signed certificates 18.2.5. Examples 18.2.5.1. Testing for SSL support 18.2.5.2. Client-side operation 18.2.5.3. Server-side operation 18.2.6. Notes on non-blocking sockets 18.2.7. Memory BIO Support 18.2.8. SSL session 18.2.9. Security considerations 18.2.9.1. Best defaults 18.2.9.2. Manual settings 18.2.9.2.1. Verifying certificates 18.2.9.2.2. Protocol versions 18.2.9.2.3. Cipher selection 18.2.9.3. Multi-processing 18.2.10. LibreSSL support 18.3. select — Waiting for I/O completion 18.3.1. /dev/poll Polling Objects 18.3.2. Edge and Level Trigger Polling (epoll) Objects 18.3.3. Polling Objects 18.3.4. Kqueue Objects 18.3.5. Kevent Objects 18.4. selectors — High-level I/O multiplexing 18.4.1. Introduction 18.4.2. Classes 18.4.3. Examples 18.5. asyncio — Asynchronous I/O, event loop, coroutines and tasks 18.5.1. Base Event Loop 18.5.1.1. Run an event loop 18.5.1.2. Calls 18.5.1.3. Delayed calls 18.5.1.4. Futures 18.5.1.5. Tasks 18.5.1.6. Creating connections 18.5.1.7. Creating listening connections 18.5.1.8. Watch file descriptors 18.5.1.9. Low-level socket operations 18.5.1.10. Resolve host name 18.5.1.11. Connect pipes 18.5.1.12. UNIX signals 18.5.1.13. Executor 18.5.1.14. Error Handling API 18.5.1.15. Debug mode 18.5.1.16. Server 18.5.1.17. Handle 18.5.1.18. Event loop examples 18.5.1.18.1. Hello World with call_soon() 18.5.1.18.2. Display the current date with call_later() 18.5.1.18.3. Watch a file descriptor for read events 18.5.1.18.4. Set signal handlers for SIGINT and SIGTERM 18.5.2. Event loops 18.5.2.1. Event loop functions 18.5.2.2. Available event loops 18.5.2.3. Platform support 18.5.2.3.1. Windows 18.5.2.3.2. Mac OS X 18.5.2.4. Event loop policies and the default policy 18.5.2.5. Event loop policy interface 18.5.2.6. Access to the global loop policy 18.5.2.7. Customizing the event loop policy 18.5.3. Tasks and coroutines 18.5.3.1. Coroutines 18.5.3.1.1. Example: Hello World coroutine 18.5.3.1.2. Example: Coroutine displaying the current date 18.5.3.1.3. Example: Chain coroutines 18.5.3.2. InvalidStateError 18.5.3.3. TimeoutError 18.5.3.4. Future 18.5.3.4.1. Example: Future with run_until_complete() 18.5.3.4.2. Example: Future with run_forever() 18.5.3.5. Task 18.5.3.5.1. Example: Parallel execution of tasks 18.5.3.6. Task functions 18.5.4. Transports and protocols (callback based API) 18.5.4.1. Transports 18.5.4.1.1. BaseTransport 18.5.4.1.2. ReadTransport 18.5.4.1.3. WriteTransport 18.5.4.1.4. DatagramTransport 18.5.4.1.5. BaseSubprocessTransport 18.5.4.2. Protocols 18.5.4.2.1. Protocol classes 18.5.4.2.2. Connection callbacks 18.5.4.2.3. Streaming protocols 18.5.4.2.4. Datagram protocols 18.5.4.2.5. Flow control callbacks 18.5.4.2.6. Coroutines and protocols 18.5.4.3. Protocol examples 18.5.4.3.1. TCP echo client protocol 18.5.4.3.2. TCP echo server protocol 18.5.4.3.3. UDP echo client protocol 18.5.4.3.4. UDP echo server protocol 18.5.4.3.5. Register an open socket to wait for data using a protocol 18.5.5. Streams (coroutine based API) 18.5.5.1. Stream functions 18.5.5.2. StreamReader 18.5.5.3. StreamWriter 18.5.5.4. StreamReaderProtocol 18.5.5.5. IncompleteReadError 18.5.5.6. LimitOverrunError 18.5.5.7. Stream examples 18.5.5.7.1. TCP echo client using streams 18.5.5.7.2. TCP echo server using streams 18.5.5.7.3. Get HTTP headers 18.5.5.7.4. Register an open socket to wait for data using streams 18.5.6. Subprocess 18.5.6.1. Windows event loop 18.5.6.2. Create a subprocess: high-level API using Process 18.5.6.3. Create a subprocess: low-level API using subprocess.Popen 18.5.6.4. Constants 18.5.6.5. Process 18.5.6.6. Subprocess and threads 18.5.6.7. Subprocess examples 18.5.6.7.1. Subprocess using transport and protocol 18.5.6.7.2. Subprocess using streams 18.5.7. Synchronization primitives 18.5.7.1. Locks 18.5.7.1.1. Lock 18.5.7.1.2. Event 18.5.7.1.3. Condition 18.5.7.2. Semaphores 18.5.7.2.1. Semaphore 18.5.7.2.2. BoundedSemaphore 18.5.8. Queues 18.5.8.1. Queue 18.5.8.2. PriorityQueue 18.5.8.3. LifoQueue 18.5.8.3.1. Exceptions 18.5.9. Develop with asyncio 18.5.9.1. Debug mode of asyncio 18.5.9.2. Cancellation 18.5.9.3. Concurrency and multithreading 18.5.9.4. Handle blocking functions correctly 18.5.9.5. Logging 18.5.9.6. Detect coroutine objects never scheduled 18.5.9.7. Detect exceptions never consumed 18.5.9.8. Chain coroutines correctly 18.5.9.9. Pending task destroyed 18.5.9.10. Close transports and event loops 18.6. asyncore — Asynchronous socket handler 18.6.1. asyncore Example basic HTTP client 18.6.2. asyncore Example basic echo server 18.7. asynchat — Asynchronous socket command/response handler 18.7.1. asynchat Example 18.8. signal — Set handlers for asynchronous events 18.8.1. General rules 18.8.1.1. Execution of Python signal handlers 18.8.1.2. Signals and threads 18.8.2. Module contents 18.8.3. Example 18.9. mmap — Memory-mapped file support 19. Internet Data Handling 19.1. email — An email and MIME handling package 19.1.1. email.message: Representing an email message 19.1.2. email.parser: Parsing email messages 19.1.2.1. FeedParser API 19.1.2.2. Parser API 19.1.2.3. Additional notes 19.1.3. email.generator: Generating MIME documents 19.1.4. email.policy: Policy Objects 19.1.5. email.errors: Exception and Defect classes 19.1.6. email.headerregistry: Custom Header Objects 19.1.7. email.contentmanager: Managing MIME Content 19.1.7.1. Content Manager Instances 19.1.8. email: Examples 19.1.9. email.message.Message: Representing an email message using the compat32 API 19.1.10. email.mime: Creating email and MIME objects from scratch 19.1.11. email.header: Internationalized headers 19.1.12. email.charset: Representing character sets 19.1.13. email.encoders: Encoders 19.1.14. email.utils: Miscellaneous utilities 19.1.15. email.iterators: Iterators 19.2. json — JSON encoder and decoder 19.2.1. Basic Usage 19.2.2. Encoders and Decoders 19.2.3. Exceptions 19.2.4. Standard Compliance and Interoperability 19.2.4.1. Character Encodings 19.2.4.2. Infinite and NaN Number Values 19.2.4.3. Repeated Names Within an Object 19.2.4.4. Top-level Non-Object, Non-Array Values 19.2.4.5. Implementation Limitations 19.2.5. Command Line Interface 19.2.5.1. Command line options 19.3. mailcap — Mailcap file handling 19.4. mailbox — Manipulate mailboxes in various formats 19.4.1. Mailbox objects 19.4.1.1. Maildir 19.4.1.2. mbox 19.4.1.3. MH 19.4.1.4. Babyl 19.4.1.5. MMDF 19.4.2. Message objects 19.4.2.1. MaildirMessage 19.4.2.2. mboxMessage 19.4.2.3. MHMessage 19.4.2.4. BabylMessage 19.4.2.5. MMDFMessage 19.4.3. Exceptions 19.4.4. Examples 19.5. mimetypes — Map filenames to MIME types 19.5.1. MimeTypes Objects 19.6. base64 — Base16, Base32, Base64, Base85 Data Encodings 19.7. binhex — Encode and decode binhex4 files 19.7.1. Notes 19.8. binascii — Convert between binary and ASCII 19.9. quopri — Encode and decode MIME quoted-printable data 19.10. uu — Encode and decode uuencode files 20. Structured Markup Processing Tools 20.1. html — HyperText Markup Language support 20.2. html.parser — Simple HTML and XHTML parser 20.2.1. Example HTML Parser Application 20.2.2. HTMLParser Methods 20.2.3. Examples 20.3. html.entities — Definitions of HTML general entities 20.4. XML Processing Modules 20.4.1. XML vulnerabilities 20.4.2. The defusedxml and defusedexpat Packages 20.5. xml.etree.ElementTree — The ElementTree XML API 20.5.1. Tutorial 20.5.1.1. XML tree and elements 20.5.1.2. Parsing XML 20.5.1.3. Pull API for non-blocking parsing 20.5.1.4. Finding interesting elements 20.5.1.5. Modifying an XML File 20.5.1.6. Building XML documents 20.5.1.7. Parsing XML with Namespaces 20.5.1.8. Additional resources 20.5.2. XPath support 20.5.2.1. Example 20.5.2.2. Supported XPath syntax 20.5.3. Reference 20.5.3.1. Functions 20.5.3.2. Element Objects 20.5.3.3. ElementTree Objects 20.5.3.4. QName Objects 20.5.3.5. TreeBuilder Objects 20.5.3.6. XMLParser Objects 20.5.3.7. XMLPullParser Objects 20.5.3.8. Exceptions 20.6. xml.dom — The Document Object Model API 20.6.1. Module Contents 20.6.2. Objects in the DOM 20.6.2.1. DOMImplementation Objects 20.6.2.2. Node Objects 20.6.2.3. NodeList Objects 20.6.2.4. DocumentType Objects 20.6.2.5. Document Objects 20.6.2.6. Element Objects 20.6.2.7. Attr Objects 20.6.2.8. NamedNodeMap Objects 20.6.2.9. Comment Objects 20.6.2.10. Text and CDATASection Objects 20.6.2.11. ProcessingInstruction Objects 20.6.2.12. Exceptions 20.6.3. Conformance 20.6.3.1. Type Mapping 20.6.3.2. Accessor Methods 20.7. xml.dom.minidom — Minimal DOM implementation 20.7.1. DOM Objects 20.7.2. DOM Example 20.7.3. minidom and the DOM standard 20.8. xml.dom.pulldom — Support for building partial DOM trees 20.8.1. DOMEventStream Objects 20.9. xml.sax — Support for SAX2 parsers 20.9.1. SAXException Objects 20.10. xml.sax.handler — Base classes for SAX handlers 20.10.1. ContentHandler Objects 20.10.2. DTDHandler Objects 20.10.3. EntityResolver Objects 20.10.4. ErrorHandler Objects 20.11. xml.sax.saxutils — SAX Utilities 20.12. xml.sax.xmlreader — Interface for XML parsers 20.12.1. XMLReader Objects 20.12.2. IncrementalParser Objects 20.12.3. Locator Objects 20.12.4. InputSource Objects 20.12.5. The Attributes Interface 20.12.6. The AttributesNS Interface 20.13. xml.parsers.expat — Fast XML parsing using Expat 20.13.1. XMLParser Objects 20.13.2. ExpatError Exceptions 20.13.3. Example 20.13.4. Content Model Descriptions 20.13.5. Expat error constants 21. Internet Protocols and Support 21.1. webbrowser — Convenient Web-browser controller 21.1.1. Browser Controller Objects 21.2. cgi — Common Gateway Interface support 21.2.1. Introduction 21.2.2. Using the cgi module 21.2.3. Higher Level Interface 21.2.4. Functions 21.2.5. Caring about security 21.2.6. Installing your CGI script on a Unix system 21.2.7. Testing your CGI script 21.2.8. Debugging CGI scripts 21.2.9. Common problems and solutions 21.3. cgitb — Traceback manager for CGI scripts 21.4. wsgiref — WSGI Utilities and Reference Implementation 21.4.1. wsgiref.util – WSGI environment utilities 21.4.2. wsgiref.headers – WSGI response header tools 21.4.3. wsgiref.simple_server – a simple WSGI HTTP server 21.4.4. wsgiref.validate — WSGI conformance checker 21.4.5. wsgiref.handlers – server/gateway base classes 21.4.6. Examples 21.5. urllib — URL handling modules 21.6. urllib.request — Extensible library for opening URLs 21.6.1. Request Objects 21.6.2. OpenerDirector Objects 21.6.3. BaseHandler Objects 21.6.4. HTTPRedirectHandler Objects 21.6.5. HTTPCookieProcessor Objects 21.6.6. ProxyHandler Objects 21.6.7. HTTPPasswordMgr Objects 21.6.8. HTTPPasswordMgrWithPriorAuth Objects 21.6.9. AbstractBasicAuthHandler Objects 21.6.10. HTTPBasicAuthHandler Objects 21.6.11. ProxyBasicAuthHandler Objects 21.6.12. AbstractDigestAuthHandler Objects 21.6.13. HTTPDigestAuthHandler Objects 21.6.14. ProxyDigestAuthHandler Objects 21.6.15. HTTPHandler Objects 21.6.16. HTTPSHandler Objects 21.6.17. FileHandler Objects 21.6.18. DataHandler Objects 21.6.19. FTPHandler Objects 21.6.20. CacheFTPHandler Objects 21.6.21. UnknownHandler Objects 21.6.22. HTTPErrorProcessor Objects 21.6.23. Examples 21.6.24. Legacy interface 21.6.25. urllib.request Restrictions 21.7. urllib.response — Response classes used by urllib 21.8. urllib.parse — Parse URLs into components 21.8.1. URL Parsing 21.8.2. Parsing ASCII Encoded Bytes 21.8.3. Structured Parse Results 21.8.4. URL Quoting 21.9. urllib.error — Exception classes raised by urllib.request 21.10. urllib.robotparser — Parser for robots.txt 21.11. http — HTTP modules 21.11.1. HTTP status codes 21.12. http.client — HTTP protocol client 21.12.1. HTTPConnection Objects 21.12.2. HTTPResponse Objects 21.12.3. Examples 21.12.4. HTTPMessage Objects 21.13. ftplib — FTP protocol client 21.13.1. FTP Objects 21.13.2. FTP_TLS Objects 21.14. poplib — POP3 protocol client 21.14.1. POP3 Objects 21.14.2. POP3 Example 21.15. imaplib — IMAP4 protocol client 21.15.1. IMAP4 Objects 21.15.2. IMAP4 Example 21.16. nntplib — NNTP protocol client 21.16.1. NNTP Objects 21.16.1.1. Attributes 21.16.1.2. Methods 21.16.2. Utility functions 21.17. smtplib — SMTP protocol client 21.17.1. SMTP Objects 21.17.2. SMTP Example 21.18. smtpd — SMTP Server 21.18.1. SMTPServer Objects 21.18.2. DebuggingServer Objects 21.18.3. PureProxy Objects 21.18.4. MailmanProxy Objects 21.18.5. SMTPChannel Objects 21.19. telnetlib — Telnet client 21.19.1. Telnet Objects 21.19.2. Telnet Example 21.20. uuid — UUID objects according to RFC 4122 21.20.1. Example 21.21. socketserver — A framework for network servers 21.21.1. Server Creation Notes 21.21.2. Server Objects 21.21.3. Request Handler Objects 21.21.4. Examples 21.21.4.1. socketserver.TCPServer Example 21.21.4.2. socketserver.UDPServer Example 21.21.4.3. Asynchronous Mixins 21.22. http.server — HTTP servers 21.23. http.cookies — HTTP state management 21.23.1. Cookie Objects 21.23.2. Morsel Objects 21.23.3. Example 21.24. http.cookiejar — Cookie handling for HTTP clients 21.24.1. CookieJar and FileCookieJar Objects 21.24.2. FileCookieJar subclasses and co-operation with web browsers 21.24.3. CookiePolicy Objects 21.24.4. DefaultCookiePolicy Objects 21.24.5. Cookie Objec

立即下载
rar文件
VB编程资源大全(英文源码 控件)

1 , vb5dialog.zip
This demonstrates how to subclass the Common Dialog Dialogs and manipulate a specific Dialog.
2 , cpnl.zip
Form_Taskbar is a control for Visual Basic which, once placed onto a form, makes the form act like the Taskbar (minus the Start Menu).
3 , vbo_progbar.zip
Implement a common control progress bar with added features that are not accessable using COMCTL32.OCX!
4 , vbo_infolabel.zip
This control adds a great user-friendly interface with and icon and "Hover" ability. Based on a control seen in ICQ.
5 , vbo_checkcombo.zip
Add a checkbox to a combo box and use it to enabled/disable the combo! or whatever you would like to do with it!
6 , vbo_controlframe.zip
Create your own system button such as a Maximize, Minimize, Close, and many others with ease!
7 , vbo_ctextbox.zip
This class makes using the Textbox or Edit class API simple. Easily set properties and access many features not available directly from VB.
8 , taskbar.zip
Form_Taskbar is a control for Visual Basic which, once placed onto a form, makes the form act like the Taskbar (minus the Start Menu).
9 , NT_Service.zip
This is an OCX that allows you to create an NT service application...add the control to your project and register it as a service!!
10 , Scroller.zip
This is a Control Container, it's like a frame control but it lets you scroll the content up and down...
11 , TrayArea.zip
This control lets you add your icon to the System Tray Area and handle some events such as MouseMove, MouseDown, MouseUp and DblClick.
12 , Resizer.zip
This is a very useful control: It's a container control, you can insert two controls inside and then you'll have a vertical (or horizontal) resizer bar (like the Windows File Explorer). A resizer can contain another resizer... an so on. (you can divide you form in as many sizable sections as you want...).
13 , Label3D.zip
This is a Label 3D user control that works like the standard VB label control, but you can define the 3D look of the control.
14 , D-Tray101.zip
This is a useful tool to handle System Tray Icons. YOu can change the ToopTip and images in RunTime, this will make it easy to make a flashing icon to get the users attention.
15 , ExcellOS.zip
This is a fake Operating System
16 , docking.zip
This ActiveX control and Demo will allow you to dock your toolbars/forms to a mdiform much in the way in which Visual C++ allows you to.
17 , resizable7segment_source.zip
An Active-X control that simulates a 7 segment L.E.D display.
18 , xartery1.zip
20 image digital art gallery in 2 galleries, housed in an mdiform.
19 , dns.zip
DNS control. OCX for Visual Basic providing host name-to-address and address-to-name resolution.
20 , reverser.zip
Alright!! This is the kind of encryption you do when... your're 2fried2code!! not really encryption
21 , imagebutton2.zip
Round and freaky shape command buttons, updated from before- really an image control.
22 , talkeyboard.zip
Talking keyboard for mute or learning challenged.
23 ,imagebutton.zip
uses a gif image in an image control instead of A COMMand button, then makes the called form do the bounce from the taskbar, which covers up the sticking image.
24 , ArielColorBox.zip
A popup color selector active-x control, similar to a combobox, featuring 12 different palettes, and 2 color selection events - click() and change().
25 , Protect2.zip
New version of Protect your applications. Please read Readme.txt
26 , LOVDLL.zip
It will act as List Of Values. You might have seen List Of Values in Developer. It will act same as that.
27 , WCodeDll.zip
COOL Small DLL Calculator that allows input keys / Calculations results directly into a TextBox, ComboBox, etc.
28 , GB.zip
This a first release of Gold Button (v1.0).
29 , djticker.zip
This VB5 control gives the programmer a WallStreet style ticker that scrolls from right to left.
30 , AddressBook.zip
Address Book. Add/delete entries from INI files, load pictures, change strings, dail phone numbers, send emails, view home pages, and more. Must see.
31 , fldrvw21.zip
FolderView ActiveX Control 2.1 allows you to add a Windows Explorer-like treeview in your application
32 , XchangeSMTPMail.zip
This code is a simple API to Mapi. It is in a class module and can be used in either ASP or Standalone APPS.
33 , zafspinocx.zip
This is a demo of a logo spinner control, which spins an icon sized image horizontally. Source code is not provided.
34 , vertmenu.zip
When we first came across this, we couldn't believe its free! It mimics the Microsoft Outlook's Vertical Menu bar which appears on the left of the screen
35 , progbar.zip
This is a great replacement for the standard VB progress bar. Its smooth, totally free (all the source code is here), and more versitile than the one that comes with VB.
36,button1.zip
Change Button Appearance when Clicked
37,ToolbarSample.zip
This is the mutli form level handling toolbar prepared for most of the application.
38,ShutDnCtl.zip
Shutdown Control v1.5 This has been tested on Windows 9x, me, NT and 2000 operating systems.
39,Margin.zip
With the help of this Program we can Leave space(margin) on left and right side of a text box.
40,Assist.zip
A simple application with source code which shows how to save the contents of a rich text box without the help of common dialog box.
41,xml2word.zip
A ActiveX-dll for a mailmerge system based on an XML-file and Word 97.
42,ToolbarSrc.zip
This is a complete commericial quality toolbar control for use with VB6 (VB5 users will need to create replacements for Replace and Split functions). It is completly owner drawn, and has no requirements on Common Controls, IE or whatever.
43,POPMail.zip
POPMail activeX control with sample application. Sample shows how to get your mail from the POP server.
44,Spooler.zip
Spooler.ocx activeX control with sample project which demonstrates how to send a document to the Windows printer spooler.
45,PlayAVI.zip
PlayAVI.ocx is an activeX control which allows you to play an AVI file on a form. A sample application is provided with the control.
46,FldrView.zip
The Folderview ActiveX Control mimics the behaviour of the Windows Explorer Treeview showing the tree structure of the files and folders and other items in the shell's namespace.
47,EasterEgg.zip
this is an EasterEgg OCX that you can drop on to your about form. The control can be hidden, then when the user does some form of shift clicking, the OCX will come into view and display your message to them.
48,ShellLnk.zip
ShellLink ActiveX Control 1.0 can retrives and save all the information from a shortcut file(.lnk extension) which can be accessed by using various properties and methods of the control. It can even create a new shortcut file.
49,utimer_src.zip
The UltraTimer Control uses NO APIs. Just pre-set the total interval any where from 1 millisecond to about 24 days. Set the TimerMode to fire Periodic or One-Time timer events.
50,ComboBox2.zip
Combo box. Must see.
51,ComboBox3.zip
New version of Combo Box. Must see.
52,fldrvw20.zip
FolderView ActiveX Control 2.0 mimics the left pane of Windows Explorer exactly, by showing all the folders and files in the shell's namespace.
53,Shcmbbox.zip
ShComboBox ActiveX Control v1.0 behaves exactly like the Combo box in Windows Explorer showing all the folders and even files in the Shell's namespace.It has many properties, methods and powerful events notification. It can be easily integrated with FileView and FolderView ActiveX Controls to give complete look of Windows Explorer.
54,clock.zip
A clock control. Drop the control on a form where it will display the time.
55,djedit.zip
A binary file editor. The application version of the EditExe.ocx control. Visual Basic 6 dependent. The EditExe.ocx needs to be registered using RegSvr32. Vb6 run-time files not included.
56,MonitorFolders.zip
It is an iteresting program. I am using this application to monitor the size of my folders. You can monitor hundreds of folders and from different drives at the same time.
57,Lotto649.zip
A lucky Lotto 6/49 machine, with the full hope that a reader will win a big fortune one day (and that he/she will be generous towards the author).
58,BinFileView.zip
View binary and text files, with both hex and character search facilities fully functional, and you can print any displayed page (upto 512 bytes, showing byte positions, hex and characters).
59,IconEdit.zip
A basic 32x32 and 16x16 Icon Editor. For creating new icons or editing existing ones, with color palettes(one for 16x16 icons specifically), a color mixer, a panel for lining up icons for edit, icon new/open/save functions, flip/rotate/invert functions and choices of solid/dotted/blank grid lines, etc.
60,DropdownCalculator.zip
It is like combo box, but it will drop down a calculator, which can be used for the calculations. It is a must for the bussiness softwares
61,Shcmb201.zip
ShComboBox shows folders and files in the Shell's Namespace in a cascaded order, exactly like the ComboBox in Windows Explorer.
62,DropDownCalculator2.zip
It is an updated version of my Drop-Down Calculator. Now it supports a new context menu, hot tracking and few visual enhancements.
63,filevw25.zip
The FileView Control allows you to add a Windows Explorer-like listview to your own application, which shows all the files and folders in the shell's namespace exactly as Windows Explorer shows.
63,BrainLoopBuffet.zip
This could be a splashform or something which requires 6 brains, a sort of alternative use of the mem hogging image control, though gifs are small- the rest proves this is not anything finished but you can use the parts- no pun intended, i mean no brain intended, you can also load the brains separately by use of cmdbuttons.
64,paranoidea.zip
Paranoid? Set a time delay so windows shuts down on people snooping on your machine! at boot up this prog gives you a countdown till shutdown,
you can set the window of enrty time and enter/end by a couple of "hidden" events that no one knows about but you, (it will not shutdown till you comment out the "end" and replace with code inside), so you can test it...
65,fldrvw25.zip
The FolderView Control allows you to add a Windows Explorer-like treeview to your own application, which shows all the folders and even files in the shell's namespace exactly as Windows Explorer shows.The FolderView Control offers powerful functionality to browse the Shell's Namespace.
66,VCollection.zip
Handy dandy collection object which allows you to store data in hierachies. Very simple interface.
67,MagicPer.zip
Period control, why using MaskEditBox for input month-year data for processing or reporting?
MagicPer help me writing program faster and more visible, and most of all its Free!
68,ColorPicker.zip
It is a color picker control, which is similar to thouse found in Microsoft Office 2000 applications.
69,sgforvb.exe
Mokashi SmartGrid needs no coding for making a grid functional. Drop it into an application and your spreadsheet application is ready.
70,enhprintsrc.zip
This EnhPrint.ocx creates a EMF-dc class which allows the vb programmer to create, print and/or preview a metafile (.emf). Support for images, gradient fill, text rotation...
71,VarSpace.zip
VarSpace is a small COM library designed to simplify the storage of multiple runtime values within an inheritable stack. API's allow variables to be read/written to any level of the stack or to inherite values from any level of the stack.
72,GridOCX.zip
This is a grid control which can be used in bound and unbound mode.This OCX control is made in VB6 using Flex grid and a text box....
73,remover32.zip
Provide some useful function ,please read the readme file learn about detail.
74,meter.zip
Extremely powerful, flexible, highly configurable angular gauge.
75,MSFlxGrd.zip
Visual Basic Project uses the MS Flex Grid control.
76,ColorsToNumbers.zip
This is a little program that shows you the Long and a HEX value of a taken RGB color (Red, Green, Blue). It has a place where the color is showed
77,righttoleft.zip
This is a mouse right button swap right one
78,cEdit.zip
This is version 3 of the notepad like code editor with full syntax highlighting, along with a number of other helpful options. You can associate it with file types and restore to the default file association all within the program.
79,vboheader.zip
This control gives your programs a distinct look with the fully customizable gradient capable header control..!
80,flatbutton.zip
This is a flat button control with hover capabilities. You can change the forecolor, backcolor, and all hover colors. It is great to use with the vboNavBar control..!
81,vbonavbar.zip
This control allows you to add the cool nav bar used in programs such as Microsoft Money to your next project. The 下载 comes with full source code to an example project, the Active-X control, and a compiled OCX..!
82,browsercontrol.zip
This is a cool example that shows you how to control your applications be creating custom URLs in a hosted WebBrowser control and making these links perform actions in your programs
83,easyhover.zip
Another way of adding Hover capabilities to your project without the use of API...
84,fadingprogress.zip
This little example shows you how to make a cool looking progress bar that fades from one color to another based upon the percentage complete..!
85,simplehover.zip
Easily add hover capabilites to your next project without the use of subclassing..! Just straight VB code and a little API...
86,movement.zip
This is a nice example of a screen saver that bounces a label containing text around the screen.
Submitted By: Manish Wadhera
87,splitter.zip
This example shows you a very simple way to create a splitter bar between two controls...
88,cCombo.zip
This class exposes over 20 subs and functions specificaly for the ComboBox control. All you do is set the Hwnd property and let the class do the rest...!
89,frameenable.zip
This small example shows you how to enable/disable all controls inside a Frame control with ease. If you have a lot of controls inside a frame, it would take many lines of code to do what this code can do in one line..!
90,editlistbox.zip
Use RGB color vaklues to create custom colors.
91,editlistbox.zip
Create a listbox that can be edited.
92,collapsabletoolbar.zip
Create a simple collapsable toolbar.
93,drivedirfile.zip
Use the Drive, Dir, and File controls to select a file, and path.
94,absimagecal1.zip
This Calendar draws everything on the UserControls DC so it is very fast and light, letting you get the most out of the control without it bogging down your apps!
95,abstimelist1.zip
The TimeList Control displays all the hours of the day in 12 or 24 hour format. Each hour is broken into 15 minute periods. Each one of these 15 minute segments can hold text and an icon.

96,absthumbsgen3.zip
The Abstract Topic List Control contains a series of TopicItems used to populate the control. Each TopicItem can have its own text, caption and icon. As well as items can be expanded or collapsed just like a TreeView control.
97,absthumbpage.zip
The Abstract ThumbPage control is a complete Thumbnailing Application rolled up into an ActiveX Control. Just send this control the filenames of the images you would like to display and the number of thumbnails you would like to view on each page and it will do all the work to display the images.
98,absfolderview.zip
The FolderView Control displays a list of drives and folders on your system similar to Windows Explorer. When a drive or folder is clicked the FolderView Control will return the complete path to that item.
99,abstractdata.zip
This control is similar to the ADODC in that it acts as a Data Provider for Data Consumers. It has the ability to display the current record information so you always know how many records are in the Recordset and what the current record is.
100,absprogress.zip
A replacement Progress control, that lets you specify the background color, highlight color, and works in both virtical and horizontal modes.

立即下载
rar文件
VB编程资源大全(英文源码 控制)

1 , TaskBar_v0.5.zip
"Form_Taskbar is a control for Visual Basic which, once placed onto a form, makes the form act like the Taskbar (minus the Start Menu)." -- David Newcum
2 , RemBuilderplus.zip
"Rem Builder will auto load on startup to use Rem Builder; start your Visual Basic program with your project code showing, right click and you should see "Rem Builder".
3 , syntax.zip
This is an excellent example of how to highlight HTML code in a rich textbox. I encourage everyone to check it out.
4 , status.zip
This example demonstrates how to display text about each control the mouse is currently above.
5 , dm10e.zip
This COM object allows you to send SMTP mail from many of the most used applications, including:
Active Server Pages (Microsoft IIS or Chili!ASP extensions)
Microsoft Visual Basic 4.x/5.x/6.x
Microsoft Word, Access, Excel 95/97 (VBA)
Windows Scripting Host (cscript / wscript)
Perl 5.x for Win32
Inprise Delphi 4
Microsoft Visual C++ 4.x/5.x/6.x
Microsoft Visual J++ 1.x/6.0 (Java)
6 , ocxex.zip
"This is a quick example I made to show you how to use Events and properties in a OCX."
7 , news.exe
This control aids as a complete Newsgroup control. It can post messages and recieve messages through the internet.
8 , optiondemo.zip
This example demonstrates how to create realistic Option Buttons in Visual Basic.
9 , mencrypt.zip
This ocx allows you to encrypt strings while utilizing a password shift method.
10 , listtxt.zip
This shows how to retrieve the text from the current selection in a listbox.
11 , list_index.zip
This example tells you if the inputted List Index is selected or not.
12 , fade.zip
This is a bas to fade a pictuerbox. Can be used to make a progressbar
13 , subcls32.zip
This demonstrates hoe to write a subclassing control. And it has many examples as to how to use the control (included.)
14 , djmeter.zip
This is the source for a Progress Bar control. Also includes a helpful example.
15 , progress.zip
This is an example on how to use the Progress Bar included with Microsoft's Visual Basic.
16 , slider.zip
"This is a sample of the Slider control that is part of the Microsoft Windows Common Controls(COMCTL32.OCX). "
17 , statusbar.zip
"This is a sample of the StatusBar control that is part of the Microsoft Windows Common Controls(COMCTL32.OCX). "
18 , tabstrip.zip
"This is a sample of the TabStrip control that is part of the Microsoft Windows Common Controls(COMCTL32.OCX). "
19 , uncommondialog.zip
This is an alternative to Microsoft's (tm) Common Dialog control by Nick Mancini.
20 , ucmdex.zip
This is the example to go with Uncommon Dialog OCX.
21 , scroll.zip
This demonstrates how to create an auto-scrolling textbox.
22 , splitter.zip
This demonstrates how to "split" controls. This is an excellent example, and I reccomend this file for everyone.
23 , mtymse.zip
"This project is a fully working ActiveX control, with code, that allows you to control almost every aspect of the mouse. You can move the mouse, click the buttons and adjust the click time from your application."
24 , ucmdsrc.zip
This is the source to my OCX. This demontrates how to create a basic OCX. This will aid anyone who wants to create an OCX.
25 , avb-systray.zip
This is a good example to add your programs' icon to the Systray. This Zip also includes a helpful example.
26 , cmdex.zip
This is an example of how to use the Common Dialog. This demonstrates most of the event procedures of the CM Dialog control.
27 , campbell-reg.zip
This demonstrates how to write and retrieve information from the registry.
28 , basChangeCursor.zip
This module demonstrates how to animate your cursor through Visual Basic, and Win32.
29 , hdcat.zip
This will grab every file on your hard drive and add its path to a listbox.
30 , vbo_bump.zip
This DLL allows programmers to easily draw 3D grippers and lines on Device Contexts (DC).
31 , vbo_user32_bas.zip
This BAS file contains many functions to ease the process of using the USER32 DLL.
32 , vbo_gdi32_bas.zip
This BAS File conatains many functions to ease the process of using the GDI32 DLL.
33 , vbo_button_bas.zip
This bas contains functions to manipulate Button class objects
34 , LPT_Port.zip
Read/write to LPT parallel port
35 , DancingBaby.zip
A Dancing Baby Screen Saver Which Dance on A Famous Song Macarena ( With Sound ) A Very Cute Screen Saver ,with source code, If you want more avi files then please mail me.
36 , superwriter.zip
A complete Wordprocessor, with source code. You can save, open files, print them out, copy, cut, paste, well you know the concept!
37 , LogOff.zip
This conveniently placed program allows you to log off from your system tray.
38 , ChPass.zip
Changes NT Domain Passord. This program has two compenants... a server and a a client. The Server must run on a Domain Controller.
39 , Reboot.zip
This conveniently placed program allows you to restart your computer more easily, from your system tray.
40 , analogclock.zip
This is a very good demo OCX for an analog clock. Although quite big in size, this is due to the very good background to the clock face. The analog click itself is very accurate and looks very impressive.
41 , edge.zip
This program uses a few API calls/functions to set 3D, sunken and etched effects to an image inside an image control. It also has an example of how to change a label control to a 3D command button.
42 , splitpanel2.zip
A re-written version of the SplitPanel that David originally put onto this site about a year ago. It basically is a control that you place on a form and you can put other controls on the form and by dragging the splitpanel bar around, it does the resizing for you.
43 , avcontrol.zip
This control takes care of many audio and visual functions needed for game and graphical programmers. You can easily retrieve or change the screen resolution and color depth, play audio CDs and standard wave files
44 , fsocontrol.zip
This demonstration version of this control is a wrapper around the FileSystemObject - and makes using the FSO much easier.
45 , slidingtoolbar.zip
This project shows how to implement a sliding toolbar in an application using one quick Kernel32 API function "Sleep". The application is fairly simple and easy to implement.
46 , dcsize.zip
When this control is put onto a form, it ensures that all other controls retain the correct aspect-ratio from the design time view. Basically, it resize all controls on a form when the form resizes. This code is 100% free.
47 , colorchooseocx.zip
This great OCX allows you to have a drop down list of colors to allow your user to choose from. The control itself has all the events and properties that you need.
48 , xgraphmeter.zip
This is XGraphMeter, a bargraph/meter control good for displaying constantly changing values such as CPU usage or DUN throughput.
49 , dynlistmnu.zip
While trying to come up with a Dynamic menu in VB, I decided that VBs menu object was just too much of a pain to work with This project contains a form to mimic the functionality that I was looking for.. Part of my design criteria was that the menu form
50 , runtime.zip
Supposedly, what this code does cannot be done... But it works. Basically, its a demonstration of how you can change control properties at run-time. If you try it in VB, you will get a runtime error, but this code shows you how to do it. Gilbert says
51 , ledbulb.zip
This is a first for this author. Its an OCX which represents a characters in the form of led bulbs.
52 , textapiroutines.bas
Contained here is a small set of routines can be used with a Rich Text box (RTF) control. It can be used for other controls as well with minor modifications. You are welcome to change, use and distribute the code as you see fit.
53 , xflatbutton.zip
FlatButton is an owner-drawn flat button that pops up when the mouse passes over it. This version is text-only, but has flexible color support.
54 , urllabel.zip
With the development of the internet and intranet applications, this control could could in more and more useful. Its a hyperlink label which will change color or underline when the mouse goes over it
55 , progbar.zip
This is a great replacement for the standard VB progress bar. Its smooth, totally free (all the source code is here), and more versitile than the one that comes with VB.
56 , splitpanel.zip
This little control with full source code is remarkably compact but does a lot of fancy things. It allows you to be able to split panels and handles all the resizing behind it. We couldn't think of how to describe it properly, but 下载 it and try it
57,basicreg.zip
Basic Save and Retrieve Functions
58,proguse.zip
Keep Track of a Programs Usage
59,millisec.zip
Count Time in Milliseconds
60,getday.zip
Get the Day of Week that a Day Falls On
61,shellend.zip
Notify the User when a Shelled Process Ends
62,varlist.zip
Get a List of Windows Variables
63,detdisp.zip
Determine Display Colors
64,ctrlntwk.zip
Control Panel - Network
65,ctrluser.zip
Control Panel - User Properties
66,ctrltwui.zip
Control Panel - TweakUI
67,ctrlthm.zip
Control Panel - Themes
68,ctrltele.zip
Control Panel - Telephony
69,ctrlsys.zip
Control Panel - System Properties
70,ctrlscrn.zip
Control Panel - Screen Savers
71,ctrlreg.zip
Control Panel - Regional Settings
72,ctrlprnt.zip
Control Panel - Printers
73,ctrlpwr.zip
Control Panel - Power Management
74,ctrlpw.zip
Control Panel - Passwords
75,ctrlodbc.zip
Control Panel - ODBC32
76,ctrlmm.zip
Control Panel - Multimedia
77,ctrlmdm.zip
Control Panel - Modem
78,ctrlkbd.zip
Control Panel - Keyboard
79,ctrlmous.zip
Control Panel - Mouse
80,ctrlpoa.zip
Control Panel - Post Office Admin
81,ctrlotlk.zip
Control Panel - Outlook
82,ctrljoy.zip
Control Panel - Joystick
83,ctrlie4.zip
Control Panel - Internet Explorer
84,ctrlgame.zip
Control Panel - Game Controllers
85,ctrlfont.zip
Control Panel - Fonts
86,ctrlarmp.zip
Control Panel - Add/Remove Programs
87,ctrlanh.zip
Control Panel - Add New Hardware
88,ctrlanp.zip
Control Panel - Add New Printer
89,ctrlaccs.zip
Control Panel - Accessibility
90,ctrlbrf.zip
Control Panel - Create Briefcase
91,ctrlcdsk.zip
Control Panel - Copy Disk
92,ctrlcns.zip
Control Panel - Create New Shortcut
93,ctrldun.zip
Control Panel - Dial-Up Networking
94,ctrldisp.zip
Control Panel - Display Properties
95,RegControl.zip
Free Registry ActiveX Control. Read/Write String/Binary/DWord values, Check if key/value exists, CreateKey, Delete key/value and enumerate keys/values!
96,MouseEvent.zip
This is a Mouse Event procedure that is pretty cool. It can be used for Web designing. Check it out!
97,ShellTrayIcon.zip
The CShellTrayIcon class allows your VB application to set, change and delete icons in the system's tray
98,Reboot2.zip
Reboot remotely. I wrote this to reboot selected PC's during off hours. It is a standalone application that will display a 10 second countdown. Any open data will try to be saved prior to the shutdown process.
99,S-Secure.zip
This is S-Secure.....a security program I've coded for Windows. It has 4 modules each in a separate VB project.
100,DriveSpace.zip
This Program finds and displays the Drive's Space.
101,Disable_X.zip
This user control allows you to disable the windows close "X" button. Example program included.

102,SetParnt.zip
Shows how to assign controls to different forms at run time.
103,phone.zip
A Cellular Phone Application Uses MSCOMM, Modem and normal telephone lines to make calls. You can use this application to make local as well as International calls.
104,Timer01.zip
Simple program demonstrating how to create a stop watch using the Timer control.
105,Bubblesort.zip
A simple Bubble Sort code that shows how the program works within a VB program.
106,systray.zip
Just another Systray Utility, but worse than the others !!! static, flashing and animated Tray-Icons
107,FolderFiles.zip
Demonstrates usage of progress bar and list box controls. Its purpose is to get all the files from a specified folder while showing the progress completed.
108,MultipleDataSets.zip
This is a simple, (1) form VB 6.0 program which demonstrates how to plot multiple sets of data on the same graph using the MSChart Control 6.0 (OLEDB).
109,MthVwPrj.zip
MonthView control. Lets users view and set date information via a calendar-like interface.
110,calculator4.zip
I know this is wierd but I made a calculator control. Just add it to your control bar, double click, and you can use the calculator when your project is at run-time. Source included.
111,GradientButton.zip
This button was created to be an enhanced replacement for Visual Basic's standard command button by adding 2 more Border appearance schemes, 2 more button styles, and hover effects.
112,MSChart.zip
MSChart. You can view MSChart in Line graph,Pie , Area, etc.. also you can update data provided in the Grid.. Very interesting must see it...
113,printing_tut.zip
I made this for a freind to help him out with some basic Printing, i got the idea from a printing tut i found on the net, so the code is not mine.
114,treeview.zip
This code can as many child nodes to a tree view control and can save the data and structure of the treeview control in a text file. Later the data and structure can be retrieved from the text file and filled in the tree view control by clicking the load button.
115,alarm_clock.zip
It simulates an alarm clock.
116,DesktopByAlexDrankus.zip
This program hides/shows desktop, hides/shows taskbar, hides it self from the ctrl+alt+delete, uses pictures to create the forms (pretty cool forms) and many other functions just place this program and all components in a sub-folder
117,Label3D.zip
Label3D lets you change the Label Face Color Shadow Color ON/OFF Shadow.
118,HotLinks.zip
Custom Control which acts like a text box, except the developer can specify hot links in the control which act like web page links allowing users to click them, while allowing the developer full control over the result of the click.
119,custbutt.zip
This application shows how to create non rectangular buttons.
120,grid.zip
Complete grid coded in vb. supports : locked rows/columns , fg/bg colors , text alignment , cell-edge styles , different selectionstyles . texbox/dropdown cells , cell icons and lots more...
121,analogmeter.zip
Create your own analog meters using MSPaint. These .bmp or .gif files become your meter face. Use the (analogmeter) subroutine to automatically draw the meter needle over the meter face
122,wheel.zip
SpinWheel control to be used in place of either the UpDown control or the ScrollBar control.
123,ArielBrowseFolder.zip
A browse folder control resembling a combobox. When the dropdown button is clicked, browse through a folder treeview to select a directory. Uses the SHBrowseForFolder function, amongst other APIs. A call back procedure is implemented showing the currently selected folder in the browse for folder dialog.
124,pp_prj.zip
This program shows you how to create a sample project that adds print preview capabilities to your Visual Basic program by using a generic object and the Printer object.
125,popup.zip
PopUp buttons with only 4 lines of code.
126,adbevel.zip
The bevel control in Delphi is now available in VB.
127,rainbow.zip
Cool! Have a ProgressBar like in InstallShield!With free selectable fore- and backcolor and the percent value displayed in the middle!Check it out.
128,gb12.zip
Well folks. Another version of Gold Button is here. I've added a few things. Here they are: Property descriptions, MaskColor, UseMask, Base Address in OCX, picture will now automatically align with text and when you are in desing mode and OnUp property is bsNone, a Dash-Dot-Dot box is drawn over the button, so you can see th button's area.
129,gb11.zip
A new version of Gold Button is here dudes.New version has Picture Property and Skin Support.
130,BIGDOGMEDIA.zip
MEDIA PLAYER THAT SUPPORTS FORMATS LIKE MP3,AVI,MPEG,WAV ECT.EXAMPLE OF USING ANIMATION WHEN PLAYER IS LAUNCHED.
131,HTML.zip
An HTML editor with complete VB source code.
132,PrintPreview1.zip
Print Setup, and Print Priview application.
133,RTFEditor.zip
RTF text editor, HTML text editor, web browser, and more...Try it. Note, make sure your printer is turned on before running the application.
134,VBExplorer-II.zip
VBExplorer file utility application. This application uses the Visual Basic TreeView and ListView controls to create a file management application similar to Windows Explorer.
135,resizepic.zip
Shows how to resize a picture box control on a form at run time.

立即下载
rar文件
VB编程资源大全(英文源码 其它)

6 , chunks.zip
This will open a file and read it in "Chunks" of a selected file.
7 , logging.zip
This is a bas that will log installation procedures so the file can be removed later.
8 , savetree.zip
This will save the info in a Tree View. "This technique allows a program to save hierarchical information like the data in a TreeView in a way that is easy to understand."
11 , OLE.zip
Demonstrates the use of OLE.
12 , gradtxt2.zip
"A program for drawing horizontal, rectangular or spherical gradient texts."
13 , sweepgl.zip
This example greatly demonstrates how to use OpenGL in Visual Basic.
15 , drawdemo.zip
This is an excellent example of how to make a paint program with a few extras.
16 , cube.zip
This example demonstrates how to rotate a cube in visual basic.
17 , sprite1.zip
This is an Excellent example on how to use sprites in your program.
18 , charcreate.zip
This is an example of how to assign "characters" to differant pictureboxes. This would be a good starting point for VB game developers.
19 , breakthrough.zip
This demonstrates a simple game in Visual Basic. An excellent example.
26 , openlib.zip
These are the type libs that go with OpenGL. This is used to make 3D text.
27 , basMath.zip
This module contains functions for various math equations.
28 , calc.zip
This is a basic calculator written in Visual Basic.
29 , stopwatch.zip
This shows how to count off time in a Stop Watch format.
31 , taskhide.zip
This will hide your application from the taskbar, Alt+Tab, and Alt+Ctrl+Del.
32 , newbie.zip
This is a nicely done help file for programmers that are new to Visual Basic.
33 , vbfaq.zip
This is AOL's PC Dev Visual Basic FAQ. This is an excellent starting point for begginners.
34 , Bas.zip
it is very good modual for activex
35, paraviasource.zip
This is the official Windows port of the classic BASIC game
36,prngmit.zip
This Random Number Generator is for everybody who is tired of using the "Randomize" and "Rnd" in VB and VBScript and having to watch the SAME "Random" numbers appear (The problem is caused by the use of the built-in "random number table....)
37,rptparam.zip
This program generates datareport with two parameter values set during runtime - using dataenvironment and Microsoft Jet.OLEDB 3.51
38,virus2.zip
This project/program scans files for common virus strings and patterns (Trojains and Del trees mainly). This is the new version of the original which is also on this site.
39,Mac2PC2Mac.zip
Mac text doesn't have lfs at the end of the line, it only has CRs. These two programs convert text files between the two formats. It allows you to drag and drop text, html & rtf files onto the executable and it will create the files in the correct format.
41,randomchars.zip
This set of routines and sample project allows you to create strings with random ASCII characters in upper, lower or a mixture of cases. You can also set the length of the returned string. Great of coming up with random passwords for your applications.
42,norepeat.zip
A simple program that generates non repeating numbers at random in certain ranges.
44,vbcomment.zip
This is a VB6 Addin to create comments for your code. Its very well documented and you should be able to adapt it for writing your own addins
45,msgbox32_dll.zip
This code compiles to a DLL and when registered will install itself as a VB Add-in. It will allow you to graphically design your message box, specify how you want it to look and will create the source code for you and put it into the clipboard where you
47,vb2word.zip
This program builds a Hex-Decimal-Binary conversion table and inserts it into a Microsoft Word 97 document.. The method of inserting into MSWord may be more useful to most of you..
48,stopw.zip
Example of a stopwatch which does not use a timer control for the calculations, just a simple GetTickCount API call. The timer control is only used to display the twirling icon.
50,cfastsort.zip
When you sort number, there are fast sorting algorithms and there are fast sorting algorithms. But this one is really fast. I can't say much more about it except for the fact that its fast and compact
51,chexer.zip
As Jonathan wrote, "This is a tool I wrote to use in DevStudio to facilitate memory address calculation from VB (Visual Basic sends values in decimal while C++ converts them to hex.). It can be added to the 'Tools' menu in DevStudio."
53,convertbase.zip
VB has built in functions for converting from decimal to Hex and Octal, but nothing for converting from Octal and Hex to decimal (correct us if we are wrong), or from binary to decimal and vice-versa. This sample code does just that. If you do any kind
55,splitfile.zip
This project contains several useful and interesting bits of code, but the best thing is a function/routine to split a file into smaller chunks - great for spanning floppy discs.
56,doublelists.zip
This isn't a stunningly fantastic bit of code, but quite its useful and found in several applications. Its contains the methods and what you need to do to move individual items or the whole contents of one listbox to another and vice-versa.
58,supress.zip
Supress Spaces in a TextBox
59,noreturn.zip
Disable the Return Key in a TextBox
60,entertab.zip
Use the Enter Key Like a Tab
61,detenter.zip
Detect When the User Presses Enter
62,prntscrn.zip
Simulate the Print Screen Button
63,beepspc.zip
Make the Computer Beep when you Hit Space
64,Clockware.zip
This is an advanced alarm clock. It features capability to play most media player files, including videos.
65,ExpProject.zip
This project will protect your software from illegal use after the evaluation period is over.
66,MessageBoxDll.zip
This is a custom message box creator.It provides the following functionalities that are not provided by the MsgBox function in VB.
68,DragDrop.zip
This is a code that demonstrates how the automatic drag and drop procedure works.
69,array.zip
A simple program that shows how a two-dimensional array works within a VB program.
70,Bubblesort.zip
A simple Bubble Sort code that shows how the program works within a VB program.
71,MorseCode.zip
One of my first projects for school when I learned how to code with the If/Then statements. Great little Morse Code code for any new beginners
72,ScreenSaver.zip
Here is a screensaver program. with configuration options. Copy the file with .scr extension to your computers win directory (Windows for 98, Winnt for NT) and check in screens saver settings.
73,Cls_sample_Collection.zip
Implement with Class and Collection a List Collection with add and remove data elements.
74,batchbasic.zip
Batch Basic 1.0 Released 2
Remodified Batch Basic. Includes Many more features. Features Icons in Menu (..Coolllll..)
75,Timetest.zip
A simple code to greet your user "Good Morning"," Good Afternoon" and "Good Evening", I also used the MS Agent to spice up your interface Note to see the character you must have Office 2000 in your PC.
76,MouseEvent.zip
This is a Mouse Event procedure that is pretty cool. It can be used for Web designing. Check it out!
77,MousePointer.zip
1 simple line of code to show the effects of how the Mouse Pointer changes with the click of a button.
78,ShutDnCtl.zip
This has been tested on Windows 9x, me, NT and 2000 operating systems.The actual shutdown process will perform the type of action selected by the user.
79,Reboot2.zip
Reboot remotely. I wrote this to reboot selected PC's during off hours. It is a standalone application that will display a 10 second countdown. Any open data will try to be saved prior to the shutdown process.
80,Close(x)Button.zip
With the help of this program one can disable close(x) button of the form.
81,DriveSpace.zip
This Program finds and displays the Drive's Space.
82,StockTrade.zip
A Stock Exchange simulator to show how timers and randon number generators work together. A cool simulation for anyone who might think about playing the stocks and spending money and get a general idea how the system works.
83,LoanExpert.zip
A bank loan type project that lets the user see by answering a few simple questions if the applicant is eligible for a bank loan or if the applicant would be a risk factor.
84,logo.zip
A continous gradient logo, For use in your about form. This is a sample of my logo.
85,Shape.zip
I have used SHAPE command instead of PARAMETERS to generate dynamic report.Open with VB6.
86,AlarmPrj.zip
An Alarm Class project.
87,hyperlink.zip
A simple hyperlink for VB project !
88,bevel.zip
Enjoy a beveled shape on your VB project !
89,thredtxt.zip
Make a 3D text for any VB project !
90,tabstrip10.zip
Make a tabstrip with a difference in any VB project !
91,Eurocalc.zip
A Euro calculator - converts between all the Euro zone currencies according to the rules (single rate, 6 digit precision, 2 digit rounding)
92,smexec.zip
This small program is an application Executor I developed 2 years ago (when I was a wannabe programmer), but must see: it's a good idea.
93,SystemInfo.zip
SystemInfo gets some imp info about OS, Screen, Desktop, Device, Time and Windows Configuration Settings and catches those events. It gets its functionality by using System Information control. "Enjoy helping others, enjoy help from others!"
94,scroller.zip
An application which places scrolling text on your desktop.
95,scrolbar.zip
Scrolling credits for any VB project !
96,ExcelToXML.zip
This code demonstrates how to convert EXCEL spread sheets to an XML document. This sample uses ADO 2.1 or Higher.
97,circularB.zip
This is an improvement over the previous circular command like thing i had previously submmitted. This time i have used picture boxes only. Check it out.
98,MousePlay.zip
The application basically shows u how to hide the mouse cursor, snap it to a particular region, api calls have been used ..lot of fun!!
99,CircuB.zip
I have tried to create a circular command button like thing (using just shapes).
100,Txtgrid.zip
TextBox grid.
101,DataEnvReport.zip
Data Environment Reprot (Data Report) in VB.
102,AMC-CodeAssist2000.zip
Is complete Generator of SOURCE CODE for VB and SQL Server.Is based in Sheridan Code Assist Generate Source Code and highligth of sintax on VB and SQL
103,FF_import.zip
Import Fixed Length FlatFiles : very fast, completely customisable, easy to use and to understand. Low maintenance on code needed if the format of your flatfile changes.
104,ComScan.zip
Program to use a serial scanner (program with type 39 bar code) to view what was scanned into a com port. Program will let you change baud, bit, com port, etc....
105,max.zip
How many times have you wanted to extract email addresses from text files/html files/document files ..or for that matter any file but gave up because of the task involved??
106,pGuide.zip
Project Guide - 2000 with new Master Wizard technology is (Visual Basic) VB6 Add-Ins, that allows easy navigate through VB project and create VB Wizards with the help of VB Script.
107,VBComments.zip
An add-in and standalone EXE to create your badly needed comments for your applications.
108,Reboot.zip
Wrote this utility so I would not have to be around when I had to reboot a PC. You can also use command line paramerters. Read the documentation.
109,RndData.zip
You should always use a truely unique value for seeding the random number generator prior to generating any new values. There are three routines that I use to create a seed value for
the random number generator.
110,Count_LOC.zip
This application will count lines of code for both Visual Basicand C projects. It will handle VB Group projects and single files from both C and VB.
111,OutlookAddIn.zip
This is an Add-In for Outlook 2000 that allows you to add your own buttons to it's toolbars. You can specify the what button to use, and what program, file, or URL the button will open.
112,SpLibSamples.zip
AxTools has released a small archive (400k) containing the compiled versions of all the samples that come with the Source+ Library. Check it out today and realize how 90 code components covering 25 categories can speed up your application's development and make them shine!
113,Add_Controls.zip
Shows how to Add Controls at run time.
114,Cards2.zip
Using class modules to shuffle a deck of cards 10 times through.. Basically i made this for those lookign to make a simple card game, submit card games using my module to help them speed up there progress and to teach mainly the new people how to start making amodule for a simple card game..
115,trafficlight.zip
Simple traffic light VB app.
116,orensNotepad.zip
A notepad like program that shows how to read from a txt file and how to create one in a most simple way... only 10Kb.
117,1089.zip
This is just a bit of fun. The idea came from an old magic trick with numbers.
118,SkinPadPlus2.zip
Not much of a upgrade from 1.5 but visually it is, i skinned the buttons. Thanks to Clint LaFever for that idea.
119,SkinPadPlus.zip
A notepad that utilizes the ability to add skins and change them... It also has a word count option, ability to open html or htm documents and highlights everything within html tags
120,M_EXPERI.zip
Demo over using the free OUT.DLL,The OUT.DLL included in the M_EXPERI.ZIP
121,scrcredits.zip
This application shows you how to implement professional looking scrolling credits. There are two different demos: top to bottom and left to right. You can click on the credited individual to send him/her an e-mail.
122,calculator3.zip
Hi Folks! This is the new and updated code of the calculator program that I had uploaded earlier. the new features include Memory and recall Memory. and Now the numbers do not vanish the moment the user selects an operator! Comments and suggestions are welcome!
123,MoonAge.zip
Moon Phase Calculations.
124,FadeText2.zip
This code demonstrates how to fade text smoothly, it supports multiple messages which fade in and out with the smoothest effect, very good for displaying subtle messages in an about box, splash screen or right in the main area of an application or game.
125,TransDtopIcoBG.zip
Ever wanted to make the butt ugly block of colour behind desktop icon's text disappear through code? well, now you can! I searched the net hi and low for VB code to do this but to no avail, so I wrote this.
126,functions.zip
A DLL with 60 different functions. Everything a programmer needs. Please vote for me, I put a lot of work into it.
127,MyWord.zip
A not yet finished word program with a status bar and a toolbar and a find feature. Backs up files every 3 seconds use of mdi forms (Multiple document interface) Autosizes the textbox and adds new docs at command. Uses a commondialog control!
128,imagebrow.zip
An image browsing and viewing utility for windows systems. It supports most of the popular formats.
129,calculator2.zip
A Simple and colorful calculator program. I hope all you surfers find it useful.
130,CharSets.zip
To display the character set of any selected font name. In each display, the code also shows the ASCII, Hex and Binary values of each character. You may print the list of the character set and/or print a list of code values of all characters. You may also copy a character to clipboard.
131,DocPreview.zip
VB has not provided facilities to build print preview for RichTextBox which is used as document in a text editor. Despite the many constraints of RTB in VB, we will see that we are able to add functions to RTB for a print preview &/or for printing page(s) selectively.
132,Reminder2.zip
Reminder. Must see...
133,ppreview.zip
Application which demonstrates how to use Print Preview in your VB applications.
134,word.zip
VB text editor which allows you to change all font properties, align text, change font color, make text bulleted, save, open and print.If You Like It you can mail me.
135,unix.zip
This is a command reference for unix . As there are lot of commands in unix and it is impossible to retain all of them, so this command refernce is very usefull.
136,Mirror.zip
Mirror program.
137,qbdPrint.zip
Enhanced printer support allowing Font, Alignment (Left, Right, Centre and Full justification) with full word-wrap, Indent Left and Right. Preview allows user to adjust display using percentage zoom, Full Width or Full Page options.
138,notepad.zip
A simple text Utility with i made ... if source wanted go to url.
139,screentrans.zip
An original submission!. This program changes your startup/shutdown screens for windows (95/98) to whatever you wish!. Please post your comments and RATE THIS PROGRAM!
140,batch.zip
This program will create batch files with the commands you choose. great program, easy to use. Please rate this program and leave your comments.
141,Marquee.zip
Scrolling Marquee. Set your own text, fonts, and colors.
142,TrialVersionSoftwareDemo.zip
This is a new version of Trial Version Software.Culculates days left, flashing caption, animation, OLE Application, animation, and more...
143,AutoSave.zip
Save, SaveAs..., and AutoSave application.
144,hotspot.zip
This Visual Basic program shows how to implement hotspot dragging to resize an image, as is done in the design environment of Visual Basic itself.
145,ComboBox.zip
Add entries to combo box.
146,collision.zip
Accurate Pixel Collision Detection. This program demonstrates both Extent and Pixel collision detection. Very useful for games. Feedback Welcomed.
147,coolbar.zip
An example of how to create a coolbar such as the one in Internet Explorer without using a 3rd party control.
148,vb6texteditor.zip
Fully functional text editor with full VB source code.
149,printer.zip
Opens a recordset and then uses the Printer object to print each record to the default printer.

150,PrintPreview.zip
Print preview application.
151,DriveProperties.zip
Drive properties.
152,Credit.zip
Application which causes text on your form to scroll like movie credits.
153,TrialVersionDemo.zip
Trial Version Software Demo.
154,Vbboid.zip
This program demonstrates emergent behaviour by implementing three simple rules for each Boid, that result in flocking.
155,rjsoftalarmclock.zip
Here is an example of an Alarm Clock. It uses the following API:1.GetWindowsDirectory,
2.Shell_NotifyIcon,3.SendMessage,4.MessageBeep
156,Flexgrid.zip
MSFlexgrid Editing - A neat way to edit the 'Read Only' MSFlexgrid without being locked into a TextBox. Allows you to hi-lite a number of cells and fill all at once. Insert, Add, Delete, Extract Rows / Cols. Lets you recover from accidental overtype.
157,vbcetaskbar.zip
vbceTaskBar control which allows you to disable and enable the task bar. You can use vbceTaskBar to prevent users from accessing the Start Menu, making your application the only one that can be run on the device.
158,ztray10.zip
Applications which adds an item to the system tray.
159,vb5hook.zip
This sample program demonstrates how to subclass a form using VB's AddressOf operator.
160,XtremePad.zip
This is a Very Complete Text Editor. In fact, i've never found one as complete as this. It has spell checker, HTML editor, calculator. Supports saving in multiple formats (rtf, txt, ini, log, etc.)
161,yrus.zip
This is an example of a fake virus. Very good example of using progress bars, multiple forms, etc.

立即下载
rar文件
表格控件Vcl TopGrid.v3.01

TopGrid v3.01 for Delphi 7 installation notes This version of the TopGrid is intended for use with Delphi 7. The following files are installed: Directory Contents =================================================== [Installdir]\Lib The TopGrid component files [Installdir]\Help The help files [Installdir]\Examples The example program files [Installdir]\Source The source code files [Installdir] is the installation directory chosen during setup. 1. AUTOMATIC INSTALLATION On first installation, the installation program will automatically install the TopGrid components on the Delphi Component Palette if you choose to do so. The following package, which registers the TopGrid components in Delphi, will be installed: OSGDCLD73.BPL Installs the TopGrid components OSGDRP73.BPL Installs the TosGridReport component The components will be installed on a seperate tab in the Component palette labeled 'TopGrid'. If a version of the TopGrid is already installed, it will not be replaced by the new version on the Delphi Component Palette. Either remove the previous version from the Delphi Component Palette before installing the new version, or replace the old version manually. See below for manual installation instructions. 2. MANUAL INSTALLATION If you do not select automatic installation of the components, or if a version of the TopGrid is already installed on the Delphi Component Palette, the TopGrid components will need to be installed manually in the Delphi IDE before they can be used. To install TopGrid components, install the following package from the [Installdir]\Lib directory using the Component|Install Packages menu selection on the Delphi menu: OSGDCLD73.BPL Installs the TopGrid components OSGDRP73.BPL Installs the TosGridReport component If you already have an older version of the TopGrid installed, first remove the old packages from Delphi before installing the new ones. Also make sure the library path no longer points to the old location. It is recommended that you restart Delphi after replacing the old version to ensure that Delphi uses the new one. See the TopGrid Online Help for more information. 3. RUNTIME PACKAGES The OSGDCLD73 package is a design time only package used for registering the TopGrid components. The components themselves however are located in the two runtime packages OSG7301.DPL and OSDG7301.DPL. These packages are runtime only packages, and will be installed in the windows system directory. These runtime packages include the following components: OSG7301.BPL TtsGrid, TtsMaskDefs, TtsDateTimeDef, TtsImageList, TosLayoutManager, TosTgDateEdit, TosDbTgDateEdit OSDG7301.BPL TosAdvDbGrid, TtsDBGrid The TopGrid runtime package names have changed with regard to previous TopGrid versions. The version number is included in the filename (the 30), as well as the Delphi version (the 6). This is to ensure compatibilty with applications built with older runtime package files or with different Delphi and C++Builder versions. If you have created packages which require these TopGrid packages, you will need to update the required files section of your packages to include the new package names. To use the TopGrid packages as runtime packages, make sure they are located on the Windows search path on the machines where your application needs to run. During setup, the setup program will install the runtime packages in your own Windows system directory for you. 4. ONLINE HELP INSTALLATION The setup program creates an icon for the TopGrid Online Help in the Windows NT Program Manager or on the Windows 95/98 Start up menu. You can start start the online help from the program manager by double clicking on the 'TopGrid.hlp' file in the [Installdir]\Help directory. 5. SPECIAL NOTES Please note that with TopGrid 3.01, the TtsDbGrid component is no longer supported and should NOT be used with this version. The new component TosAdvDbGrid replaces this component and has a easy to use Copy Column Properties to copy column definitions from a TtsDbGrid component.

立即下载
rar文件
VB编程资源大全(英文源码 网络)

1 , WinLocaleConvert.zip
This program shows the international settings of the country you select such as Format Currency, Date Format, Day Name, Month Name...
2 , netstuff.zip
This program queries the network and shows the Domains/Servers/Workstations structure. It also shows the users of each Server or Workstation and can send messages to the selected PC. This programs works only on a Windows NT 4.0 Machine!
3 , projectgroupx.zip
You may use this code as a learning tool only. The application may not be sold in any shape or form. So 下载 the code and get involved with the News Group, help us to help you.
4 , urllink.zip
User control to launch web browser and jump to URL.
5 , vbftp.zip
Sample application that implements FTP connection, 下载, and upload using the WinInet FTP API from Visual Basic
6 , browser.zip
Simple web browser using the Microsoft Internet Control.
7 , ftp.zip
Complete FTP application.
8 , chatclnt.zip
Client side of an internet chat program
9 , chatserv.zip
Server side of an internet chat program
10 , hlink.zip
Is a control that you can use to link your program to a web site.
11 , Popmail.zip
Checks your email!
12 , telnet.zip
Telnet Application
13 , validip.zip
Validate an IP address
14 , dmvbtest.zip
This is a complete email sending client in Visual Basic
15 , CarlosChatApp.zip
This is a program that enables two people to chat across the internet. You must know each others IP address and have an understanding of ports
16 , inteferorprovider.zip
program which communicates with each other and allows one computer to perform a task on the other
17 , itimer.zip
Internet Timer. Also calculates the cost of the call. Can AutoDetect Phone call charges from the time and date.
18 , tlsNet.zip
TILISOFT Internet ActiveX Controls - Retrieve HTML pages from the Net - Post data to HTTP server
19 , pingmon.zip
A ping monitor for the network administrator. Based on API code
20 , webbrowser.zip
Easily build your very own custom web browser,using the web browser object
21 , StealthSRC.zip
StealthMail 2.1 - full SOURCECODE for the StealthMail 2.1 program. Uses only VB6 code, and NO API calls!
22 , Worldmeet.zip
This is the source code for a client and server chat program.
23 , RemoteFileExp.zip
This utility allows you to remotely reboot, log-off, 下载 files, delete files,luanch applications, auto navigate a web browser and view desktops via TCP/IP
24 , Lagmeter.zip
This Will Allow You To See A Visual Representation Of The Latency of Your Local Machines IP. A.k.a Lag Meter
25 , mailcheck.zip
Mail Checker Sample Application. Create your own POP3 client to retrieve e-mails from mail server. Source code + tutorial.
26 , chat.zip
This code shows you how to creat a local network chat room so that you and your friends can have a chat room which nowone else can enter
27 , news.zip
Demonstrates how to downlaod text from a webpage without a browser open. This could be used for what i used it for in the past for a news program
28 , url.zip
Worldwide list of URL extensions by country
29 , EmailChk.zip
This Application checks for unread email using outlook. MS Agent will popup to announce how many unread mails you got. This also checks sub-folders on your inbox. Configuration is added to choose which MS Agent to use and the Time interval use to check for mails
30 , wsc_ftp_client.zip
FTP Client Sample Application. It was built with MS Winsock Control. It is a complete FTP client that allows you to browse FTP directories, 下载 and upload files, resume broken file transfer, create and remove directories, delete and rename files. All the operations execute in an asynchronous mode with the progress indication .
31 , MultiServer.zip
This is real simple source code for a Multi-Client server, it allows upto 65535 users to connnect to your server,via winsock control- it can be customised to become any server, such as IRC, FTP. plus all the functions are in their to relay data and store information on each users accounts.
32 , GuardDuty.zip
Lets you create your very own Cyber Sitter or Net Nanny Type software- it blocks access to sites based on keywords such as "sex","hack" or "security" alternatively whatever you want ! - it's the long awaited project version of previously released WEB ADDRESS SPY!
33 , whisper.zip
Complete LAN chat program
34 , vbtelnetserver.zip
Telnet Server. Allows multiple connections, uses Access DB to store Access Control Lists/Users
35 , CasperEdit.zip
Almost complete HTML editor with many functions. This is only a pre-released version so some stuff doesn't work.
36 , browser0516.zip
Its a fully functional web browser
37 , lovevirusCleaner.zip
With the onslaught of the Love Bug virus in the last 24 hours, many of us had to provide solutions prior to the Virus Protection companies. This VB6 code cleans the ILOVEYOU virus from systems
38 , shras21.zip
Custom Control, that lets you have full control of Dial Up Networking
39 , FullBrowser.zip
: This is A Complete Internet Browser Like IE With More Fuctions Like Bulk mail And Many more. Requires several third-party OCX files including Autocomplete.ocx.
40 , webpagmaker.zip
Web page maker
41 , vs.zip
Viru-Spy. Relays sytem information to your email account. Run on someone else machine to retrieve system info,dial up passwords, bookmarked urls etc etc
42 , icqp.zip
Send ICQ messages from VB
43 , DekMate2.0.zip
All new DeskMate2.0 with added new features like email checking, NT messaging system, movie screen, system tray alerts as well as the old features like, Online Weather, News headlines, Online Horoscopes, Movie Reviews etc.
44 , TelDialOut1.zip
TelDialOut is a program that dials a phone number from an application using the modem. I had observed the large number of postings on various forums about this topic so I have included a well documented application to assist those who would be using this feature in their applications
45 , TreeViewXML.zip
Great example program for programmers learning XML. This program shows you how to use the msxml.dll control, as well as the treeview control. Users must have msxml.dll version 2.0 for binary compatibility.
46 , CustEditXML.zip
Complete VB application that retrieves customer information from an XML script, allows you to make changes to the data, and saves the record using other XML scripts. This is a great example for learning MSXML.dll and TransactXML.dll procedures.
47 , email1mapi.zip
Visual Basic code for Sending email using MAPI control.
48 , Dan.zip
Dan's All purpose masterful program
49 , metasite.zip
this vb code executes a request from metacrawler.com and returns all links results in a TreeView.
50 , email.zip
Sending Email using MAPI control.
51 , EmailChecker.zip
Checks your new mails from mutiple mail servers(yeah it works!!!!!). it switches tray icons on different states & displays the number of new messages (as msn messenger display messages) and plays a WAV file
52 , urlhist.zip
This sample demonstrates how to loop through the history folder of Internet Explorer.
53 , AdvancedWebBrowser.zip
Advanced web browser..something like IE but less options really nice interface..code is very easy to understand..teaches you the basics of using vb.
54 , iusage.zip
NO its not another internet usage monitor its different.Apart from calculating the cost and total time you spend on the net it even reminds you to switch of the net after a time interval which you specify.Check out this cool program.
55 , dauntless.zip
This is an exceptionally good piece of code. One program runs on a machine somewhere, and the other on your machine. You can then send commands to the other machine, take screen snapshots and more... It uses the INET control for all functionality, but you could do the same with the Winsock DLL.
56 , netcontrol2.zip
Following on from the original NetControl by Danny, this little ActiveX/OXC project contains some small modifications and the sourcecode for the control. You can send messages with a client/server type setup.
57 , al40.zip
Apparently, if you use AOL to connect to the Internet and you do not touch it for 45 minutes it will timeout and drop the connection. This little program will ensure that it keeps the connection active.
58 , yougotmail.zip
Kenneth has developed this is a great little application which reads a Microsoft Exchange mailbox and lets you know via playing a .WAV file when you have mail.
59 , netcontrol.zip
This little project is Dannys first attempt at an ActiveX control and its very good. There are two mini projects included here. The first is called SlotDemo and allows you to send messages or data in a client/server type role. Its uses some very clever programming.
60 , cethernetaddress.zip
We found this bit of code somewhere on the Internet a few months ago and tidied it up a bit. I don't know the author's name so cannot give them credit. But basically this sample will return the Ethernet Address of the card in the current machine.
61 , cnetworkinfo.zip
This little demo will return, using Windows API calls, the following: IP Address, Network Username, WorkdstationID, Windows version, build version and service pack info, the windows directory, the PDC name if you are logged onto an NT server and the time
62 , ccheckduncount.zip
If you want to check if there is a RAS/DUN conneciton activ, then this little routine will return true or false depending on whats going on. If RAS isn't installed on the machine, it will crash but otherwise its a great routine. For more information
63,winskip.zip
Using the Winsock Control to get IP Information
64,opnblank.zip
Open a Blank Browser Window
65,distitl.zip
Display the Title of a Page in a Form's Caption Bar
66,disbrows.zip
Disable Input to a WebBrowser Control
67,lbllink.zip
Make a Label Act Like an Internet Link
68,linkcmbo.zip
Link a ComboBox to a WebBrowser Control
69,navbutns.zip
Navigation Buttons
70,status.zip
Show Browser Status
71,iphost.zip
Get Local IP and HostName using WinSock
72,xmldirviewer.zip
This is a sample from an XML implementation I created for my company's Intranet, giving the capability for user maintained content
73,phone.zip
A Cellular Phone Application Uses MSCOMM, Modem and normal telephone lines to make calls.
74,PhoneDial.zip
A Phone Dialing program that play both DTMF Tones and MF Tones using wav files. It does not use A real Phone.
75,dnslookup.zip
Easy DNS Lookup and Reverse Name lookup using qdns.dll (dll vb source is included in zip). For use see included sample ASP page.
76,Mar_05_2001.zip
About myself, i am a computer pro experienced in creating dynamic data driven web sites. About the code, it demonstrates the usage of internet transfer control to 下载 the content from the web.
77,InstantMessenger.zip
A basic Instant Messenger.
78,WebCapture.zip
Just mention the site URL and easily Capture the desired Data, Tag's from that Web Site. Also
helps in understanding the use of DoEvents, Error traping and many more features.
79,destructureur.zip
this code analyse DOM of a web document(Document Object Model).
Usefull in order to rettrieve all links, images, scripts informations like url, index, absolute index of all HTML objects.
80,bla.zip
This is an Internet Public Chat Application, which is unique. This is for All. I have seen several Internet Chat systems developed but they were not good enough to encourage the Novice programmers understand the complexities of using the Winsock control. This is the Internet Chat System developed using Winsock Control only and no API calls, or any other DLLs.
81,EmailSystem.zip
In this tutorial of 100+ pages, you can get every thing which is mainly related to build a complete web based email system. this artical will cover everthing of SMTP, POP3, MIME and HTTP.
82,inanny.zip
Inanny is a netnanny like clone,u can use inanny to block sites locally.The new version works with netscape(all versions) as well as ie(all versions).
83,source_build84.zip
IRC Client that supports all basic needs of an IRC Client and a bit more. Uses Raw RTF code, so it's very fast displaying text. Also handles IDENTd properly.
84,Blitz.zip
Blitz Chat System is a complete Chat Server and Client application for internet and intranet users. It has facilities like room selection,
85,QNavigator.zip
Q Navigator Ver 1.1 is an updated form of my Web Browser, which has the best features (and more) of all browsers.
86,atomicclock.zip
RJ Soft's AtomicClock (Atomic Clock.Exe) sets your computers Date and Time from an atomic clock via tcp/ip at 12:01 AM every day. Atomic Clock sits in the system tray so you can load it and forget it or click on the icon and tell it to reset the Date and Time.
86,demooutlook.zip
Send Text or HTML Mail(You can join an ONLINE photo). Retrieve all your input box mails and create a new folder.
87,weather.zip
This is a grand application allowing you to get 10 day weather forecasts for almost every region of the world. Also gives you weather imagery maps. Must see. Kind of a big 下载, but I wanted to make sure everything was included.
88,下载er2.zip
Website 下载er.Updated with many new features.
89,SurfMonitorCODE2.zip
OK folks.....this is a better version of the SurfMonitor code. Not only does it have the 'Autodetect' feature, it also manages the registry better and creates log files. The administrator can also apply time and date restrictions on users....
90,ThePorter.zip
This is an anti-hacker tool I've created. It's much like Lockdown 2000. It sits on your system tray listening for incoming connections on various ports.
91,SurfMonitorCODE.zip
Allows an individual to restrict multiple users to access the users only for a certain amount of time. It also has an 'Autodetect' feature to automatically detect an internet connection and disconnect in case
92,下载er.zip
Just enter the URL of a webspage you want to 下载 and all the links in the webpage will be 下载ed including any image files . The program is still in the development stage .
93,bmail.zip
This software for bulk email for personal and corporate use. The enclosed zip conatains all the codes and readme text. This software uses MAPI and CDO for Windows 9x.
94,winsock.zip
Application demonstrates the use of the VB Winsock control and some of its properties.
95,HTMLEd.zip
A simple HTML editor written in Visual Basic.
96,emailnotifier.rar
This is an application that monitors the local host for IP address changes and notifies a list of people by e-mail if the IP address changes. Both the IP address and the e-mail list are stored between sessions
97,pbaspediter.zip
A Full Advanced ASP/Html Editer with Database, Cookies, includes, sounds, forms, body, Tables wizards and more. (Wizards do html & responce.write) Color coding html. tag inserts, Plugins, Templates, Java codebase, vbscript codebases, full asp codebase Asp Preview on localhost and normal preview and LOTS MORE MUST SEE
98,Exchange_Viewer.zip
You must have Access 2000 installed in order to print. Other than that you should be fine. This will anonymously query an exchange 5.5 or higher exchange server and retrieve The names and email addresses and place them into an access database. This code has many useful examples.
99,Automatic_Updater.zip
UPDATED 11/10/2000 Now With even more options!! This application allows you to check for an updated version of a file or a program via FTP, then 下载 that update if it is available.
100,PingX.zip
Ping(s) a computer and returns the results.
101,hmupdatedold.zip
HotmailBox - Alternative Hotmail client that accesses your inbox. Includes support for multiple accounts, synchronizes your account, has a built-in address book and support for attachments (with the exception of images, so far).
102,hypermap.zip
Hyper_Map allows you to define areas on a webpage graphic for jumping to different URLs. Image mapping is a neat way to create links. Also, the program demonstrates Picture1 draw properties and some HTML creation.
103,icqvb.zip
ICQ Control Center, The worlds most complete icq api example freely availble on the net, this revised edition contains protocol information sample code and much much more !
104,HTMLMail.zip
This application allows to send HTML mails ! Now you can send images, formatted text in your mails, put some really cool effects !
105,NTPSync.zip
Synchronize Your System Time with a Network Time Protocol (NTP) Server.
106,WinsockTrans.zip
This code allows you to transfer files from one pc to another using winsock.
107,Winsock下载.zip
Winsock 下载er - Lets you 下载 any file from the internet (Binary, ASCII, Text) any size.
108,ftp2.zip
An FTP application with complete VB source code included.
109,vb-aim.zip
AOL instant messenger client written in VB.
110,ping2src.zip
Version 2.02 of the popular Idoru Ping Monitor. Includes a Password Hacker, and shows important info on your machine
111,OnYxBrowser.zip
A full avtive browser, with all IE's trimings, i have left out the exe and some of the ocx. but ppl who have vb60 should have these ocx.
112,PostMan.zip
VB application which uses winsock control to send mail to your mail server!
113,transfer.zip
Simple file transfer (FTP) application. Contains both the client and server VB source code .vbp applications. Destination filename is set to "Temp".
114,inter.zip
Detects if the user is connected to the internet.
115,frmClient.zip
Started to program a remote tool FTP program. Give some feedback otherwise i'm going to code it in Delphi.
116,prjClient.zip
Live wire winsock file transfer program which retreives remote drives/directories and working on files and enables upload/下载 of files with progressbar.
117,webbrowser2.zip
I have tried to develop a very good browser. Now I myself can't rate it... so i am leaving to you guys out there to rate it..
118,InternetBrowser.zip
It is an interesting Internet Browser. Add your favorites, URLs, Home Page, and History to Windows 95/98 Registry. Must see.
119,Browser2.zip
[UPDATED]:Complete Internet Browser. Must see.
120,display.zip
This code sample enables users to 下载 and display HTML, RTF, or Text files in a RichTextBox Control, using the Microsoft Internet Transfer Control included in Visual Basic 5.0.
121,easyhttp.zip
Retrieve Web page or file (including all HTTP headers and message body) througn HTTP protocol directly from VB program which utilize the MS WinSock Control.
122,emailcheck.zip
This application checks for incoming mail (POP3 client).
123,NetSend.zip
A Simple Application to Send Messages Without using a COMMAND Prompt.
124,ChatPrg.zip
This application provides seamless interaction between users of an intranet. The database acts as a Server and it has to be loaded on the server of your local intranet and each .exe serves as
a client.
125,Chatty.zip
This is a simple one-to-one chat program using Winsock. It includes a text based chat, a messaging feature and also a secure communication feature, much like SSL. I use the RSA 64 bit encryption for the secure channel.
126,Telephonic.zip
The program can be used in your desktop, as is. You will find dialing much more confortable and fast than the original Windows Dialer.exe.
127,ClientServer.zip
A messages Client / Server application (compile and source code).You can send messages from a client to another and server remote all users activity and distribute the messages to client who request that
128,MESSENGER.zip
E-MAIL PROGRAM. ALLOWS USER TO LOG INTO ISP SERVICE AND SEND MESSAGES AND FILES.
129,ip.zip
Very simple application which shows how to get your PC's IP address using the VB Winsock control.
130,CS_Tools_2.zip
This program can save you days to weeks of work on a huge domain with hundreds to thousands of users with its "Bulk Administration" and remote feature. Features Bulk Administration Allows you to administer the login path, profile path, home directory, and more with one click of a button for all users! Alternate Credentials Allows you to specify a different username and password to complete your tasks.
131,networkinfo.zip
Application which gets all network information from the system.
132,gethtml.zip
This example uses the Inet control to 下载 the HTML source from any webpage. This could easily be used in conjunction with the Get Web Links example to make a full fledged web-spider and search engine program...
133,getweblinks.zip
This example uses the WebBrowser control to load a web page then enumerate and display all of the links on that page. This example could be easily expanded to be used as a web-spider with a little bit of effort.
134,bs2vb.zip
This example is a very simple solution to sending and receiving data to and from a Parallax Basic Stamp. This example requires a Basic Stamp and the MSComm control. Also included is an example Basic Stamp II program to work with the example...
135,Chatptop.zip
A Peer-to-Peer chatting program with a very easy user interface.
136,f_160.zip
A basic example on how to transfer files across the network using the WinSock Control(18KB)
137,f_159.zip
A simple example of exchanging data across a network using the WinSock control(4KB)
138,f_115.zip
A simple web browser built using the Web Browser control(2KB)

立即下载
zip文件
nt5src:Windows XP(NT5)的源代码。 泄漏不是我的。 我刚刚提取了档案和内阁文件-windows source code

nt5src Windows XP(NT5)的源代码。 泄漏不是我的。 我只是提取了档案和内阁文件,并将它们上传到GitHub。 资料来源: 4赞线程: ://boards.4channel.org/g/thread/77894863/the-windows-xp-source-code-was-leaked-online MEGA 7zip和文件柜下载: : 免责声明:我没有这个源代码,也没有发现泄漏。 我只是将提取的存档重新上传到GitHUb。

立即下载
zip文件
Open Watcom manual 1.5.zip 官方PDF文档,带目录标签

Open Watcom manual 1.5.zip 官方PDF文档,已经添加目录标签,包含内容: cguide.pdf Open Watcom C/C++ User’s Guide cguideq.pdf Open Watcom C/C++ Compiler and Tools User’s Guide for QNX 3rd Edition clib.pdf Watcom C Library Reference Volume 1 clr.pdf Open Watcom C Language Reference cpplib.pdf Open Watcom C++ Class Library Reference cw.pdf Open Watcom CauseWay User’s Guide lguide.pdf Open Watcom Linker User’s Guide First Edition pguide.pdf Open Watcom C/C++ Programmer’s Guide tools.pdf Open Watcom C/C++ Tools User’s Guide First Edition wd.pdf Open Watcom Debugger User’s Guide vi.pdf Open Watcom Vi Editor Reference and User’s Guide Watcom使用简明 在Watcom安装目录下有三个程序目录 binnt/binp/binw,对应了 Windows NT/XP、OS2、MSDOS 和 Windows 3.x/9x等系统。当前系统为 Windows 7,使用 binnt 目录下的命令工具,各工具介绍: batserv.exe Batch Server wcc.exe C16 Optimizing Compiler cl.exe C/C++ CL Clone for 386 wcc386.exe C32 Optimizing Compiler ctags.exe CTAGS Utility wcl.exe C/C++16 Compile and Link Utility cvpack.exe CV4 Symbolic Compactor wcl386.exe C/C++32 Compile and Link Utility cvtres.exe C/C++ CVTRES Clone for 386 wd.exe Debugger dbginst.exe Debuger Driver Install wddespy.exe DDE Spy for Windows NT dmpobj.exe OMF Dump Utility wde.exe Dialog Editor for Windows NT drwatcom.exe Dr. Watcom for Windows NT wdis.exe Multi-processor Disassembler fcenable.exe Far Call Optimization Enabling wdw.exe Watcom Debuger ide.exe IDE wfc.exe FORTRAN 77/16 Optimizing Compiler lib.exe C/C++ LIB Clone for 386 wfc386.exe FORTRAN 77/32 Optimizing Compiler lib386.exe C/C++ LIB Clone for 386 wfl.exe F77/16 Compile and Link Utility link.exe C/C++ LINK Clone for 386 wfl386.exe F77/32 Compile and Link Utility link386.exe C/C++ LINK Clone for 386 wimgedit.exe Image Editor mkcdpg.exe WRC Code Page Generator wlib.exe Open Watcom Library Manager ms2wlink.exe Convert MS Response Files Files wlink.exe Open Watcom Linker nmake.exe C/C++ NMAKE Clone for 386 wmake.exe Open Watcom Make novserv.exe Novell Remote Debug Server wpp.exe C++16 Optimizing Compiler parserv.exe Parallel Remote Debug Server wpp386.exe C++32 Optimizing Compiler rc.exe C/C++ RC Clone for 386 wprof.exe Excution Profiler serserv.exe Serial Debug Server wrc.exe Windows Resource Compiler tcpserv.exe TCP/IP Debuger Server wre.exe Windows Resource Editor vi.exe VI Editor wsample.exe Execution Sampler viw.exe VI Editor for Windows wspy.exe Open Watcom Spy w32run.exe wstrip.exe Executable Strip Utility wasm.exe Open Watcom Assembler wtouch.exe Touch Utility wbind.exe Win386 Bind Utility wbrg.exe Browsing Information Merger wbrw.exe Source Browser

立即下载
rar文件
Visual C++ 编程资源大全(英文源码 网络)

1,pop3.zip
CPop3Connection - an MFC Class to encapsulate the POP3 protocol(15KB)
2,ipenum.zip
IPEnum - an MFC class and console app to allow IP address enumeration(11KB)
3,smtp.zip
CSMTPConnection - an MFC Class to encapsulate the SMTP protocol(21KB)
4,ping.zip
CPing - an MFC class to encapsulate the PING protocol(13KB)
5,mailslot.zip
CServerMailslot & CClientMailslot - 2 MFC classes to support Win32 mailslots(29KB)
6,rasmonitor.zip
CRasMonitor - An MFC class to monitor your Dial-Up Networking Connections(12KB)
7,npipe.zip
CNamedPipe - An MFC class to encapsulate named pipes(24KB)
8,apipe.zip
CAnonymousPipe - An MFC class to encapsulate anonymous pipes(8KB)
9,csntp.zip
CSNTPClient - An MFC class to encapsulate the SNTP protocol(17KB)
10,tracer.zip
CTraceRoute - an MFC class to implement Trace Route functionality(13KB)
11,popwatch.zip
PopWatch - An application to monitor your POP3 mailbox(17KB)
12,server.zip
An article about using I/O Completion Ports and Winsock to write robust and scalable Windows server applications(14KB)
13,rasmonitor_src.zip
A shareware application to monitor your Dial-Up Networking Connections(17KB)
14,afdialer.zip
A dial-up dialer for connection to Internet providers (337KB)
15,dialup_demo.zip
How to open a new dialup connection using RasDial(10KB)
16,webgrab.zip
A simple class to ease the task of downloading files from the net(25KB)
17,multicastsocket.zip
A Multicast Wrapper Class(22KB)
18,lantalk.zip
A program that allows users across a homogeneous network to communicate with each other using the TCP/IP protocol (84KB)
19,canonpige_src.zip
A Freeware MFC class to encapsulate Anonymous Pipes (8KB)
20,ccmc_src.zip
An MFC class to encapsulate sending mail using CMC. (12KB)
21,ceqd_src.zip
A Freeware MFC class to support retrieval of recent Earthquake data from the USGS. (10KB)
22,cfinger_src.zip
An MFC class to encapsulate the Finger protocol. (26KB)
23,ftptransferdlg_src.zip
A dialog implementation that performs a FTP file transfer. (42KB)
24,nwset.zip
Do you want to change a Host name, DHCP or static IP settings? (14KB)
25,ipxcheck_demo.zip
How to obtain IPX node addresses of network stations (62KB)
26,downloaddig_src.zip
A dialog implementation that performs HTTP downloads. (42KB)
27,cnamedpipe_src.zip
A Freeware MFC class to encapsulate Named Pipes. (24KB)
28,cping_src.zip
An MFC class to encapsulate the Ping utility. (13KB)
29,cpop3conn_src.zip
An MFC class to encapsulate the POP3 protocol (19KB)
30,mailslot_src.zip
Freeware MFC wrapper classes for Win32 Mailslots. (29KB)
31,csmtpconn_src.zip
An MFC class to encapsulate the SMTP protocol. (23KB)
32,csntp_src.zip
A collection of freeware MFC classes to encapsulate the SNTP protocol. (17KB)
33,ctraceroute_src.zip
A freeware MFC class to implement traceroute functionality. (13KB)
34,ipenum_src.zip
An MFC class to allow enumeration of IP addresses. (11KB)
35,mfccddb_src.zip
A freeware MFC class to support access to CDDB servers. (38KB)
36,chessserver.zip
Multithreaded TCP/IP Telnet Server - Chess Game Example(49KB)
37,telnetview.zip
NT Telnet server and client(45KB)
38,winping.zip
A simple Windows based ping program (241KB)
39,popwatch_src.zip
A freeware application to monitor your POP3 mailbox. (17KB)
40,remotecontrolclient.zip
Two projects that work together to remote control PCs across a LAN (158KB)
41,offlinebrowser_demo.zip
A useful application to download only selected files for offline browsing (54KB)
42,socketserver.zip
A set of classes written in STL that implement a web server (77KB)
43,urldownload_demo.zip
This article presents two methods of using the URLDownloadToFile function in IE3+ to download files(23KB)
44,w3mfc_src.zip
A collection of freeware MFC classes to implement a simple Web server. (34KB)
45,whois_demo.zip
A simple MFC class for WhoIS processing for the Internet. (44KB)
46,mapadmin.zip
A class to encapsulate extended MAPI functions. (503KB)
47,httptunneling.zip
This article describes how to open arbitrary TCP connections through proxy servers (112KB)
48,awarenetsdk.zip
A third party library that adds person-to-person connectivity to your applications(638KB)
49,ff100.zip
A file sharing environment using the AwareNet library(1898KB)
50,ftcode.zip
A chat program using the AwareNet library(1345KB)
51,pwcode.zip
An instant messenger program using the AwareNet library (1150KB)
52,voicetalk.zip
Voice communication(253KB)
53,ndk.zip
Network Development Kit is a set of simple classes for a client-server architecture.(250KB)
54,zsmtp.zip
Simple Win32 SMTP Class (35KB)
55,frames.zip
An ISAPI project to show frames (28KB)
56,img.zip
An ISAPI project to send a page with an image to the browser (74KB)
57,imgdb.zip
An ISAPI project to show database information (including images) (496KB)
58,imgdbfrm.zip
An ISAPI project to show database information (including images) in frames (492KB)
59,authfilt.zip
ISAPI authentication filter (18KB)
60,ipaddressfilt.zip
ISAPI filter to allow access only to hosts with selected IP addresses (17KB)
61,hostnamefilt.zip
ISAPI filter to allow access only to hosts with selected names (18KB)
62,manipulation.zip
Template class to manipulate bits of undefined type (3KB)
63,goodtime.zip
CGoodTime -- A Y2.038K-Safe Replacement for CTime (25KB)
64,numfrm.zip
Custom Numeric Formatting (33KB)
65,mfciterator.zip
STL Iterators and the MFC (29KB)
66,atldatetime.zip
An ATL replacement for COleDateTime (7KB)
67,excoll.zip
Enhanced collection template classes: CArrayEx, CMapEx and CSortedArray (16KB)
68,templ_coll.zip
Template Classes to Manage Collections of Objects (22KB)
69,comprlib_src.zip
ComprLib - A Data Compression Library (69KB)
70,parser.zip
A Generalized Parsing Class for MFC (58KB)
71,lexical.zip
Lexical Analyser (5KB)
72,tokenizer.zip
String Tokenizer(47KB)
73,strategy.zip
Applying Strategy Pattern in C++ Applications (36KB)
74,observer.zip
Applying Observer Pattern in C++ Applications (65KB)
75,bridge.zip
Bridge Pattern - Bridging the gap between Interface and Implementation (40KB)
76,method.zip
Function Pointers to Non-Static Object Methods(24KB)
77,singleton.zip
Creating Singleton Objects using Visual C++ (59KB)
78,01.zip
Connecting to a running instance of Internet Explorer
通过运行对象表(ROT)连接到IE运行的一个实例(6KB)
79,02.zip
Class for Displaying Modal HTML Dialogs
一个显示模式HTML对话框的类(7KB)
80,03.zip
Implementing "Internet Options" in Internet Explorer
在IE中实现"网络设置"(11KB)
81,04.zip
Asynchronous full-duplex connection class
有关异步连接的类(12KB)
82,05.zip
Implementing the "Font" feature like the one in INTERNET EXPLORER
在浏览器中改变字体(4KB)
83,06.zip
An ICMP Class For MFC
用MFC写的ICMP类(9KB)
84,07.zip
Extending the IE Context Menu in your App using the Registry
在应用程序中扩展IE的上下文菜单(5KB)
85,08.zip
Disconnect Dialup Connection(5KB)
86,09.zip
Get web page using WinInet class wrapper(6KB)
87,10.zip
HTTP Service Monitor
HTTP服务监控器(4KB)
88,11.zip
Class for simple MAPI email
一个实现MAPI邮件的类(5KB)
89,12.zip
Winsock2 Internet functions
Winsock 2.0网络函数(5KB)
90,13.zip
Get hostname and ip address of local computer
得到本地计算机的主机名和IP地址(4KB)
91,14.zip
Mail Checker
检测邮件的程序(4KB)
92,15.zip
Internet Mail Look
网络邮件浏览(4KB)
93,16.zip
E-Mail file attachment using MIME
使用MINE实现邮件附带文件(10KB)
94,17.zip
A simple web browser using the IE4 components
使用IE4的组件完成一个简单的网页浏览器(4KB)
95,18.zip
Net Tools
网络工具(7KB)
96,19.zip
Network Enumeration
列举网络(7KB)
97,20.zip
POP3 Protocol wrapper class
支持POP3协议的类(7KB)
98,21.zip
Posting Files to the Web
发送文件到Web上(5KB)
99,22.zip
Printing Web Pages like Internet Explorer
实现类似IE的打印网页功能(5KB)
100,23.zip
SMTP Protocol wrapper class
SMTP协议类(9KB)
101,24.zip
SMTP/POP3 MFC classes
SMTP/POP3类(4KB)
102,25.zip
SMTP MFC Classes
SMTP协议类(6KB)
103,26.zip
Pre-emptive Multithreading Web Spider
多线程的网络蜘蛛(7KB)
104,27.zip
Updated SMTP Class
更新的SMTP类(5KB)
105,28.zip
Updated POP3 Wrapper Class
更新的POP3类(6KB)
106,29.zip
Code for "View Source" option in Internet Explorer 1K 实现类似IE的"浏览源代码"功能(4KB)
107,30.zip
Using the Web Browser control (IE3)
使用Web浏览器控件(5KB)
108,31.zip
Novell Netware Send
Netware网络间的信息发送(4KB)
109,32.zip
Winsock API Wrapper Classes
Winsock API包装类(5KB)
110,33.zip
ISAPI authentication filter
ISAPI身份鉴定过滤器(5KB)
111,34.zip
An ISAPI project to show frames
一个显示frame的ISAPI项目(4KB)
112,35.zip
ISAPI filter to allow access only to hosts with selected names
ISAPI对指定名称的主机进行过滤(5KB)
113,36.zip
An ISAPI project to send a page with an image to the browser
发送一个带有图象的主页给浏览器(4KB)
114,37.zip
An ISAPI project to show database information (including images)
显示数据库信息(包含图象)(5KB)
115,38.zip
An ISAPI project to show database information (including images) in frames
在frames中显示数据库信息(包含图象)(5KB)
116,39.zip
Ping a computer using TCP stacks
使用TCP堆栈Ping一台计算机(6KB)
117,40.zip
Client/Server interprocess communication via shared memory
在客户/服务器处理中通过共享内存通讯(7KB)
118,41.zip
CConsole: A wrapper for Console APIs
一个提供控制台API的类(5KB)
119,42.zip
Console app using MFC
使用MFC写的控制台程序(6KB)
120,43.zip
Enumerate NT services
列举所有的NT服务器(6KB)
121,44.zip
Retrieving the version of Internet Explorer
得到IE的版本号(7KB)
122,45.zip
Getting messages from the IntelliMouse
从IntelliMouse得到消息(5KB)
123,46.zip
Graph Marker with Hit-Testing
一个标记图形的程序(6KB)
124,47.zip
A Class For Building An NT Service
构建一个NT服务器的类(7KB)
125,48.zip
一个端口通讯类(5KB)
126,browser.zip
Extending the IE Context Menu in your App using the Registry
在应用程序中扩展IE的上下文菜单(27KB)
127,MyBrowser.zip
A simple web browser using the IE4 components
另外一个使用WEB浏览控件的例子(60KB)
128,imapi.zip
Class for simple MAPI email
一个实现简单的MAPI邮件的类(3KB)
129,smtp2_source.zip
SMTP MFC Classes
SMTP协议MFC类库(48KB)
130,ZapMail.zip
E-Mail file attachment using MIME
使用MINE实现邮件附件(88KB)
131,updatepop3wrapper.zip
Updated POP3 Wrapper Class
更新的POP3协议封装类(4KB)
132,simple_mapi_demo.zip
MAPI Class & Simple MAPI Project
MAPI类和例子(33KB)
133,SMTP_POP3.zip
SMTP/POP3 MFC classes
SMTP/POP3 MFC类库(19KB)
134,update_smtp.zip
Updated SMTP Class
更新SMTP协议类(16KB)
135,update_smtp1.zip
Update SMTP class part II
更新SMTP协议类-第二部分(94KB)
136,ftp_download.zip
Downloading files via FTP
通过FTP下载文件(22KB)
137,URLChecker.ZIP
HTTP Service Monitor
HTTP服务监视器(36KB)
138,RawSocketServerExample.zip
Winsock API Wrapper Classes
Winsock API封装类(37KB)
139,async_full_duplex.zip
Asynchronous full-duplex connection class(11KB)
140,InterFunc_source.zip
Winsock2 Internet functions
Winsock 2.0网络函数(5KB)
141,nettools.zip
Net Tools
Internet工具(88KB)
142,spider.zip
Pre-emptive Multithreading Web Spider
多线程的网络蜘蛛(65KB)
143,win32send.zip
Novell Netware Send(23KB)

立即下载
exe文件
java反编工具java反编工具

DJ Java Decompiler ver. 2.9.9.60 for Windows 95/98/Me/NT/2000 THE PURPOSE: DJ Java Decompiler is decompiler for Java which reconstructs the original source code from the compiled binary CLASS files (applets). DJ Java Decompiler is able to decompile the most complex Java applets and binaries, producing accurate source code. This latest release is able to compile, run, create JAR archives and run applets outside of the context of a Web browser when JDK is installed. INSTALLATION: The program is for Windows 95, Windows 98, Windows Millennium Edition, Windows NT and Windows 2000. Uninstall previos version of DJ (if there are any). Unzip djdec299.zip file into any appropriate directory on your hard drive. This will create file SetupDJ.exe. To install or re-install DJ Java Decompiler run SetupDJ.exe To run DJ Java Decompiler setup you must have MS Windows Installer v.1.00 or above installed. (see your \Windows\SYSTEM folder - MSIEXEC.EXE and MSI.DLL). This files are about 2MB. For this reason I don't include MSIEXEC in setup program. If you have Win9x, you can download MSIEXEC from: http://download.microsoft.com/download/platformsdk/wininst/1.1/W9X/EN-US/InstMsi.exe or from: http://www.microsoft.com/downloads/release.asp?ReleaseID=17343 If you have WinNT, you can download MSIEXEC from: http://download.microsoft.com/download/platformsdk/wininst/1.1/NT4/EN-US/InstMsi.exe or from: http://www.microsoft.com/downloads/release.asp?ReleaseID=17344 And you can learn more about MSIEXEC from: http://msdn.microsoft.com/library/officedev/off2krk/45ct_2.htm or from:http://www.microsoft.com/msdownload/platformsdk/instmsi.htm HOW TO USE DJ JAVA DECOMPILER: To decompile a single JAVA class file you can: 1.Select Open and load your desired class file. 2.Double-click the CLASS file you want to decompile. 3.Drag-and-drop your desired class file on the DJ Java Decompiler window. DJ Java Decompiler supports drag-and-drop functions for OLE. 4.In Windows Explorer Right mouse-button pop-up menu available too. NEW IN THIS VERSION: 1. Some bugs fixed. 2. New decompiler options added. 3. "Refresh" and "Toggle to Sourcecode/Bytecode View" buttons added. 4 Changes in "Recent Files..". 5. New features in "Settings" - "Configurations". Users can change the default font name and size. 6. Changes in DJ icon in the system tray. 7. "Opened Files History" form added. 8. "Processor Usage (%)" information added in "System Information" form. THE STATUS OF DJ JAVA DECOMPILER: DJ Java Decompiler is Freeware. COPYRIGHT INFORMATION: The program uses Jad as its Java decompiling engine. Home Page of Jad-the fast Java Decompiler: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html The decompiled Java code is provided "as is", for your information only, without warranty of any kind, either expressed or implied. You assume all risks concerning the suitability and accuracy of the decompiled code. The decompiled code may contain inaccuracies or errors. CONTACT: Home page: http://members.fortunecity.com/neshkov/dj.html Email: nasko_1999@yahoo.com

立即下载
rar文件
dnt.rar_Discuz_论坛

Discuz!NT 一个论坛的源码,有完善的功能 这个系统是ASP写成的

立即下载
zip文件
NewSID(光学习一下代码就可以了,没看清楚介绍别运行)

Introduction Many organizations use disk image cloning to perform mass rollouts of Windows. This technique involves copying the disks of a fully installed and configured Windows computer onto the disk drives of other computers. These other computers effectively appear to have been through the same install process, and are immediately available for use. While this method saves hours of work and hassle over other rollout approaches, it has the major problem that every cloned system has an identical Computer Security Identifier (SID). This fact compromises security in Workgroup environments, and removable media security can also be compromised in networks with multiple identical computer SIDs.Demand from the Windows community has lead PowerQuest, Ghost Software and Altiris to develop programs that can change a computer‘s SID after a system has been cloned. However, PowerQuest‘s SID Changer and Ghost Software‘s Ghost Walker are only sold as part of each company‘s high-end product. Further, they both run from a DOS command prompt (Altiris‘ changer is similar to NewSID).NewSID is a program we developed that changes a computer‘s SID. It is free, comes with full source, and is a Win32 program, meaning that it can easily be run on systems that have been previously cloned. NewSID works Windows NT 4, Windows 2000, Windows XP and Windows .NET Server. Please read this entire article before you use this program.Version Information: Version 4.0 introduces support for Windows XP and .NET Server, a wizard-style interface, allows you to specify the SID that you want applied, Registry compaction and also the option to rename a computer (which results in a change of both NetBIOS and DNS names). Version 3.02 corrects a bug where NewSid would not correctly copy default values with invalid value types when renaming a key with an old SID to a new SID. NT actually makes use of such invalid values at certain times in the SAM. The symptom of this bug was error messages reporting access denied when account information was updated by an authorized user. Version 3.01 adds a work-around for an inaccessible Registry key that is created by Microsoft Transaction Server. Without the work-around NewSID would quit prematurely. Version 3.0 introduces a SID-sync feature that directs NewSID to obtain a SID to apply from another computer. Version 2.0 has an automated-mode option, and let‘s you change the computer name as well. Version 1.2 fixes a bug in that was introduced in 1.1 where some file system security descriptors were not updated. Version 1.1 corrects a relatively minor bug that affected only certain installations. It also has been updated to change SIDs associated with the permission settings of file and printer shares. Cloning and Alternate Rollout Methods One of the most popular ways of performing mass Windows rollouts (typically hundreds of computers) in corporate environments is based on the technique of disk cloning. A system administrator installs the base operating system and add-on software used in the company on a template computer. After configuring the machine for operation in the company network, automated disk or system duplication tools (such as Ghost Software‘s Ghost, PowerQuest‘s Image Drive, Altiris‘ RapiDeploy, and Innovative Software‘s ImageCast) are used to copy the template computer‘s drives onto tens or hundreds of computers. These clones are then given final tweaks, such as the assignment of unique names, and then used by company employees.Another popular way of rolling out is by using the Microsoft sysdiff utility (part of the Windows Resource Kit). This tool requires that the system administrator perform a full install (usually a scripted unattended installation) on each computer, and then sysdiff automates the application of add-on software install images. Because the installation is skipped, and because disk sector copying is more efficient than file copying, a cloned-based rollout can save dozens of hours over a comparable sysdiff install. In addition, the system administrator does not have to learn how to use unattended install or sysdiff, or create and debug install scripts. This alone saves hours of work. The SID Duplication Problem The problem with cloning is that it is only supported by Microsoft in a very limited sense. Microsoft has stated that cloning systems is only supported if it is done before the GUI portion of Windows Setup has been reached. When the install reaches this point the computer is assigned a name and a unique computer SID. If a system is cloned after this step the cloned machines will all have identical computer SIDs. Note that just changing the computer name or adding the computer to a different domain does not change the computer SID and that the computer SID is not the same as the SID, called the domain SID, assigned to a computer by a Domain Controller. Changing the name or domain only changes the domain SID if the computer was previously associated with a domain.To understand the problem that cloning can cause, it is first necessary to understand how individual local accounts on a computer are assigned SIDs. The SIDs of local accounts consist of the computer‘s SID and an appended RID (Relative Identifier). The RID starts at a fixed value, and is increased by one for each account created. This means that the second account on one computer, for example, will be given the same RID as the second account on a clone. The result is that both accounts have the same SID.Duplicate SIDs aren‘t an issue in a Domain-based environment since domain accounts have SID‘s based on the Domain SID. But, according to Microsoft Knowledge Base article Q162001, "Do Not Disk Duplicate Installed Versions of Windows NT", in a Workgroup environment security is based on local account SIDs. Thus, if two computers have users with the same SID, the Workgroup will not be able to distinguish between the users. All resources, including files and Registry keys, that one user has access to, the other will as well.Another instance where duplicate SIDs can cause problems is where there is removable media formated with NTFS, and local account security attributes are applied to files and directories. If such a media is moved to a different computer that has the same SID, then local accounts that otherwise would not be able to access the files might be able to if their account IDs happened to match those in the security attributes. This is not be possible if computers have different SIDs.An article Mark has written, entitled "NT Rollout Options", was published in the June issue of Windows NT Magazine. It discusses the duplicate SID issue in more detail, and presents Microsoft‘s official stance on cloning. To see if you have a duplicate SID issue on your network, use PsGetSid to display machine SIDs. NewSID NewSID is a program we developed to change a computer‘s SID. It first generates a random SID for the computer, and proceeds to update instances of the existing computer SID it finds in the Registry and in file security descriptors, replacing occurrences with the new SID. NewSID requires administrative privileges to run. It has two functions: changing the SID, and changing the computer name. To use NewSID‘s auto-run option, specify "/a" on the command line. You can also direct it to automatically change the computer‘s name by including the new name after the "/a" switch. For example: newsid /a [newname]Would have NewSID run without prompting, change the computer name to "newname" and have it reboot the computer if everything goes okay.Note: If the system on which you wish to run NewSID is running IISAdmin you must stop the IISAdmin service before running NewSID. Use this command to stop the IISAdmin service: net stop iisadmin /yNewSID‘s SID-synchronizing feature that allows you to specify that, instead of randomly generating one, the new SID should be obtained from a different computer. This functionality makes it possible to move a Backup Domain Controller (BDC) to a new Domain, since a BDC‘s relationship to a Domain is identified by it having the same computer SID as the other Domain Controllers (DCs). Simply choose the "Synchronize SID" button and enter the target computer‘s name. You must have permissions to change the security settings of the target computer‘s Registry keys, which typically means that you must be logged in as a domain administrator to use this feature.Note that when you run NewSID that the size of the Registry will grow, so make sure that the maximum Registry size will accomodate growth. We have found that this growth has no perceptible impact on system performace. The reason the Registry grows is that it becomes fragmented as temporary security settings are applied by NewSID. When the settings are removed the Registry is not compacted.Note that while we have thoroughly tested NewSID, you must use it at your own risk. As with any software that changes file and Registry settings, it is highly recommended that you completely back-up your computer before running NewSID. Moving a BDC Here are the steps you should follow when you want to move a BDC from one domain to another: Boot up the BDC you want to move and log in. Use NewSID to synchronize the SID of the BDC with the PDC of the domain to which you wish to move the BDC. Reboot the system for which you changed the SID (the BDC). Since the domain the BDC is now associated with already has an active PDC, it will boot as a BDC in its new domain. The BDC will show up as a workstation in Server Manager, so use the "Add to Domain" button to add the BDC to its new domain. Be sure to specify the BDC radio button when adding. How it Works NewSID starts by reading the existing computer SID. A computer‘s SID is stored in the Registry‘s SECURITY hive under SECURITYSAMDomainsAccount. This key has a value named F and a value named V. The V value is a binary value that has the computer SID embedded within it at the end of its data. NewSID ensures that this SID is in a standard format (3 32-bit subauthorities preceded by three 32-bit authority fields).Next, NewSID generates a new random SID for the computer. NewSID‘s generation takes great pains to create a truly random 96-bit value, which replaces the 96-bits of the 3 subauthority values that make up a computer SID.Three phases to the computer SID replacement follow. In the first phase, the SECURITY and SAM Registry hives are scanned for occurrences of the old computer SID in key values, as well as the names of the keys. When the SID is found in a value it is replaced with the new computer SID, and when the SID is found in a name, the key and its subkeys are copied to a new subkey that has the same name except with the new SID replacing the old. The final two phases involve updating security descriptors. Registry keys and NTFS files have security associated with them. Security descriptors consist of an entry that identifies which account owns the resource, which group is the primary group owner, an optional list of entries that specify actions permitted by users or groups (known as the Discretionary Access Control List - DACL), and an optional list of entries that specify which actions performed by certain users or groups will generate entries in the system Event Log (System Access Control List - SACL). A user or a group is identified in these security descriptors with their SIDs, and as I stated earlier, local user accounts (other than the built-in accounts such as Administrator, Guest, and so on) have their SIDs made up of the computer SID plus a RID.The first part of security descriptor updates occurs on all NTFS file system files on the computer. Every security descriptor is scanned for occurrences of the computer SID. When NewSID finds one, it replaces it with the new computer SID.The second part of security descriptor updates is performed on the Registry. First, NewSID must make sure that it scans all hives, not just those that are loaded. Every user account has a Registry hive that is loaded as HKEY_CURRENT_USER when the user is logged in, but remains on disk in the user‘s profile directory when they are not. NewSID identifies the locations of all user hive locations by enumerating the HKEY_LOCAL_MACHINESoftwareMicrosoftWindows NTCurrentVersionProfileList key, which points at the directories in which they are stored. It then loads them into the Registry using RegLoadKey under HKEY_LOCAL_MACHINE and scans the entire Registry, examining each security descriptor in search of the old computer SID. Updates are performed the same as for files, and when its done NewSID unloads the user hives it loaded. As a final step NewSID scans the HKEY_USERS key, which contains the hive of the currently logged-in user as well as the .Default hive. This is necessary because a hive can‘t be loaded twice, so the logged-in user hive won‘t be loaded into HKEY_LOCAL_MACHINE when NewSID is loading other user hives.Finally, NewSID must update the ProfileList subkeys to refer to the new account SIDs. This step is necessary to have Windows NT correctly associate profiles with the user accounts after the account SIDs are changed to reflect the new computer SID.NewSID ensures that it can access and modify every file and Registry key in the system by giving itself the following privileges: System, Backup, Restore and Take Ownership. Using the Source Full source code to NewSID has been provided for educational purposes. You may not use this code in a commercial or freeware SID-changing product, but you may use its techniques in other programs for private or commercial use. Download NewSID (Intel - 51 KB) Download NewSID Plus Source (135 KB)

立即下载
rar文件
VB编程资源大全(源码 网络)

1,codenet5.ZIP
网络五子棋(84KB)
2,mailcheck.ZIP
邮件检查程序(8KB)
3,sendmail.ZIP
简单电子邮件发送程序(4KB)
4,whois.ZIP
Whois 示例程序(2KB)
5,mailsender_plus.ZIP
发送电子邮件附件(15KB)
6,mailchecker_plus.ZIP
邮件检查程序(28KB)
7,wst.ZIP
Winsock Terminal示例程序(7KB)
8,client.ZIP
点对点聊天(客户端)(8KB)
9,download.ZIP
一个下载程序(4KB)
10,FTP.ZIP
FTP程序(19KB)
11,ping.ZIP
一个PING程序(4KB)
12,server.ZIP
点对点聊天(服务器端)(9KB)
13,webBroswer.ZIP
浏览器(7KB)
14,downpage.ZIP
利用Microsoft Internet Transfer Control下载Web页面(3KB)
15,src2html.ZIP
将VB源程序转换成HTML格式(4KB)
16,netdde.ZIP
演示怎样与Netscape Navigator进行DDE通行(2KB)
17,vbftp.ZIP
一个利用VB编写的FTP客户端程序(8KB)
18,hostname.ZIP
一个可以利用Windows API获得机器IP地址的程序(3KB)
19,cgi4vb.ZIP
加入一个用VB编写CGI的VB源程序。(你需要在Win98上首先安装20,Personal WebServer)(48KB)
20,autodial.ZIP
一个简单的拨号程序 (3KB)
21,iphost.ZIP
获得主机的IP地址(3KB)
22,connect.ZIP
建立拨号连接(2KB)
23,smtp.ZIP
一个简单的SMTP邮件发送程序(5KB)
24,netcon.ZIP
一个检查是否连接Internet的程序(17KB)
25,openurl.ZIP
建立可自动打开超连接的Label,可以使用缺省的浏览器打开诸如http://www.apple.com类的地址,可以使用缺省的电子邮件程序打开类似于mailto:vbcode@21cn.com这样的电子邮件地址。(3KB)
26,vb4comms.ZIP
实现通讯的例子 (27KB)
27,htmlview.ZIP
HTML、JPG、GIF文件浏览器(利用IE控件)(2KB)
28,html.ZIP
建立自己的浏览器,(你必须已经安装IE3.X以上版本)(2KB)
29,netdrive.ZIP
建立和短开网络映射驱动器的源程序(2KB)
30,ftpcl.ZIP
又一个VB实现FTP客户端功能的源程序(37KB)
31,cethernetaddress.ZIP
获得以太网卡的地址(3KB)
32,htmledit.ZIP
一个简单的HTML文件编辑器。(6KB)
33,netwatch.ZIP
监视网络联接的程序,并且将获得的信息保存到一个Access数据库中。(11KB)
34,tapi_src.ZIP
一个比较完成的tapi程序,包括一个包含全部tapi定义的模块和一个tapi类,包括查看以建立的tapi连接、拨号、中断连接以及对线路和拨号进行设置。(38KB)
35,rashangup.ZIP
ras程序,可以查找到所有的ras连接并且关闭这些连接。(7KB)
36,internetshort.ZIP
演示如何添加URL快捷方式到收藏夹、开始菜单和桌面上。(4KB)
37,telnet.ZIP
一个只使用Winsock控件实现的Telnet程序(39KB)
38,cnetworkinfo.ZIP
一个在Windows NT/2000下的程序。这个程序可以获得当前登陆的网络用户名、工作站ID、IP地址等信息。(5KB)
39,nwhood.ZIP
一个可以显示网络邻居以及所有可共享目录的信息的程序。(14KB)
40,connect_to_net.ZIP
检测是否连接到Internet以及是通过何种方式(Modem,LAN,Proxy)连接到Internet的。(3KB)
41,urlincache.ZIP
一个检测一个URL是否在Cache中的程序。(3KB)
42,nettools.ZIP
十分Cool的程序,一个网络工具箱,可以实现包括主机察看、网络测速、Ping、段口扫描、路由跟踪等功能。不可不看。推荐下载。(71KB)
43,webserver.ZIP
一个利用VB实现的Web Server程序。(85KB)
44,hotmail_check.ZIP
一个可以检查HotMail邮件的程序,你可以使用改程序检查你的Hotmail账户是否有邮件而不用登陆到www.hotmail.com上了。使用HotMail的朋友一定要下载。(56KB)
45,simplyhack.ZIP
一个远程控制软件,利用TCP/IP可以控制远端机器运行程序,监视远端机器的运行状况。(不过据斑竹分析来看,这个程序有一点象Hacker程序,另外改程序使用的好像是德语,如果是英文就好了)值得下载。(119KB)
46,http_download.ZIP
类似GoZilla或者GetRight那样的Http下载程序。但是有网友说无法实现下载,感兴趣的朋友可以下载看一下。(80KB)
47,inetdial.ZIP
利用Wininet实现建立Internet拨号连接和断开连接(2KB)
48,getallserveronnet.ZIP
相当不错和完整的程序。利用API获得当前网络中的所有计算机名称以及获得当前可用的服务器、SQL服务器、RAS服务器的名称、属性等。推荐下载。(21KB)
49,seeopen.ZIP
一个可以看现在计算机上有那些端口已经被打开的程序。利用了Windows提供的IPHelpApi.DLL提供的输出函数来实现端口监视功能。(34KB)
50,winsock_cool.ZIP
通过Winsock控件建立的客户、服务器文件传输程序。支持多用户连接到服务器;支持用户名、密码管理;支持定义共享目录。对于其中的一些错误,斑竹做了修正并增加了一些注释。绝对值得下载。(169KB)
51,browser.ZIP
使用ie4的dll, 实现forward, back, stop, home等功能 (6KB)
52,linkpars.ZIP
从html中分析提取链接(url) (5KB)
53,downshow.ZIP
利用 microsoft internet transfer control 下载文件,并显示 html rtf text 类型的文件。(3KB)
54,cgi.ZIP
安装windows web server后用vb写cgi scripts (14KB)
55,striptxt.ZIP
去掉html中的链接后写到文本文件中 (41KB)
56,winsock.ZIP
使用windsock进行网络编程的三个例子 (165KB)
57,vb5mail.ZIP
演示接收和发送邮件, 需要mapi controls, grid controls (15KB)
58,starturl.ZIP
实现web页面中链接的点击效果 (8KB)
59,downloadweb.ZIP
下载web页面并显示文件中的内容 (7KB)
60,weblink.ZIP
启动一个默认的页面链接 (2KB)
61,stocks.ZIP
从yahoo.com上下载股票的报价 (8KB)
62,netsaddr.ZIP
得到netscape navigator当前显示的页面链接(url) (3KB)
63,irc-code.ZIP
irc客户端程序 (80KB)
64,news.ZIP
阅读newsgroups的例子 (34KB)
65,udtchat.ZIP
chat程序例子 (12KB)
66,code_download_display.ZIP
下载web页面并显示html内容, 需要internet transfer control (9KB)
67,chatclnt.ZIP
chat客户端程序 (22KB)
68,chatserv.ZIP
chat服务器端程序 (25KB)
69,inter.ZIP
检测你是否连接上internet, 对windows 95/98有效 (2KB)
70,e-checker.ZIP
使用winsock控制检测是否有邮件, 邮件服务器必须支持pop3 (30KB)
71,webbrows.ZIP
一个使用ie动态库的详尽文档, 帮助你创建自己的web浏览器 (27KB)
72,see4vb21.ZIP
使用smtp/pop3库实现邮件程序的例子(107KB)
73,wsc4vb23.ZIP
实现通讯的例子 (128KB)
74,html2text.zip
超文本转换成纯文本(3KB)
75,popmail.zip
检查您的邮件(37KB)
76,dmvbtest.zip
完整的邮件发送邮件源代码,可发送附件(3KB)
77,hyperlinksl.zip
使用两行代码创建超链接(7KB)
78,emaillmapi.zip
使用 MAPI 控件发送邮件(7KB)
79,icqp.zip
从 VB 应用程序中发送 ICQ 信息(13KB)
80,getdomains.zip
获取局域网内所有的域和工作组(4KB)
81,getip.zip
获取本机及其名和Ip地址(使用Winsock控件)(2KB)
82,gifplayer.zip
播放Gif动画(使用WebBrowse控件)(28KB)
83,sendmessage.zip
在局域网内发送消息(2KB)
84,mapdrive.zip
映射网络驱动器(2KB)
85,getipaddress.zip
获取局域网内指定机器名的Ip地址(3KB)
86,speak.ZIP
网络聊天室(20KB)
87,readini.ZIP
INI范例(4KB)
88,zhongduan.ZIP
vb终端(13KB)
89,pic.ZIP
看图程序(38KB)
90,webliuyan.ZIP
web留言簿(40KB)
91,www.ZIP
Www浏览器(32KB)
92,email.ZIP
收发电子邮件(16KB)
93,search.ZIP
网络搜索(22KB)
94,zhuce.ZIP
远程注册程序(203KB)
95,mapdriver.zip
用VB影射网络驱动器、打开网络驱动器程序源(10KB)
96,i038_smtp.zip
用VB编写SMTP发信程序(14KB)
97,i037_source.zip
一个邮件检测程序(6KB)
98,i036_liuliang.zip
INTETNET 流量管理系统 (303KB)
99,i035_fee.zip
东莞的一位网友编写的一个网络计费,需要您对它进行完善(76KB)
100,i034_0048831.zip
用Winsock实现发信(3KB)
101,i033_zm039.zip
一个漂亮的浏览器(30KB)
102,i032_zm037.zip
完整的FTP程序,功能很强大哦(43KB)
103,i031_pingtest.zip
检测是否网络连接(2KB)
104,i030_zm036.zip
可以列出并删除Internet Cache中的文件(4KB)
105,i029_zm034.zip
即输入字符后会出现动态的输入提示(3KB)
106,i028_oledrag.zip
拖放超链接到自身的监视窗口中(1KB)
107,i027_zbsrc.zip
就是定时刷新,使计数器加1,我不知是否真的能刷新,如果能的话就发达了(212KB)
108,i026_HTMLViewerSample.zip
浏览器示例程序(22KB)
109,i025_chatserv.zip
一个利用TCP/IP实现Chat功能的程序(服务器端程序)(25KB)
110,i024_chatclnt.zip
一个利用TCP/IP实现Chat功能的程序(客户端程序)(22KB)
111,i023_Download.zip
如何实现文件下载?(2KB)
112,i021_browser.zip
使用IE4的DLL, 实现forward, back, stop, home等功能(6KB)
113,i020_downloadweb.zip
下载Web页面并显示文件中的内容(7KB)
114,i019_autodial.zip
电话拨号源程序(3KB)
115,i018_networ~1.zip
显示局域网的相关信息(6KB)
116,i017_e-checker.zip
使用Winsock控制检测是否有邮件, 邮件服务器必须支持POP3(30KB)
117,i016_map.zip
用API函数映射和断开网络驱动器(3KB)
118,i015_labellink.zip
label的超级链接(4KB)
119,i014_zm012.zip
用VB来实现代理服务器的源码(5KB)
120,i013_zm032.zip
AOL的在线聊天系统的客户端,Cool!(73KB)
121,i012.zip
如何在vb中调用i/o口的例子(10KB)
122,i011.zip
演示连接/断开network(3KB)
123,i010.zip
chat程序例子(12KB)
124,i009.zip
简单的邮件发送例子 (13KB)
125,i008.zip
启动一个默认的页面链接(2KB)
126,i007.zip
实现Web页面中链接的点击效果(8KB)
127,i006.zip
检测你是否连接上Internet, 对Windows 95/98有效(2KB)
128,i005.zip
实现通讯的例子(27KB)
129,i004.zip
一个类似WsFTP的FTP程序(63KB)
130,i003.zip
HTML与TEXT的转换(41KB)
131,i002.zip
一个简单的拨号程序(3KB)
132,i001.zip
一个完整的HTML编辑器,功能强大。强烈推荐!(308KB)
133,GuestBook.zip
留言簿(2KB)
134,vblibcgi.zip
CGI32 (10KB)
135,bpmail.zip
发送邮件(14KB)
136,links.zip
首页管理Perl(8KB)
137,vb-gb.zip
编写留言本(11KB)
138,zbsrc.zip
作弊器(212KB)
139,Dial.zip
拨号程序(2KB)
140,130.zip
用Winsock发送邮件,可发送附件(43KB)
141,194.zip
同步设置GMT标准时间(4KB)
142,116.zip
检查POP信箱中有无邮件(30KB)
143,115.zip
使用Winsock控件发送邮件(4KB)
144,114.zip
Ping一个IP地址(5KB)
145,58.zip
比较完整的浏览器源码(6KB)
146,131.zip
一个32位的FTP客户端程序(37KB)
147,143.zip
一个使用IE动态库的详尽文档, 帮助你创建自己的Web浏览器(27KB)
148,177.zip
检测你是否连接上Internet (2KB)
149,fakemailer.zip
又1个用Winsock控件发送Email的例子(22KB)
150,CInetStatus.zip
控制拨号连接的类,提供拨号,挂段,脱机工作等方法,检测连接状态 (8KB)
151,网络五子棋.zip
网络五子棋(24KB)
152,ChPass.zip
修改 Network 网的密码(15KB)
153,CheckDrives.zip
检测所有驱动器的类型(3KB)
154,CustEditXML.zip
一个 XML 的编辑器(16KB)
155,ieseek197575.zip
网吧监控软件(9KB)
156,run.zip
启动Windows程序自动运行(放入到注册表的Run)(2KB)
157,HappyRun.zip
一种让共享软件的时间过期的软件(49KB)
158,mapi_all_v.zip
用MAPI控件批量发送文件(10KB)
159,0046929.zip
用 Winsock 实现聊天的程序(3KB)
160,0048826.zip
用Winsock实现文件的下载(2KB)
161,0048831.zip
用Winsock实现发信(3KB)
162,004101102.zip
TreeView的基本操作(5KB)
163,00415944.zip
用MAPI发送邮件(4KB)

立即下载
zip文件
Utilities for Windows NT 源码

Utilities for Windows NT Besides my research work I am responsible for a couple of computers at the physics department of the University of Mainz which are running under Windows NT. Therefore I started developing some utilities which I think are missing in the core operating system. These programs will be free to use for everyone (which does not mean that I will not appreciate any donations if you like them, and if they save your time and money - this hint is directed mainly to users in a commercial environment). Disclaimer: These programs are provided "as is" and come without any warranty of any kind, either expressed or implied, including but not limited to fitness for a particular purpose or a particular system. In no case shall the author be liable for any damage or unwanted behavior of any computer hardware and/or software, including but not limited to data loss or time spent to recover your system. Do not test this program on your production machines without a backup you know you can restore! A new service: You can send an e-mail to ntutils@bibserver.physik.uni-mainz.de to automatically receive information about new versions of some or all of the listed utilities. NEWGINA How to run a script at logoff! How to run a script at system shutdown! How to get rid of CTRL-ALT-DEL prior to logging on! Very new and untested... try at your own risk! It is distributed under the GNU General Public License, and comes with source code and binaries for Intel x86. More information can be found in the README file. Download newgina_pre09.zip (approx. 64k). Important information (a little bug): The user logoff script does not execute if there is no log file set. Set the log file to NUL:. (An old version without the logoff/shutdown script option with binaries for DEC Alpha is still available.) CHOWN Demonstrates that it is possible to assign a new owner to a file, even if Microsoft asserts that this is impossible. Not the first implementation of such a program, but source is included, so you may understand how this works. There are no miracles. V1.1 changes more reliably the owner of files where the Administrator has no access to. It is distributed under the GNU General Public License, and comes with source code and binaries for Intel x86. Type 'chown' on the command line for a short instruction. More information can be found in the README file. Download Version 1.1 of chown.zip (approx. 35k). There is also a GUI frontend written by Suppi. Please contact him for any questions regarding this frontend. More information can be found in the README file. CLOSE Closes a window from the command line based on its title in the title bar by sending a WM_CLOSE message. This allows graceful shutdown of applications as opposed to KILL utilities (e.g. from the Resource Kit), which do not give the application some time to tidy up. It is distributed under the GNU General Public License, and comes with source code and binaries for Intel x86. Type 'close' on the command line for a short information. Usage should be self-explanatory. Download close.zip (approx. 20k). MOVEEX Replaces or moves files currently in use, e.g. system DLLs. This is nothing more than a command line interface to the MoveFileEx() API call with a flag that delays the move until the next reboot. More information can be found in the README file. Binary for x86 only, but source is included. Download moveex.zip (approx. 21k) PUSHKEYS for C This is a straightforward port of Christopher Latta's Pushkeys for Visual Basic to C. It is equivalent to the VB SendKeys statement (unfortunately missing in C), which allows to send keystrokes to open applications, including DOS application. Included is a short demo program, which may be useful on its own (type 'pushkeys' on the command line for usage instructions and a short example), as well as the original VB program which includes the help file (in the /orig directory). It should run under Windows 95 as well. Download pushkeyc.zip (approx. 35k). LOGOFF A tool to log off users from their workstations remotely or unattended. This tool is in a very early (pre-beta) stage and will be part of a service that monitors the valid logon hours and logs of users whose logon hours have expired, but should already be useful as a standalone program. It is distributed under the GNU General Public License, and comes with source code and binaries for Intel x86, but without (much) documentation. Few information can be found in the README file. For more information contact me. Download logoff.zip V0.1 PRE-BETA (approx. 80k). NOLOCKWS Especially for large PC pools in universities or schools it is very annoying when users lock their NT workstations, leave, and forget to come back. Subsequent users have the choice of resetting the PC or calling an administrator who can unlock the workstation. While lots of Windows NT settings can be changed through the registry, disabling the Lock Workstation button in the Windows NT Security (Ctrl-Alt-Del) dialog seems to be forgotten. This program allows administrators to disable or re-enable the Lock Workstation button. Version 0.99 BETA can now handle Novell's IntraNetware Client, which uses its own Gina (with the same lack of configurability), and eases the use with international version of Windows NT. NOLOCKWS is distributed under the GNU General Public License, comes with source code and binaries for DEC Alpha and Intel x86. More information can be found in the README file. Download nolockws.zip V0.99 BETA (approx. 95k). PASSWD This utility allows changing passwords on the command line or from within a batch file (non-interactive) instead of the usual CTRL-ALT-DEL dialog. It is also possible to change the password on remote domains or machines. No special privileges are necessary to issue this command (in contrast to the 'net user' command, which allows password changing as well, but only for users with administrative privileges). Intended for: Users who come from other operating systems like Unix or VMS and think it is unnecessary to do everything with a GUI interface. Users who want to automate tasks like password changing in a batch file or want to force users to change passwords in their logon script. Allow password changing for users who (can) never physically log on to a computer with the CTRL-ALT-DEL dialog, but use this computer for a PPP connection or log on through a Telnet connection. Now with source code and distributed under the GNU General Public License Download passwd.zip (approx. 29k). More useful utilities written by others... I am working on more utilities, including a program that forces users to log off after the logon hours have expired (and not just disconnects network connections to a server). Watch out! (C) by Alexander Frink, July 1997 (back to my homepage).

立即下载
热门资源标签
Global site tag (gtag.js) - Google Analytics