Changing screen resolution using Delphi 2.0

The subject says it all. How to change the resolution of the screen
using Delphi 2.0. I want to switch between 800x600 and 1024x768 mode and
I really would like to do that myself.

Martijn