>Thanks for the reply Sergey. It works like a charm. I had to reboot first which I guess means you can't do this programmatically and then reset the settings. So does this mean I have to tweak the registry on every machine that runs my application and the settings have to stay that way?
If you decide to go this way than you'll have to edit registry on every PC. I think Cetin offered another solution in that thread that doesn't required registry modification.
--sb--