Delphi supports Vista's UAC mechanism

Vista provides a UAC mechanism that is one of the new features of Vista. Its primary purpose is to prevent malicious modifications to the operating system itself. If you want to make changes to Vista's system settings, you must pass the validation

Delphi Read Disk Information

1. Read the hard drive serial number function GetDiskSerial(DiskChar: Char): string; var SerialNum : pdword; a, b : dword; Buffer : array [0..255] of char; begin result := ""; if GetVolumeInformation(PChar(diskchar+":\"), Buffer, SizeOf(Buffer),

Considerations for sending streaming files in the Indy Communication of Delphi

There are several ways the client sends streaming to the server, and there are two kinds of discussions here: 1. After the client connects to the server, it sends a stream, and the server receives a stream. {*---------------------------------------

How to change your skin for your VC Setup program

Objective: Each commercial software can not be separated from the installation process, the installation of the production process is exquisite directly affect the customer's first impression of your software. For example, the installation process

VC Four kinds of Program start screen production method

Absrtact: This article provides four kinds of startup screen making methods. Use the splash screen one can reduce the waiting program load process of the boring feeling (especially some large programs), and can be used to display the software name

VC + + Interface Package solution (third edition) Introduction

Introduction "The wine is not afraid of the alley deep" is not under any circumstances are applicable! At least in this age! Similarly, a functional but not user-friendly interface software is not enough for use! Unique program appearance is

VC simulation to achieve the QQ interface (next)

Four, the line when the voice and message display when the characters beat I did not realize the character beat, do not know is to switch the picture, or change the location of the picture, so this feature awaits your guidance! V. Full-Motion

VC simulation to achieve the QQ interface (on)

When I used a computer, over the network of friends have used QQ, some of the interface of QQ may have been long, indeed, whether it is its vivid penguin image, or "drip" message sound, as well as "brush" menu functions, simple single message sent,

Let VC program use WINDOWXP desktop theme style

Introduced Describes how to make a common program to support Windows XP desktop theme style. Recently wrote a number of simple small applications, but running on my own XP system feel very soil, because the interface is WIN95 style, feel out of

Delphi time and related types (2)

//相关函数: SysUtils.DateTimeToTimeStamp(); SysUtils.TimeStampToDateTime(); SysUtils.TimeStampToMSecs(); SysUtils.MSecsToTimeStamp(); Windows.GetTickCount; Windows.GetCurrentTime; {GetCurrentTime 和 GetTickCount 一样, 是调用了 GetTickCount.} Tdate, Ttime

Delphi time and related types (1)

//相关函数: SysUtils.FloatToDateTime(); SysUtils.TryFloatToDateTime(); The System unit definition has: Tdatetime = Type Double; It seems that Tdatetime is a 8-byte 64-bit data, but a Double alias. {测试: TDateTime 就是一个 Double} var  t: TDateTime;

Functions used to establish shortcuts in Delphi: CreateShortcut

Unit Unit1; Interface UsesWindows, Messages, sysutils, variants, Classes, Graphics, Controls, Forms,Dialogs, Stdctrls; TypeTForm1 = Class (Tform)Button1:tbutton;Button2:tbutton;Button3:tbutton;Button4:tbutton;Procedure Button1Click

Extracting Time components from Delphi

Dateof, timeof, Yearof, Monthof, Weekof, dayof, Hourof, minuteof, Secondof, millisecondof functions for extracting time components Their parameters are all a tdatetime, Dateof and timeof respectively extract the date and time, and return the

The center, stretch and tile of the picture in Delphi

Problem Source: http://www.cnblogs.com/del/archive/2008/11/04/1326105.html#1533947 This example effect chart: Code files: Unit Unit1; Interface UsesWindows, Messages, sysutils, variants, Classes, Graphics, Controls, Forms,Dialogs, Stdctrls;

The selection state of a 8 check box with a byte number in Delphi

This example effect chart: Code files: Unit Unit1; Interface UsesWindows, Messages, sysutils, variants, Classes, Graphics, Controls, Forms,Dialogs, Stdctrls, Checklst; TypeTForm1 = Class

The record array in Delphi is saved to the file and imported from the file

TypeTrecord = RecordNAME:STRING[10];ADDRESS:STRING[50];End;Trecordfile = File of Trecord;VarForm1:tform1;Arecordfile:trecordfile;arecordfilename:string = ' C:\PersonS.dat ';implementation{$R *.DFM}Function Recordssavetofile (afilename:string;

Implementation of shutters in Delphi effect

The so-called shutter effect is to divide the canvas into several areas, each region in a gradual manner at the same time copy graphics, Like a flip shutter. Here is an example of a process that shows a special effect: first, create a new project,

How to obtain the number of colors supported by the system in Delphi

In your own software, you often need to know the number of colors supported by the system running the software. For example, some software in the 16Bits color number of the computer developed, the program color debugging is very beautiful, but to a

The skill of object lifting in Delphi

In Delphi program design, we need to remove all the objects created to avoid memory leaks. However, if you are not careful in the program, it is easy to remove the same object multiple times, which can cause very serious errors, the application

How to embed another form in a form in Delphi

Form1 uses unit2; procedure TForm1.FormCreate(Sender: TObject); begin    form2 := TForm2.Create(Panel,self);    form2.BorderStyle := bsNone;    form2.WindowState := wsMaximized;    form2.Parent := Panel;    form2.Show; end; Form2 uses Unit1;

Total Pages: 64722 1 .... 44465 44466 44467 44468 44469 .... 64722 Go to: GO

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

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

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