The TPrintDialog component displays a standard Windows dialog box for sending jobs to a printer. Unfortunately, the TPrintDialog does not expose the Title property. By handing the OnShow event of a print dialog you can specify the text for the dialog’s tit...
You can launch application on windows by ShellExecute function. Following is the simple example to launch application.use ShellAPI;...ShellExecute(Handle, 'open', PChar('c: estapp.exe'), nil, nil, SW_SHOW);In case of running DOS command application such as...
When you navigate internet shopping mail, you can easily see the photo viewer to see the magnified big picture for the sales product. Following example is showing the photo thumbnail without additional pages on server.Actually there is no additional server...
I have properly configured ICS with two NICs on one of my Windows XP machines (chii.usr.local), and the interfaces look like so:Ethernet adapter 3Com:Ethernet adapter Marvell: Three other computers on the network exist:All three machines are configure...
Notes: If you want to run this sample,you should copy the Ip address to driver c:. Using the codePart 1.using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows....
"If I use the Windows Explorer to copy a file, how can I use the paste function in my application?" This code retrieves the filenames from the clipboard to a memo component. Drop a memo and a button on a form and set the OnClick of a button to: uses ...
When Windows is about to shut down, it sends a WM_QueryEndSession to all open applications. To detect (and prevent shutdown) , we must define a message handler to this message. Put this definition on the private section of the main form:procedure WMQueryEn...