DelphiTips

Menu

Skip to content
  • Home

Categories

  • Android
  • Files
  • Firemonkey
  • Forms
  • Graphic
  • Internet
  • LAN
  • Links
  • Linux
  • Math
  • Menus
  • RAD Studio
  • Registry
  • System
  • Tips
  • Uncategorized
  • VCL components
  • Windows

Category Archives: System

Run application only once per windows-session

June 7, 2009 by admin

Using this simple tip, you can block your application to be executable only once per windows sessions. To run application again, Windows must be restarted before. Continue reading →

Posted in System, Windows. Tagged atom, session, Windows.

How to detect clipboard change

January 14, 2009 by admin

Detecting clipboard change is very similar to detecting system time change. We will detect WM_DRAWCLIPBOARD system message. Continue reading →

Posted in System, Windows. Tagged change, clipboard, detect.

How to detect system time change

January 7, 2009 by admin

If the user changes the system time either with Date and Time properties dialog box or using command line, we can detect this by catching WM_TIMECHANGE system message. Here is how. Continue reading →

Posted in System, Windows. Tagged change, detect, message, time.

Get Process Memory Info

September 29, 2008 by admin

If you want to know how many bytes of memory is using your process, here is simple example. Continue reading →

Posted in System, Windows. Tagged memory, process, System.

Get a unique name for temporary file

May 27, 2008 by admin

Using GetTempFileName, we can create a unique name for temporary file. It’s useful when your application is using temporary files and you want to save them into default TEMP folder and use a “random” filename. Continue reading →

Posted in Files, System, Windows. Tagged file, name, TEMP, temporary, unique.

How to detect application associated with file

May 25, 2008 by admin

To get full path to application associated with any file type, we need standard ShellAPI unit and the rest will do the FindExecutable function. Continue reading →

Posted in Files, System, Windows. Tagged application, associated, file.

How to minimize application with modal window

May 7, 2008 by admin

When you minimize modal window, this window is “hidden” behind (or below) application main form. Using this simple trick, we can minimize also the main application window together with modal “child” window. Continue reading →

Posted in Forms, System, Windows. Tagged minimize, modal, window.

Detecting Windows boot-up state using GetSystemMetrics function

April 25, 2008 by admin

Using GetSystemMetrics function, we can detect how the system is started. Continue reading →

Posted in System, Windows. Tagged windows boot state.

Get user name of currently logged in user

April 24, 2008 by admin

This simple function will return name of currently logged in user. Continue reading →

Posted in System. Tagged user name logged in.

Delete file to Recycle Bin

April 11, 2008 by admin

This short tip will show you how to delete file to Recycle Bin. We need ShellAPI unit and the rest is very simple. Continue reading →

Posted in Files, System. Tagged delete file recycle bin flag.

Post navigation

← Older posts

Tweets

  • @RADtools April 19, 2016

    Get a complete overview of the latest release of @RADtools, Delphi and C ++ Builder in our free April 21 Webinar: embt.co/1pejUHQ

  • @SarinaDuPont April 19, 2016

    Check out my new post on the FireUI App Preview functionality in 10.1 Berlin #radberlin embt.co/FireUIAppPrevi… https://t.co/p8kq988v9C

  • @davidi99 April 19, 2016

    Delphi 10.1 Berlin released today- Danny Wind Embarcadero MVP, Delphi trainer/ontwikkelaar buff.ly/1S8Wgbi https://t.co/6NRYegvJfd

  • @RADtools October 22, 2015

    Sarina Dupont demonstrates the new Windows 10 VCL controls that are part of RAD Studio #10Seattle in this video: embt.co/1K1qm9p

  • @EmbarcaderoTech October 22, 2015

    CodeRage X Resources for C++ and Object Pascal Tracks. Source code, tutorials, and resources: embt.co/1LSjxae

  • @JimMcKeeth April 24, 2015

    If you missed any sessions from Delphi Week 2015, you can find all of the replays here: embt.co/DelphiWeek2015… #DelphiWeek

  • @DelphiInsider April 24, 2015

    EDN: What's New in RAD Studio XE8 Webinar - Encore Presentation: bit.ly/1Dp9h5L

  • @SarinaDuPont January 1, 2015

    Looking to create your own #FireMonkey styles? Check out my latest blog post on creating a custom style from scratch embt.co/1y8E3lH

  • @SarinaDuPont November 15, 2014

    Update 1 for #Delphi, #CBuilder and #RADStudio #XE7 was released yesterday & includes over 160 bug fixes. Details at: blogs.embarcadero.com/sarinadupont/2…

  • @RADtools November 7, 2014

    The new Beta for the iOS App Store Submission fix is now available here: embt.co/1u43qSc

© 2008-2018 DelphiTips | Proudly powered by WordPress | Theme: Sunspot by Automattic | RSS | α X