Tuesday, December 16, 2008

InfoPath Adding Image to Button ImageButton

This KB article describes, in effect, how to create an ImageButton in InfoPath. 

Monday, December 15, 2008

Sort StringCollection ArrayList

This is the call you need to make to sort a StringCollection.

ArrayList.Adapter(myStringList).Sort();

Friday, December 12, 2008

Internship Available

I stumbled across this internship opportunity at Van Andel Institute for a .NET Developer. It sounds like they want a sophomore student at one of Grand Rapid's colleges or university to work on a bunch of .NET apps. Heavy on SQL Server apparently and some reporting. Maybe they are doing SQL Server Reporting Services in house. Anyway, if you are student and looking for an internship next semester you should apply.

Thursday, December 11, 2008

Coding4Fun Book Code Downloads


http://www.c4fbook.com/default.aspx

All the downloads and source code that you've seen and heard about at TechEd 2008 and PDC 2008 are now available for the coding4fun series and the book. 

http://www.c4fbook.com/media/

I am going to enjoy InnerTube. Get the downloads while you can.

SharePoint Picture Library Item Url


Very nice article and code snippet on how to get the url of the full image and of the thumbnail. 

Monday, December 8, 2008

Programmatically set border width of Excel cell

This MSDN article briefly explains how to do this: http://msdn.microsoft.com/en-us/library/bb209714.aspx

and here is an example that I am using in my code. It just sets the left border weight to thick for the cell located at 1,2. 

range = (Microsoft.Office.Interop.Excel.Range)wsheet.Cells[1, 2];
                                range.Borders[Microsoft.Office.Interop.Excel.XlBordersIndex.xlEdgeLeft].Weight = Microsoft.Office.Interop.Excel.XlBorderWeight.xlThick;