Freigeben über


jaredpar's WebLog

Code, rants and ramblings of a programmer.

Debugging Managed Code with Object ID's

Just found out about a neat way to keep track of managed object references while debugging. Check...

Author: JaredPar MSFT Date: 04/18/2007

Readonly TextBox that doesn't look funny

When you make a WinForm TextBox ReadOnly, it aquires a distinctive look because it changes the...

Author: JaredPar MSFT Date: 02/12/2007

Blogging about Code

It's somewhat frustrating to try and post code to the internet for your blog. Getting the color...

Author: JaredPar MSFT Date: 02/09/2007

PowerShell and SVN

I often delete versioned files from Visual Studio without great care for the source control impact....

Author: JaredPar MSFT Date: 02/01/2007

The problem with PowerShell is that sometimes you can't use it

PowerShell puts the fun back in scripting and it's horrfying but every now and again I'm forced to...

Author: JaredPar MSFT Date: 01/31/2007

Serialization, understanding the problem

Writing a proper serialization mechanism is ofter very difficult. The problem is most people don't...

Author: JaredPar MSFT Date: 01/29/2007

Publishing Web Application Projects via FTP

Web Application projects are a new project type in Visual Studio 2005 SP1. It almost all of the...

Author: JaredPar MSFT Date: 01/26/2007

Boolean Parameters

An item I try to avoid in any API I create are methods which ... Take more than one parameter One of...

Author: JaredPar MSFT Date: 01/23/2007

Determining if you're an Administrator from Powershell

Here's a handy PowerShell function I used to determine if I'm currently running as an Administrator...

Author: JaredPar MSFT Date: 01/19/2007

Where is this script?

Scripts often need to dynamically find out what directory they are executed from. In CMD scripts...

Author: JaredPar MSFT Date: 01/18/2007

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...

Author: JaredPar MSFT Date: 01/16/2007

Windows Forms Event LifeCycle

When deveploping windows forms app, it's important to understand the event lifecycle of a form. That...

Author: JaredPar MSFT Date: 01/08/2007

C++ preprocessor and template identifiers

A couple of hours of tracking down a compiler error a couple of days ago taught me something about...

Author: JaredPar MSFT Date: 12/19/2006

Dispose vs Delete

Programs allocate resources for use during execution. The problem with resources is that they are...

Author: JaredPar MSFT Date: 12/14/2006

LUA + MSI + Luanch program now on Vista

I'm a huge fan of the LUA support in Vista. It has it's quirks but it's a major step forward for...

Author: JaredPar MSFT Date: 12/06/2006

Using PowerShell to update ACLS

I've been an avid fan of running as a limited user account (LUA) for almost all of my computing...

Author: JaredPar MSFT Date: 11/29/2006

ComboBox SelectedItem, SelectedValue, SelectedWhat???

ComboBox has a lot of helpful properties that allow you to get access to items selected by the...

Author: JaredPar MSFT Date: 11/07/2006

Using PowerShell to automate redundant tasks

It's nice to have powershell when you need to do a lot of redundant file work. I'm use Subversion as...

Author: JaredPar MSFT Date: 10/23/2006

Responding to Windows Shutdown

.Net 2.0 Added a lot in the way of allowing programmers to easily interact with Windows. One of the...

Author: JaredPar MSFT Date: 10/20/2006

Custom ComboBox

This is another forum request. I've seen multiple requests from users who are looking to customize...

Author: JaredPar MSFT Date: 10/13/2006

PowerShell Tutorial

PowerShell is an exciting product coming out of Microsoft. It's a shell technology many old *nix...

Author: JaredPar MSFT Date: 10/12/2006

LinkButton

A highly rated post on the VB MSDN Forum recently asked "How can I open up a web browser when a user...

Author: JaredPar MSFT Date: 09/06/2006

Dragging a Controls around a Form

A frequent question I see on the forums is how can you drag controls around in a form with the...

Author: JaredPar MSFT Date: 08/23/2006

DataBinding to ToolStripDropDown

Several people have asked on the newsgroups about a good method to bind a list of items to entries...

Author: JaredPar MSFT Date: 07/13/2006

Role Change

After working a little over 2 years with the VSTS Architect SKU I've decide to take on a new role at...

Author: JaredPar MSFT Date: 07/12/2006

Thread Security changes in 2.0

While I was looking into CAS changes in 2.0 I found some very good news about thread changes in 2.0....

