Welcome to MSDN Blogs Sign in | Join | Help

jaredpar's WebLog

Code, rants and ramblings of a programmer.

Syndication

News

Now Reading

Expert F#

What's a better book to read when learning F#?

Essential WPF

Thus far the best book I've read on WPF. Gets right down to working with WPF and the goals/history.

Purely Functional Data Structures

Reading this book makes me feel like I'm back in college. It will really get your mind going and is best read with a whiteboard handy.


Browse by Tags

All Tags » VB » DotNet   (RSS)
Closures in VB Part 6: Limitations
For previous articles in this series please see ... Part 1: Introduction Part 2: Method Calls Part 3: Scope Part 4: Variable Lifetime Part 5: Looping As powerful as closures are in the language they do have a few limitations. We worked hard in Orcas to Read More...

Posted Monday, August 06, 2007 6:36 PM by Jared Parsons | 0 Comments

Filed under: , , ,

Detecting if you are an Admin
This came up on an internal alias. A customer wanted to know how to determine if there were running as an admin in a tool. Below is a sample program that will print out whether or not you are the machine admin or a member of the machine administrators Read More...

Posted Wednesday, August 01, 2007 11:56 AM by Jared Parsons | 0 Comments

Filed under: , ,

Coding Quiz: Anonymous Type Types
Question: How can you create a variable in VB which is typed as an anonymous type but not actually create an instance of that type? Answer in comments. Note, doing this is not particularly useful it came about while I was playing around with a feature Read More...

Posted Wednesday, August 01, 2007 11:34 AM by Jared Parsons | 3 Comments

Filed under: , , ,

Closures in VB Part 5: Looping
For previous articles in the series please see Part 1: Introduction Part 2: Method Calls Part 3: Scope Part 4: Variable Lifetime Once again sorry for the long delay between posts. Looping structures can cause unintended consequences when used with Lambda Read More...

Posted Thursday, July 26, 2007 12:39 PM by Jared Parsons | 2 Comments

Filed under: , , ,

Closures in VB Part 4: Variable Lifetime
For previous articles in this series please see Part 1: Introduction Part 2: Method Calls Part 3: Scope Sorry for the long delay between posts here. We're getting Orcas out the door and getting this series completed takes a back door to shipping. Originally Read More...

Posted Friday, June 15, 2007 4:47 PM by Jared Parsons | 2 Comments

Filed under: , , ,

Closures in VB Part 3: Scope
For previous articles in this series please see Part 1: Introduction Part 2: Method Calls Thus far in the series we've only lifted variables that are declared in the same block/scope. What happens if we lift variables in different scope? The answer is Read More...

Posted Friday, May 25, 2007 4:59 PM by Jared Parsons | 3 Comments

Filed under: , , ,

Closures in VB Part 2: Method Calls
For previous articles in this series, please see Part 1 - The basics This part of the series will focus on how method calls are handled in closures. As stated in the previous article, the purpose of closures is to allow all operations inside a lambda Read More...

Posted Thursday, May 03, 2007 5:56 PM by Jared Parsons | 9 Comments

Filed under: , , ,

Closures in VB: Part 1
One of the features I implemented for VB 9.0 is lexical closure support. This a great addition to the VB language and I wanted to do a series of blog posts to describe this feature and how it will impact your code. Lexical Closures (more often referred Read More...

Posted Friday, April 27, 2007 6:50 PM by Jared Parsons | 7 Comments

Filed under: , , ,

Readonly TextBox that doesn't look funny
When you make a WinForm TextBox ReadOnly, it aquires a distinctive look because it changes the background. Users often want the appearance of the TextBox to stay the same, they just don't want it to be mutable. Here's a snippet to make a TextBox ReadOnly Read More...

Posted Monday, February 12, 2007 4:31 PM by Jared Parsons | 1 Comments

Filed under: ,

Passing data between ASP.Net pages
When developing an ASP.Net page I tend to pass a lot of data between pages. A lot of it comes from being fairly OO natured and wanting to have a page that displays a particular type of content. There are lots of articles detailing how to pass data between Read More...

Posted Tuesday, January 16, 2007 11:20 AM by Jared Parsons | 0 Comments

Filed under: ,

Windows Forms Event LifeCycle
When deveploping windows forms app, it's important to understand the event lifecycle of a form. That way you know what code to put where to ensure it's loaded at the appropriate time. That being said I wrote a small app to detail the events in a basic Read More...

Posted Monday, January 08, 2007 2:32 PM by Jared Parsons | 1 Comments

Filed under: ,

Dispose vs Delete
Programs allocate resources for use during execution. The problem with resources is that they are limited and often times need to be recycled. Languages devise constructs and patterns for developers to periodically free up resources so that their programs Read More...

Posted Thursday, December 14, 2006 11:04 AM by Jared Parsons | 1 Comments

Filed under: ,

Page view tracker