Microsoft Gold Certified Partner

Archive for July, 2009

Rolling back other people’s TFS 2008 check-ins

Thursday, July 30th, 2009

One of our developers has been unfortunate enough to have developed a hospitalising condition. A capable guy, he was at the hub of a lot of things. It also meant that he had a lot of stuff checked out when he was struck down. The project has moved on somewhat and we need to branch the code. Exceedingly messy if there are file changes pending. TFS2008 has a command line remedy to this.

tf undo [/workspace:NAMEOFWORKSPACE [;USERNAME]] $/LOCATION /s:http://YOURSERVER:8080 /recursive

I will leave it to you good people to substitute out all of the necessary values for the capitalised placeholders.

HTML to PDF easily

Thursday, July 23rd, 2009

I’ve been working on enhancements to our eCommerce framework and needed to produce a PDF version of an invoice. I already had the invoice as an HTML page, so the task was to convert this to PDF.

A company called WebSuperGoo had the solution and it couldn’t be simpler:

WebSupergoo.ABCpdf7.Doc invoiceDoc = new Doc();
invoiceDoc.AddImageUrl(URL);
invoiceDoc.Save(Server.MapPath(“invoice.pdf”));

Our new website

Thursday, July 2nd, 2009

Well, after several busy months of juggling resources we have finally launched our new FelineSoft website and new company blog… hope all of you like the new look & feel? Huge appreciation goes to the guys here that helped get it all up & running (Stefan, Dan & Tommy).

I’ll be adding company news as & when I can, but I’m hoping the team here will be posting their bits & pieces too, whether that be useful techie tips, a general rant or something they find entertaining.