Quantcast
Channel: dot net – Refactoring Self
Browsing latest articles
Browse All 11 View Live

Image may be NSFW.
Clik here to view.

DirectoryOperationException – The object does not exist.

System.DirectoryService.Protocols Library This was a very frustrating error. I was able to connect to LDAP through LDAPadmin but not through a program I was creating. “The object does not exist” error...

View Article



Image may be NSFW.
Clik here to view.

DataGridViewComboBoxColumn requires multiple clicks to select an item

I am reposting this because I think this guy did a good job posting this. I wish I got to this first! DataGridViewComboBoxColumn requires multiple clicks to select an item.

View Article

Image may be NSFW.
Clik here to view.

OracleConnection ~ Connection String Nightmare

I spent quite a bit of time today debugging an oracleconnection object. It would fail everytime the connection string property was set. This is what I would recieve in the error log: Faulting module...

View Article

Image may be NSFW.
Clik here to view.

SQL Server ~ Creating a CLR User Defined Function Error 181

Cannot use the OUTPUT option in DECLARE or CREATE FUNCTION statement So this may or may not trip you up. If you are like me, you want thing to run fast. One of those ways is to pass a reference to a...

View Article

Image may be NSFW.
Clik here to view.

Canceled By User ~ Debugging CLR Objects in SQL Server and Visual Studio

So you enabled CLR debugging on your TEST SQL Server (don’t ever do this on production!) You are trying to debug but you get a message “Canceled by user” in the Output window in Visual Studio. Here is...

View Article


Image may be NSFW.
Clik here to view.

SQL Server Reporting Services ~ Cascading/Dependant Parameters

This is my first screencast, enjoy!

View Article

Image may be NSFW.
Clik here to view.

Powershell Retrieving Remote System Time

Compare Local Date and Time to a Remote Computer This is a rather interesting problem. I was doing a comparison between an audit table and a trace for SQL Server, which was proving to be dificult as I...

View Article

Image may be NSFW.
Clik here to view.

Visual Basic 2010 Object and List Initialization

I just found this out and I am really excited about it! The With & From are cooler than ever! Check this out: Module Module1 Private Class TestClass Public Property Subject As String Public...

View Article


Image may be NSFW.
Clik here to view.

DataGridView, FormattingException, DataError, and PreferredSize ~ Auto-Sizing...

Alright so I think I now have a good handle on this now. If you are using auto sizing for your columns, you might run into a formatting exception. The error you get says that you can handle the error...

View Article


Image may be NSFW.
Clik here to view.

Great Primer for Threading Basics in .Net

I stumbled across this article from one of my LinkedIn friends,  Threads in C# It answered one of my questions about thread pooling in a very concise, easy to understand fashion.  It is a short...

View Article
Browsing latest articles
Browse All 11 View Live




Latest Images