Thanks for uploading
100 examples of effective programming in Delphi
==================
Operating system program release program control disk file multimedia control interface operation interface appearance time control mouse and keyboard database mathematical algorithm network and communication
operating system
========
Example 43 Modify the computer name Example 44 Write a screen saver Example 45 Set wallpaper and screensaver Example 46 Dynamically adjust the screen resolution Example 47 Obtain system hardware information Example 48 Edit registry information Example 49 Lock the computer Example 50 Restart and shut down the computer Example 51 Get WINDOWS version number and running mode example 52 Enumerate available fonts example 53 Get printer information example 54 Get printer queue status information example 55 Print text and images example 56 Get print margins example 57 Use API to print directly example 58 Change the default printer
Program control
========
Example 59 System tray program Example 60 Hide the taskbar Example 61 Always keep the window at the front Example 62 Enumerate the running programs of the system Example 63 Check whether the IE browser is running Example 64 Call the WINDOWS program Example 65 Prohibit the running of multiple instances of the program Example 66 Modification System menu example 67 Disable the buttons in the upper right corner of the form 68 Multi-threaded application example 69 Use the clipboard to copy pictures example 70 Use memory mapping to implement data exchange example 71 Obtain the information of the drop-down bar
disk file
========
Example 72 Get the serial number of the operating system Example 73 Get the drive capacity Example 74 Check the drive type Example 75 Recursively traverse the disk directory Example 76 Get the file attributes Example 77 Delete the file to the recycle bin Example 78 Empty the recycle bin Example 79 Start the control panel Content example 80 Create and delete folder example 81 Read and write INI file example 82 Eject and close the optical drive example 83 Change the file extension
multimedia control
==========
Example 29 Detect whether the sound card exists Example 30 Video player example 31 CD player example 32 Transform image example 33 OPENGL programming example 34 REALPLAYER audio player
Interface operation
========
Example 08 Palette program example 09 Color drop-down box example 10 Form background color gradient effect example 11 Dynamic dialog box example 12 Form split example 13 Zoom control example 14 Animation button example 15 Dynamically reduced graphics example 16 Zoom in image example 17 Browse Large picture example 18 Screen capture example 19 Resource manager example 20 Smart search for content in the list box example 21 Text editor with dynamic prompts example 22 Modify the cursor and program icon example 23 Continuously respond to mouse clicks example 24 Always stay on top Example of the form 25 Example of limiting the mouse position 26 Example of the title bar button 27 Example of dragging the selected object in the list box 28 Creating a multi-document form
time control
========
Example 35 Text appears one by one, imitating typing Example 36 Implementation example of simple animation 37 Embedded electronic clock example 38 Acquisition and control of time information in calendar form 39 Millisecond-level control example 40 Reading and writing system time Example 41 Synchronizing network time ( obtained from the time server)
Example 42 Perform multitasking through multiple TIMER controls
Mouse and keyboard
==========
Example 118 Code control cursor Example 119 Simulate single and double click of mouse Example 120 Simulate keyboard input example 121 Limit mouse area example 122 Intercept mouse move event example 123 Intercept keyboard information example 124 Determine whether PRINTSCREEN key is pressed Example 125 Mouse that appears and disappears Example 126 Mouse dragging a window without title bar
database
======
Example 84 Processing the display and input of date fields in the database Example 85 Accessing image fields Example 86 Enumerating self-built tables in the ACCESS database Example 87 Using wildcards in SQL statements Example 88 DELPHI data set filtering skills Example 89 Accessing WORD in the database Document examples 90 Add, delete and modify data source instances in the program through the registry 91 SQL statement nesting examples 92 Dynamically create database object instances 93 Code control to connect to ODBC
Example 95 Quick report and report preview Example 96 Dynamically changing the color of the DBGRID component Example 97 Converting lowercase amounts to uppercase amounts
mathematical algorithm
========
Example 114 Hexadecimal conversion example 115 Random number selection example 116 Multi-point curve smooth fitting example 117 Statistics of the number of Chinese and English characters
Network and Communications
==========
Example 100 Determine whether the URL exists Example 101 Monitor computers in the local area network Example 102 PING test example 103 Set up a proxy server example 104 Customize the web browser example 105 Modify the home page and title of IE Example 106 Send and send emails Example 107 FTP upload and download example 108 Network Chat: WINSOCK-TCP
Example 109 Broadcast information: WINSOCK-UDP
Example 110 Telephone line for remote communication Example 111 Serial port collection of peripheral data Example 112 Using API to achieve serial communication Example 113 Testing network speed Example 98 Obtaining the network card address Example 99 Obtaining the host name and IP address
Expand