DevPinoy.org
A Filipino Developers Community
Sign in
|
Join
|
Help
Blogs
Media
Forums
DevCast
Keith Rull
»
All Tags
»
C#
(
RSS
)
Browse by Tags
Keith Rull
Home
About
Contact
Syndication
RSS for Posts
Atom
RSS for Comments
Email Notifications
Go
Recent Posts
How To: Blocking\Restricting certain file types from being saved to a directory using FileSystemWatcher
How To: Capitalize the first letter of every word in a string
How To: Search a directory for files using multiple search patterns
How To: Create Zip Files In C# with SharpZipLib (#ZipLib)
How To: What is Anonymous Types in C#
Tags
.NET
.NET How To's
ASP.NET
Blog News Node
C#
Contest
Events
Filipino Developer
Filipino Podcast
Filipino Programmer
Fun Stuff
Geek Fun
Generics
GridView
How To
Java
My .Net Exploits
Pinoy
Pinoy Podcast
Pinoy Programmer
Silverlight
Site News
SQL
Tutorial
Your Career
View more
News
Badges
Archives
February 2011 (1)
January 2011 (1)
July 2010 (1)
June 2010 (3)
May 2010 (4)
April 2010 (1)
March 2010 (1)
January 2010 (1)
March 2009 (4)
February 2009 (2)
January 2009 (3)
November 2008 (1)
October 2008 (4)
September 2008 (8)
August 2008 (4)
July 2008 (2)
June 2008 (8)
April 2008 (4)
March 2008 (8)
February 2008 (8)
January 2008 (9)
December 2007 (9)
November 2007 (23)
October 2007 (3)
September 2007 (5)
August 2007 (5)
July 2007 (1)
June 2007 (3)
May 2007 (11)
April 2007 (1)
March 2007 (9)
February 2007 (8)
January 2007 (2)
December 2006 (2)
November 2006 (1)
October 2006 (8)
September 2006 (9)
August 2006 (5)
July 2006 (1)
June 2006 (10)
May 2006 (10)
April 2006 (11)
March 2006 (9)
February 2006 (20)
January 2006 (17)
December 2005 (7)
November 2005 (1)
October 2005 (4)
September 2005 (4)
August 2005 (4)
July 2005 (4)
June 2005 (4)
March 2005 (3)
#ZipLib
.NET
.NET 3.x
.NET How To's
ADO.NET
Anonymous Delegates
Anonymous Types
ASP.NET
ASP.NET Sample Application
C# 1.x
C# 2.0
C# 3.0
C# 3.x
C# Language Specification
CultureInfo
DateTime
DateTime.Parse
DayOfWeek
Demo
DevCast
Directory
DirectoryInfo
Extension Methods
File Manipulation
File Streaming
FileSystem
FileSystem Browser
FileSystem Manager
FileSystemInfo
FileSystemWatcher
Fonts
Geek Fun
Generating Random Strings
Generics
GetFiles()
Globalization
How To
IComparer
Lamda
Learn
LINQ
List<T>
List.ForEach
Localization
MD5
Merging Word Documents
Microsoft Office Interop
NetServerEnum
new feature
PInvoke
Random
Random Strings
Sample
Search
Shapeshifter
SharpZipLib
SQL Server
SqlDataSourceEnumerator
StreamReader
String Tricks
System.Random
TextInfo
Tips
Tips and Tricks
Tricks
Tutorial
UDL
var
VB.NET
Visualize
Zip
How To: Blocking\Restricting certain file types from being saved to a directory using FileSystemWatcher
A user a devpinoy.org posted a question on the forum section asking if there's a way to restrict files from being saved in a directory. I know you can do this via the FileSystemWatcher class so I quickly whipped my Visual Studio 2008 IDE and started...
Published
02-25-2009 12:38 PM
by
keithrull
Filed under:
C#
,
File Manipulation
,
FileSystemWatcher
How To: Capitalize the first letter of every word in a string
Ever thought of how to capitalize the first letter of every word in a string? Here's how: [C#] using System; using System.Globalization; namespace KeithRull.CapitalizingLetters { internal class Program { static void Main( string [] args) { string...
Published
08-19-2008 10:59 AM
by
keithrull
Filed under:
C#
,
Tutorial
,
VB.NET
,
TextInfo
,
Tips and Tricks
,
CultureInfo
,
Globalization
,
Localization
How To: Search a directory for files using multiple search patterns
I was browsing at DevPinoy.org today when I saw this interesting post by n@rds about searching for files in a directory using multiple search patterns and it made me realize that there are alot of ways you can accomplish this task. Here are some examples...
Published
02-01-2008 5:00 PM
by
keithrull
Filed under:
C#
,
List<T>
,
var
,
LINQ
,
C# 3.x
,
Directory
,
GetFiles()
,
List.ForEach
,
Search
How To: Create Zip Files In C# with SharpZipLib (#ZipLib)
I encountered a problem today with one of my projects. The problem was about a third-party application choking when it encounters files greater than 20MB. I have a Windows Service that creates PDFs of KPIs for around 150 users and each of the file that...
Published
01-25-2008 2:01 PM
by
keithrull
Filed under:
C#
,
Zip
,
SharpZipLib
,
#ZipLib
How To: What is Anonymous Types in C#
Yesterday I wrote an article explaning what var means in .NET 3.x . Today lets talk about Anonymous Types. Anonymous Types as describe by the C# 3.0 specification are tuple types automatically inferred and created from object initializers. Anonymous Types...
Published
01-23-2008 2:04 PM
by
keithrull
Filed under:
How To
,
C#
,
Tutorial
,
Demo
,
Learn
,
Anonymous Types
,
Visualize
How To: What does "var" exactly mean in C#?
More than a year ago when I was reading about C# 3.0 and all the goodness attached to it I saw this new keyword called "var". At first, I thought it was something similar to what Variant means in VB6 or something like the Object type in .NET...
Published
01-22-2008 4:20 PM
by
keithrull
Filed under:
C#
,
var
,
new feature
,
Shapeshifter
How To: Use Extension Methods In .NET
One of the cool feature ( if used correctly ) added to .NET 3.x is Extension Methods which enables you to extend an specific type by adding your own methods to it. It's useful in cases where you want to extend a library that you dont have access to...
Published
01-04-2008 3:47 PM
by
keithrull
Filed under:
C#
,
Tutorial
,
MD5
,
.NET 3.x
,
Extension Methods
List SQL Servers using SqlDataSourceEnumerator
I wrote an article a few years ago using SQL SMO and just realized today that I can also list SQL Severs without importing an additional assembly to my project ( Microsoft.SqlServer.Management.Smo ) by using the SqlDataSourceEnumerator class . SqlDataSourceEnumerator...
Published
12-11-2007 11:31 AM
by
keithrull
Filed under:
C#
,
PInvoke
,
SqlDataSourceEnumerator
,
NetServerEnum
,
SQL Server
Generating random strings in C# and VB.NET revisited
Somebody sent me an email today asking me about an article I wrote a few years ago detailing how to generate random strings and numbers in C# and VB.NET . He asked me if I could add function to the code that creates a random character set to be used as...
Published
11-28-2007 10:01 AM
by
keithrull
Filed under:
C#
,
.NET
,
VB.NET
,
System.Random
,
Random Strings
,
Generating Random Strings
,
Random
,
String Tricks
My ASP.NET FileSystem Browser Revisited
More than 2 years ago I wrote this article and submitted it in CodeProject detailing how you can build a FileSystem Browser in ASP.NET. The article talks about how newbie ASP developers moving to ASP.NET might code the solution and how somebody a little...
Published
11-16-2007 3:54 PM
by
keithrull
Filed under:
ASP.NET
,
C#
,
StreamReader
,
FileSystem
,
File Streaming
,
FileSystem Browser
,
ASP.NET Sample Application
,
DirectoryInfo
,
FileSystemInfo
,
FileSystem Manager
C# 3.0 Language Specification
New to C#? Need to know whats on C# 3.0? Then download this 500 page book coutersy of Microsoft. It's the most complete C# reference you can find and it is primarily written by the engineers of the C# language Go download it here ! Thank you Charlie...
Published
09-07-2007 9:48 AM
by
keithrull
Filed under:
C#
,
C# Language Specification
,
C# 2.0
,
C# 3.0
,
C# 1.x
How To: Get all Mondays in a given year in C#
I was working on small project today and one of the requirements is to list down all the Mondays in a year and populate a dropdownlist with the values. It's a funny requirement but still needs to be done since the client wants it that way(Oh well...
Published
08-27-2007 3:35 PM
by
keithrull
Filed under:
Generics
,
C#
,
DayOfWeek
,
DateTime
,
DateTime.Parse
[Updated] How To: Merge Multiple Microsoft Word Documents
"Combine. Merge. Join. Append. Concatenate. Microsoft Word Documents." A few weeks ago I wrote an article about merging word documents in C# and got great response about the article. One of the readers, Abhi, had an interesting problem. The...
Published
06-09-2007 10:13 AM
by
keithrull
Filed under:
ASP.NET
,
C#
,
Microsoft Office Interop
,
VB.NET
,
Merging Word Documents
,
Tips
,
Tricks
Find items inside a Generic List using the old approach, the cool approach and the super duper cool approach.
A few days ago we helped Rolvin sort the list of girls he wants to date .. this time we'll help him find the girls with a cuteness factor that matches his criteria. =) *To have a clearer understanding about this demo please look at my first article about...
Published
03-26-2007 4:42 PM
by
keithrull
Filed under:
Generics
,
C#
,
Anonymous Delegates
,
List<T>
,
Lamda
DevCast : ADO.NET Part 1
This is the first part our series about ADO.NET which is part of our Back To The Basic Series which is a series designed to teach beginners about the benefits of ADO.NET and to show how easy it is to use the ADO.NET in a short 10 to 15 minute video using...
Published
02-27-2007 10:14 PM
by
keithrull
Filed under:
ASP.NET
,
C#
,
Tutorial
,
Sample
,
UDL
,
Demo
,
ADO.NET
,
DevCast
1
2
Next >
Copyright DevPinoy 2005-2008