Subscribe to Blog.Parse(typeof(PsychoCoder), Richard McCutchen);        RSS Feed
* * * * *

For Safety Sake - Parameterized Queries

Icon 2 Comments
In this series we're going to be looking at ways you can protect yourself & application data from malicious attacks from outside sources. This first entry we're be looking at parameterized queries to help protect against SQL Injection attacks. So many times I see people, especially new programmers, who are using code that interacts...
- - - - -

Parse an INI file with C# & P/Invoke

Icon 1 Comments
Today we're going to look at parsing an INI file with Win32 API's. Now I'm sure there are thousands of ways to accomplish this task, I just prefer to use P/Invoke, it's more straightforward for me and is less complicated (in my opinion). One thing to remember is when using a Win32 API you need to release the object as soon as...
* * * * -

Visual Studio 2010 & C# 4.0 Released to the world

Icon 2 Comments
Well as all you .Net developers out there know C# 4.0 Well .Net 4.0) and Visual Studio 2010 were released to the public today (took them long enough I might add, and with the anticipation increased by their maintenance Sunday night into Monday morning). I took the time on my little DSL line to download the 2.3GB ISO file from Microsoft, and in my...
- - - - -

C# 4.0 Coming : New Features - 64-Bit Support & Background Garbage Collection

Icon Leave Comment
In my first entry we looked at Named & Optional parameters, and in my second entry we looked at Parallel programming, ow in my third entry on the upcoming release of C# 4.0 we'll look at 64-Bit support and improved garbage collection.

64-Bit Operating Systems & 64-Bit Process Support...
- - - - -

C# 4.0 Countdown : New Features - Parallel Programming

Icon Leave Comment
EDIT: I know this was supposed (by my on mouth) been posted last night, but soome things came up and I got behind. I'll try to post one more tonight to be back on track.

In yesterdays post...
- - - - -

C# 4.0 Countdown : New Features - Optional & Named Parameters

Icon Leave Comment
With the release of Visual Studio 2010 & .Net 4.0 just 4 days I thought I'd do a few blog posts highlighting some of the new features of .Net 4.0. The first we will look at is optional parameters. Most believe Microsoft has added this feature as part of their plans to create a single unified .Net language.

The addition of this to the C#...
- - - - -

To Ping or Not To Ping

Icon Leave Comment
Recently there was a question in the C# forum regarding creating a Ping utility so this got me to thinking about updating...
- - - - -

Handling the dreaded cross-thread Exception

Icon Leave Comment
Many times when working with Threading (whether it be a Thread, BackgroundWorker or any other kind of threading) you may run into the dreaded cross-thread exception. That is because you cannot access your GUI controls from a different thread without using one of many methods. In this posting we'll be taking a look at a couple different ways of...
- - - - -

Fun with the Windows Recycle Bin Part I

Icon 3 Comments
Recently I needed to interact with the Windows Recycle Bin for a utilities application I've been asked to create for a client, and from step 1 I knew I was in for a surprise. Since the recycle bin doesn't exactly exist...
Page 1 of 1

September 2020

20 21 2223242526

Recent Entries

Search My Blog

1 user(s) viewing

1 Guests
0 member(s)
0 anonymous member(s)