See all products »
Curah! curation service
Microsoft Tech Companion App
Microsoft Technical Communities
Microsoft Virtual Academy
Server and Tools Blogs
TechNet Flash Newsletter
Cloud and Datacenter
Windows Server 2012 R2
System Center 2012 R2
Microsoft SQL Server 2012 SP1
Windows 8.1 Enterprise
See all trials »
Microsoft Download Center
TechNet Evaluation Center
Microsoft Virtual Academy
Free Windows Server 2012 courses
Free Windows 8 courses
SQL Server training
MCSA: Windows 8
Windows Server Certification (MCSE)
Private Cloud Certification (MCSE)
SQL Server Certification (MCSE)
Second shot for certification
Born To Learn blog
Find technical communities in your area
For small and midsize businesses
For IT professionals
For technical support
For home users
Microsoft Premier Online
Microsoft Fix It Center
Security Bulletins & Advisories
International support solutions
Log a support ticket
Not an IT pro?
Microsoft Customer Support
Microsoft Community Forums
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.
Windows Parental Controls
Browse by Tags
.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...
7 Jun 2005
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...
31 Oct 2006
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...
22 Dec 2006
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...
16 Sep 2006
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...
22 Jun 2005
.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...
27 Oct 2006
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...
7 Apr 2005
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...
13 Nov 2006
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...
18 Nov 2006
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...
29 Sep 2006
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...
12 Jul 2005
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...
11 Nov 2006
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...
7 Apr 2005
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...
30 Jun 2005
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. ...
25 Mar 2006
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...
8 Apr 2005
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...
13 Nov 2006
© 2014 Microsoft Corporation.
Privacy & Cookies