Author: JaredPar MSFT Date: 04/19/2006

Follow up: PInvoke with 32 and 64 bit

Recently after I made my original post titled “PInvoke with 32 and 64 bit”, a developer emailed me....

Author: JaredPar MSFT Date: 04/13/2006

PInvoke with 32 and 64 bit machines

One of the big difficulties still remaining in .NET 2.0 is the interoping with native API's which...

Author: JaredPar MSFT Date: 04/12/2006

ClickOnce FAQ

Just ran accross this site. It's very helpful if you deploy any ClickOnce application...

Author: JaredPar MSFT Date: 04/11/2006

Cross Posting Test

This is my first attempt at cross-posting to multiple blogs. Sorry for the spam.

Author: JaredPar MSFT Date: 04/11/2006

Documentation for HeapCreate

Yet another reason to enable FxCop is it double checks some interop defines (Portability and Interop...

Author: JaredPar MSFT Date: 04/11/2006

Lessons in Code Access Security: PropertyGrid

I've started experimenting with Code Access Security at home. This derives from my desire to better...

Author: JaredPar MSFT Date: 04/10/2006

Monad: Detecting if you are an Admin

One of the LUA tasks I found very frustrating was detecting whether or not I was running as an Admin...

Author: JaredPar MSFT Date: 11/07/2005

Quick Monad Scripts

Determine if a command exists in your path. Very helpful when you are writing scripts for mulptiple...

Author: JaredPar MSFT Date: 11/04/2005

Shell Scripting with Monad

I spent a bit of my college days in *nix land. Much of that time was spent writing and maintaining...

Author: JaredPar MSFT Date: 11/01/2005

Getting HRESULTs back from COM Interop calls

COM interop is one of the messy places where error by return value vs exception meet head on. COM...

Author: JaredPar MSFT Date: 10/14/2005

Assignment vs Interlocked.Exchange

It's important in multi threaded programs to understand the difference between an assigment...

Author: JaredPar MSFT Date: 09/08/2005

Path.GetFullPath()

It's very important to read the documentation of this method before actually using it. A common...

Author: JaredPar MSFT Date: 08/30/2005

Dos and Lotus 1-2-3 Myth

https://www.proudlyserving.com/archives/2005/08/dos_aint_done_t.html Adam Barr debunks the "Dos aint...

Author: JaredPar MSFT Date: 08/02/2005

File System Permissions

While working on a recent bug a question came up about how permissions work on NTFS. Take the...

Author: JaredPar MSFT Date: 07/25/2005

New way of dragging and dropping files

https://liihs.irit.fr/dragice/foldndrop/ Check out the video on this website. The author has...

Author: JaredPar MSFT Date: 07/20/2005

Team System Developer & Test SKUs Public Chat this Wednesday

Don't forget to join us this Wednesday at 10am PST to discuss the new Team System Testing...

Author: JaredPar MSFT Date: 07/18/2005

Marshaling Nested Data Structures Part 4

This is part 4 of a series. You can find part one here. Please refer to that article for all of the...

Author: JaredPar MSFT Date: 07/18/2005

Marshaling Nested Data Structures Part 3

This is part 3 of a series. You can find part one here. Please refer to that article for all of the...

Author: JaredPar MSFT Date: 07/14/2005

Marshaling Nested Data Structures Part 2

This is part 2 of a series. You can find part one here. Please refer to that article for all of the...

Author: JaredPar MSFT Date: 07/12/2005

Marshaling Nested Data Structures Part 1

A frequent question that pops up on newsgroups such as microsoft.dotnet.framework.interop is how to...

Author: JaredPar MSFT Date: 07/11/2005

Updated Version of RunAsAdmin Available

Valery Pryamikov has released an update version of his RunAsAdmin tool. This version has a lot of...

Author: JaredPar MSFT Date: 07/07/2005

New LUA Tool

For the last few weeks, I've been playing around with a LUA tool that was recently presented to me....

Author: JaredPar MSFT Date: 06/28/2005

Modifying ATL Project to Register Per User

A week ago, I blogged about how to register COM objects as LUA...

Author: JaredPar MSFT Date: 05/29/2005

Paper on Content Distrbution

Ran accross this paper that does a good job of examining the history of content distrbution. Couple...

Author: JaredPar MSFT Date: 05/19/2005

<Previous Next>