What a week !
Been working on 2 Radical projects in parallel, and also quickly threw a C# app(very small app) together and learning C# syntax in the process as well.
This week I quickly had to throw a small application that performs basic Office automation like “Mail Merging” and opening email clients and adding attachments.
The standard in the office is to use C#, and the only thing that I have experience with that comes close to that is Java.
First day was quite hard just getting to know how C# works and functions but after I found how easy it is to quickly include COM object etc. it was a breeze.
Begin used to PHP, which is VERY loose. C#(or Java for that matter) is very structured and you have to cast etc. variables to get the write output at the end of the day. After getting myself into the “structured” mode it was a breeze.
The first major hurdle was to write a application that will word with Microsoft Office 2000 – 2007, which is not possible(or that is according to my research and resources) with one COM include. The next best solution I found was using late binding, and this just looked like a too much of a problem as the time was limited, so I just created 3 apps, each one including the correct COM reference 😉 .
All n all I’m very impressed with C# and will definitely be playing around much more in the future.
Coming from basically open source background, I still need to get the dev guys to get Subversion running and not SourceSafe….:-(