The establishment of service under Winnt

A very important difference between Windows NT and Windows 9x is that Windows NT offers a number of powerful service (services). These service can be started with NT start, also can let the user start through the Control Panel, also can be WIN32

How to close all other applications except your own program

To get the currently activated process: 1: Include header file Tlhelp32.h 2:.cpp is as follows: Listview2->items->clear ();Tlistitem *mitem;Ansistring Exefile;Pointer pt,pt2;unsigned int s;DWORD Size,size2;HANDLE snapshot;PROCESSENTRY32

Set Wallpaper method

Through the IActiveDesktop interface to achieve Like setting up wallpaper, you can do this IActiveDesktop *a;CoInitialize(NULL);if(SUCCEEDED(CoCreateInstance(Shlobj::CLSID_ActiveDesktop,NULL,CLSCTX_INPROC_SERVER,IID_IActiveDesktop,(void **)&a)))  {

Complete hiding of the implementation process under Winnt and Win2K

In the face of many computer experts, consider for a long time, finally decided to come out shortcoming, the article as far as possible use the most concise and understandable words and examples to introduce, hoping to some beginners and advanced to

The principle and realization of the technique of mouse screen word-taking

"Mouse screen word" technology is widely used in the electronic dictionary, such as the four-way and Kingsoft and other software, this technology seems simple, in fact, the implementation of the Windows system is very complex, in general there are

Application of the task strip state area

The WINDOWS95 task bar (taskbar) has a status area that displays information such as the current input method (Chinese version), current time, etc., and displays the Print Manager icon when the Print Manager is started, indicating that the printer

How to monitor the Clipboard

In the private of Form1. H Plus: void __fastcall clipboardchanged (tmessage& Msg); In Form1 's. h's public plus: Begin_message_map Message_handler (wm_drawclipboard,tmessage,clipboardchanged) End_message_map (Tform) In Form1. cpp, add: void __

WindowsNT under the service programming

----This example Zhongyuan program using Delphi system, the old demon will be converted to CB version. : D ----Windowsntserver offers a wide range of powerful services (service), such as ftp,www or Telnet service, and other common database servers

Tform Common Skills

One, let the window always at the front The Formstyle property of the Form is set to the Fsstayontop value. Second, the dynamic Call forms form By default, forms generated by the File/new form that are added to the project file have the attribute

The process of making Dreamweaver style

----people who have used Dreamweaver will find dreamweaver each edited file is displayed on the taskbar, and the user closes any window without affecting other windows, as if there is no association between each window, no main window. But we can

Reading content from ListView in other applications

//---------------------------------------------------------------------------void Mygetlistviewitem (HWND hwindow,tstrings *strlist){Const nmaxlen=1023;Char szbuf[nmaxlen+1];int nlvitemcount;DWORD Dwprocessid;HANDLE hprocess;Lvitem lvitemlocal;DWORD

Change the contents of the Public dialog box

In fact, the BCB Open dialog box is the standard dialog form that is invoked by Windows, so we can make some changes with the WINAPI function. We add the following code to the OnShow event void __fastcall TForm1::OpenDialog1Show(TObject

How to get the version number of the program itself

String __fastcall TForm1::GetFileVersion(String FileName){int iVerInfoSize;char *pBuf;AnsiString asVer="";VS_FIXEDFILEINFO *pVsInfo;unsigned int iFileInfoSize = sizeof( VS_FIXEDFILEINFO );iVerInfoSize = GetFileVersionInfoSize(FileName.c_str(), NULL);

Uncover the dirty secrets of NTFS

Under NTFS, a special concept is supported, that is, ' flow '. What's the flow? First look at the definition of ' flow ': Stream A sequence of bits, bytes, or other small structurally uniform units. Bit sequences, or small unified structural

Use CB to save information in Win.ini

ini

Now many software in the program to save the data needed in the registry, so that when the user installed more and more software, resulting in a larger registry, easy to make system errors. Of course, Microsoft also proposed to save the data in the

How to implement a large Icon style Open dialog box

By default, the file list style of the Open dialog box is a list style, and to implement an open zoom box is automatically a large icon style, you need to find the handle to the File list control (SYSLISTVIEW32) before you open the dialog box, and

How to automatically remove the icon for system tray failure

Some window applications will add a small icon to the system tray after startup, usually when the program exits normally, but sometimes the application is illegally closed, and the icon stays in the tray area until the mouse moves the icon. To

EJB 2.0 Stateful Sessionbean

Environment: JBoss 4.0.2 JDK1.5 IDEA8.1.4 First, EJB development Package lavasoft.testejb20yzt;Import Javax.ejb.SessionBean;Import Javax.ejb.SessionContext;/*** Bean class* All specific business logic is in this class, this class does not throw

Select/doubleselect label data display in Struts 2

Recently do graduation design used to Struts2 tag library, encountered some more complex data display, the individual or more like to use tag display, Struts2 tags content is rich, but the documentation provided is not very detailed (personally

Problems of using @resource annotation in spring engineering in MyEclipse

In MyEclipse Spring Engineering, you sometimes use @resource annotations to drive the spring configuration. However, in the MyEclipse add spring development capabilities, the associated library was not added to the project's classpath, so using the

Total Pages: 64722 1 .... 44583 44584 44585 44586 44587 .... 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.