How to write the macro codes in Visual studio 2008 (using c++ or c#), instead of using Visual Basic?