I need to enable/disable ClearType (or "Adjust the appearance and performance of Windows > Smooth edges of screen fonts") via cmd
(or any script like VBS/JS) or from the registry without logging out or restarting Windows.
Maybe it's possible to enable ClearType only for one application.
Look at the stuff described in the following link:
http://www.vbforums.com/showthread.php?t=491091
Calling the API might trigger the system-wide update so you do not have to logoff/logon to see the change.
Of course, this is not limited to vb.net.