QuickReport, Win2000 and AccessViolation
Q: QuickReport (QR) brings AccessViolations on Win2000 if i try to print more or bigger pages or pages with graphics. What can i…
Save QReports pages as BMP
The following code example will save You report in the “one page per BMP file” manner. [code lang=”delphi”]procedure TForm5.Button4Click(Sender: TObject); var BMP: TBitMap;…
Using the default-printer-dialog for QuickReport
If you are using a standard Delphi printer setup dialog, the way to do it is: [code lang=”delphi”]If PrinterSetupDialog.Execute then begin Report.PrinterSettings.PrinterIndex :=…
Print direct to Port (without driver)
> Hi, > > I have a Serial Printer conected to COM1 but I don’t have the NT driver > for it (it…
Read Port
[code lang=”delphi”]function ReadPortB( wPort : Word ) : Byte; begin asm mov dx, wPort in al, dx mov result, al end; end; [/code]…
Write Port
[code lang=”delphi”]procedure WritePortB( wPort : Word; bValue : Byte ); begin asm mov dx, wPort mov al, bValue out dx, al end; end;…
Information On OpenTools API – Where?
> Can you tell me what the possibilities are from Open Tools API? > Or can you give me links to sample codes…
Check for valid URL
Parsing out a URL/Web Address/Email Address Getting a list of URLs from a common sentence, or a line of text: Written by: Nelson…
Get your internet IP address
//How to get your local IP (internet). //You will have to include Winsock.pas [code lang=”delphi”]function TForm1.LocalIP : string; type TaPInAddr = array [0..10]…
Getting the Local IP Address
> How can you get the IP address for the local computer? > Your help is appreciated… The following function will give you…