Posted in .NET on June 29th, 2007 No Comments »
This sample shows how to get the last day of the current week. It easily could be reconfigured to get any day of the week of any date.
DateTime dtWET = DateTime.Today;
//get the last day of the week. If you need another day change the 6 to a number between 0 and 6. Please note that […]
Share and Enjoy:
These icons link to social bookmarking sites where readers can share and discover new web pages.
Posted in ASP.NET, .NET on March 12th, 2007 7 Comments »
Creating thumbnails with .NET is really simple task. You have to call only one method Image.GetThumbnailImage(). The problem is that the quality of the created image is really poor. So I’ve started googling around and the result is this GenerateImageThumbnail() function:
public static void GenerateImageThumbnail(Stream streamImage, string sThumbnailImagePath, int nMaxWidth, int nMaxHeight) { Image oImage […]
Share and Enjoy:
These icons link to social bookmarking sites where readers can share and discover new web pages.
Posted in ASP.NET, Visual Studio, .NET on October 22nd, 2006 No Comments »
The next version of Visual Studio has the code name "Orcas". The Community Technology Preview (CTP) is already available for download.
These are some of the new features included in the CTP:
Improvements on the widely acclaimed Visual Studio 2005 product set
Significant investments in improving product quality
LINQ to Objects API
LINQ to Objects […]
Share and Enjoy:
These icons link to social bookmarking sites where readers can share and discover new web pages.