David_Bennett

I am on the Windows Vista Parental controls team, working on the next version of windows and specifically the parental controls aspects of it. I worked on the web filter, and many other aspects of the system from the control panel up.

Browse by Tags

Related Posts
  • Blog Post: .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 on how the code works and runs. The FtpRequests...
  • Blog Post: 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 do this you need to call a couple of external unsafe...
  • Blog Post: 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 about how you display the data. The way that...
  • Blog Post: PaginatedRepeater in asp.net

    The Paginated repeater is an extension of the standard repeater to add in pagination capabilities. It is does it by wrapping the datasource with the PagedDataSource , which is a data source wrapper available in asp.net. I added in a NumberOfPagesToShow attribute, which determines how many of the numbers...
  • Blog Post: 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 event prooved to be somewhat problematic in...
  • Blog Post: .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, mostly you can see what they are from inside...
  • Blog Post: Extending RichTextBox part II - Underlining

    The RichTextBox com control actually supports changing the underline style and colour, however the .net wrapp does not let you control how to set and use this facility. To use this facility we put in two new functions, SelectionUnderlineStyle and SelectionUnderlineColor. These properties can be used...
  • Blog Post: 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 that the behavior <serviceDebug includeExceptionDetailInFaults...
  • Blog Post: 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> <GameDefinition> <Version> <VersionNumber...
  • Blog Post: 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 inside the ContentPanel it is not created yet...
  • Blog Post: 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 to rename mscoree.dll in the Windows\System32 directory...
  • Blog Post: 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 things on msdn that pointed out that ObjectDataSource...
  • Blog Post: Extending RichTextBox

    RichTextBox inside .net winforms is a useful component, however it does not allow you to control and change some aspects of it. One thing it fails to allow you to do is get access to the scroll bars and change their values, it also doesn't let you control or set the underline style for the various items...
  • Blog Post: 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 formatted way. With .net 2.0 it is possible to add...
  • Blog Post: Reading in Crimson Logs

    Crimson logs can be read in through c# by use of some bindings to the APIs. Crimson is a new logging protocol in Windows Vista. I will start by including all the bindings to the actual apis, then talk about the specific classes than can wrap around them to get useful information out of Crimson. ...
  • Blog Post: 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 it cannot actually load is the configuration file...
  • Blog Post: 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 each of the elements looks. The class is easily...