Code Library

Free Source Code and Program Tips

Retrieving a class and WMI class

Note: This a part from MSDN, just for self refference. The copyright is handled by Microsoft. The first type of object you can retrieve is a WMI class. When retrieving a WMI class, you actually retrieve a class definition: that is, a listing of the properties, qualifiers, and methods that fully describe the class. However, [...]

Nullsoft Scriptable Install System v2.22

NSIS (Nullsoft Scriptable Install System) is a professional open source system to create Windows installers. It is designed to be as small and flexible as possible and is therefore very suitable for internet distribution. Being a user’s first experience with your product, a stable and reliable installer is an important component of succesful software. With [...]

Question I have a text file with a lot of lines, and in each line, there are several columns divided by space character, but the number of columns in each line varies. For example, here is a sample ——————– abc 123 234 456 bsc 3 5 7 9 10 123 yyt 23 ——————– I want [...]

A great script language -Lua

Lua (http://www.lua.org), is a greate script language, which is simple and powerful. Compared with JavaScript or VBScript provided by Microsoft ScriptEngine, Lua is more simple. Ther is no need of COM or Automation knowledge to support Lua. It fits me well. Below is the description of Lua from lua.org. Lua is a powerful light-weight programming [...]