-
Recent Posts
Search Terms
Category Archives: Delphi Tutorial
How to get BDE alias info
With the following function we can use the GetAliasParams method of TSession to get the directory mapping for an alias. Incoming search terms:delphi bde tutorialget directory from bde aliashow to get bde alias dirtutorial strAlloc delphi
Posted in Database
Leave a comment
Replace Text
A text replace function for strings. Incoming search terms:delphi replacereplacetext delphidelphi replace textdelphi replacetextdelphi text replacedelphi string replacereplace txt delphireplace word delphireplacetext delphi samplereplasetext delphi
Posted in Strings
Leave a comment
How to make a desktop screenshot?
function GetDesktopScreenShot:TBitmap; var Desktop:HDC; begin Result:= TBitmap.Create; Desktop:= GetDC(0); try try Result.PixelFormat := pf32bit; Result.Width := Screen.Width; Result.Height := Screen.Height; BitBlt(Result.Canvas.Handle,0,0, Result.Width, Result.Height, Desktop,0,0,SRCCOPY); Result.Modified := True; finally ReleaseDC(0,Desktop); end; except Result.Free; Result:=nil; end; end; procedure TForm1.Button1Click(Sender: TObject); begin Image1.Picture.Bitmap … Continue reading
Posted in Forms
Leave a comment
Borland Database Engine (BDE) Error List
Here Borland Database Engine (BDE) error list: Incoming search terms:an error occurred while attempting to initialize the borland database enginebde error 8453An error occurred while attempting to initialize the Borland Database Engine (error $2104)an error occurred while attempting to initialize … Continue reading