Welcome to the Revit API!
When programming in Revit, you implement either an embedded macro or an add-in DLL.
Both of these are built using .NET and any language you choose.
Please check out the getting started materials for more info on the basics, and tutorials:
http://thebuildingcoder.typepad.com/blog/about-the-author.html#2
Within your .NET add-in, you can set up the configuration in any way you please.
However, obviously, Revit is not going to do this for you, and I hardly expect that fiddling with the Revit configuration is going to affect this in any way.
At least not in the way you would like.
Cheers,
Jeremy