Tim Laughlin's Everything VB.NET Blog


Browse by Tags

All Tags » Did You Know? (RSS)
Copying an instance of a class object
I recently had a need to copy the instance of a fairly complex class object. More specifically what wanted was to load and instance of the object, from a data source. The object had about 40 properties some of which where collections of other classes...
ASP.NET Listbox missing selecteditems property
I found an announce today while creating a VB.NET, ASP.net application. I needed a to determine the items selected in a ListBox control which has it's SelectionMode="Multiple" property set. However, ListBox doesn't have a selecteditems...
TomTom 910 and Blackberry 8800 on Cingurlar
So I was the proud recipient of a TomTom 910 for Father's Day! Woo Hoo, now I can get lost and blame it on the British women giving me directions. Of course being the geek I am I had to make it work with my other toys, I mean business tools. So, handsfree...
Debugging an installer class in VB.NET
Today was was trying to debug some code in at Installer class. Basically the code would read a sql script and create a new database. Of course I needed to debug the code within the installer class, but I couldn't seem to find a way to get my breakpoints...
Webbrowser Control with Frames and multiple DocumentCompleted event firing
Back when I started this blog I had all the good intentions of keeping up with it. Adding post daily. Then of course life got in the way and I haven't posted in a while. However, today I was doing some work with the webbrowser control in VB.NET, for a...
Embedding an icon into your EXE or DLL
In writing smaller self contained application you may not want to go through effort of utilization a resource file in VB.NET. Instead you may want to embed your graphical resources directly into your EXE or DLL. To this is very easy on you have the correct...
Nullable Generic Structure
I discovered a small gem within the .net 2.0 framework, system.nullable. This structure takes a parameter of the underlying data type you want to use. So for example you can now set a integer to nothing rather then setting it some value and trying to...
XPath with Namespace in VB.NET
I was working a Google Map api project and I ran into XML syntax that a Namespace on the root element. <kml xmlns="http://earth.google.com/kml/2.0"> When this document is loaded in to the xmlDocument and tried use the selectsinglenode function and...
Web.config and customErrors Element
I have been noticing on Community Server forums people are stumped on where to turn when they get the error.htm page with looks like this: Oops something went wrong! Either the site is offline or an unhandled error occurred. We apologize and have logged...
Editting the email templates for system generated email
Yesterday I was reading Community Server and someone asked how to edit an email template in CS . That reminded me I needed to brand some emails for a community I work with, but had been putting it off. So I figured it was time to figure out how to do...
Setting field to Null in SQL Enterprise Managery
Did you you know you can set a null able field to null in the results window in Enterprise Manager? When you field has focus press CTRL 0 and it will be null. Published with BlogMailr
Posted: Nov 09 2006, 08:22 AM by tlaughlin | with no comments
Filed under: ,
ASP.NET UserControl nested inside a Repeater
Okay so this is my first post of what I am going to call the Did You Know? series. Did know if you have a UserControl inside a Repeater the userControls buttons ComandArgument are bubbled up to the Repeater controls ItemCommand event? I have a repeater...