25 May

How to detect application associated with file

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

27 Mar

Application version

Using this simple function, you will be able to read version information from any application executable. It’s very useful for example to show your own application version on title bar or “About” dialog.

22 Aug

Just one instance of application

If want to allow users to run just one instance of application, one of possible methods is to use “mutext” (mutual exclusion).

18 Aug

Animate application icon (on taskbar and apllication window)

This trick is pretty simple. You just need few icons (at least two) for animation and Timer component. The rest is easy…

16 Jun

Create autorun registry key (run application with Windows start)

To run your application automatically after Windows starts, you just need to create an entry in autorun registry key. Here is how…

16 Jun

Set priority level of running application (process)

Using SetPriorityClass function, you can set priority level of your running application. Same functionality is in the Task Manager (just rightclick the process in the list and select priority level).

16 Jun

Flash application button on taskbar

If your application is minimized and you still want to alert user, you should flash icon on taksbar instead of bring your application to front. Here is how to do it…