Welcome to TechNet Blogs Sign in | Join | Help

Browse by Tags

All Tags » DotNet   (RSS)

DataBind and Multiviews

If you are using a multiview in asp to display a bunch of different pieces of information, for example if you are displaying a bunch of logs that are selectable inside your multiview (using the tabbed control I posted here recently), you need to be careful
Posted by David_Bennett | 0 Comments
Filed under:

GDF Xml file format

The GDF file is an xml file associated with games in vista. The file gives information about the various ratings associated with the game along with the name of the game. The XML file format is fairly simple and is as follows: <GameDefinitionFile>

How to turn on debug exceptions with WCF

It is possible to see exceptions passed back in the messages sent to the service. This makes it a lot easier to debug multi-peer applications. The way to do this is to add into the web.config file the section. You can see in the following config section
Posted by David_Bennett | 0 Comments
Filed under: ,

Tabbed menu system for asp.net

This is a piece of code to deal with tabbed browing, it uses a CompositeControl to deal with creating the tabs and the views. The tabs are created using a simple table setup with the different td elements using different css classes to change the way
Posted by David_Bennett | 0 Comments
Filed under:

ROW_NUMBER() and asp.net

I was looking around at ways to optimise asp.net over the last few days and ran across this article about using ROW_NUMBER(), which is quite good. There were a few aspects of it missing that I had to do a little more work to look up. I tracked down some
Posted by David_Bennett | 0 Comments
Filed under:

FileVersionInfo - getting the FileDescription in C#

Getting the file description in C# requires using the VerQueryInfo calls to load in the data from the file. First you load in the culture information so you get the information in the right language and then you load the actual data into the buffer. To
Posted by David_Bennett | 0 Comments
Filed under:

.net Binding for WPC Events

The WPC event system logs a series of events to the WPC crimson channel. The channel contents is viewable inside the log viewer and it has a path of: Microsoft-Windows-ParentalControls/Operational. The events are logged with a variety of different parameters,

Atlas, ContentPanel and controls

I discovered, while trying to use atlas contentpanels in my app, that the bits inside the atlas content panels are not loaded along with the normal load process. This means if you have a PageLoad event in your custom control and you try and set something
Posted by David_Bennett | 0 Comments
Filed under:

PaginatedRepeater in asp.net

Making a PaginatedRepeater in asp.net
Posted by David_Bennett | 0 Comments
Filed under:

Reading in Crimson Logs

The Crimson API as C# bindings.
Posted by David_Bennett | 6 Comments
Filed under:

Problems installing .net framework 1.1

I had a bunch of problems reinstalling .net framework 1.1, it kept coming with an internal error 2908 and failing to install. I spent a bunch of time cleaning the registry, only to find this didn't help. I finally tracked down this article , which said
Posted by David_Bennett | 0 Comments
Filed under:

Converting XML to RTF using .net

It is quite easy to convert XML into RTF, well to turn it into fairly simple rtf output anyway. The RTF format is pretty straightforward and this makes it pretty easy to write into the RtfTextBox inside the .net system to display your xml in a nicely
Posted by David_Bennett | 0 Comments
Filed under:

Setting a ToolTip on a TreeView control

A TreeView control in WinForms does not have a tooltip associated with and each node definately doesn't have a tooltip associated with it. The way to get around this is to use the MouseMoved event and trigger the tooltip creation with this. The MouseHover
Posted by David_Bennett | 0 Comments
Filed under:

.net Beta 1 and .net beta 2

Here is a list of a few changes I ran across when changing my code from beta 1 to beta 2. The DockingPanel stuff has gone altogether, you completely remove these from your project altogether in most cases. This doesn't seem to have any detrimental effects
Posted by David_Bennett | 0 Comments
Filed under:

AppDomain and ConfigurationFile's

After a bit of messing around when trying to make my own app domain I discovered that if you set the ConfigurationFile up to a place that doesn't exist you will get an error saying that it cannot load the assembly. Which is a little confusing, since what
Posted by David_Bennett | 0 Comments
Filed under:
More Posts Next page »
 
Page view tracker