Windows Parental Controls

I have not blogged for a while, I just recently moved teams and now I am working on WIndows Parental Controls in C++ rather than c#.  I will continue to post .net things, since I do use .net for my home projects. Recently I have been working on a layered socket protocol tool with winsock,…

0

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.  This worked like…

0

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…

0

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 terms of figureing out…

0

.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.UploadFile etc…

0

FaultContract in Indigo

FaultContract is an attribute that can be defined on the ServiceContract to define faults sent across the wire in Indigo.  Indigo does not reflect exceptions directly across the wire, if you want faults to be thrown to your client you must use the Fault system.  An exception will cause your service to behave in other…

0

Duplex calls in indigo beta 1

There are two things you need to remember when making a duplex contract under indigo beta 1, the first is that you can only use one way calls on the contract and you also need to specify the callback contract in the main contract. On the client side to open a call to a duplex…

0

Different types of InstanceModes and ConcurrencyModes inside Indigo

Indigo has five different types of instances modes than be used inside the system.  The default liftetime, if none is specified, is PerCall.  They are: PerCall PrivateSession SharedSession Singleton Well known The PerCall lifetime means that each time a call comes into the system a new instance is created of the service and a new…

0

Visual Studio 2005 – beta 2

Visual studio 2005 beta 2 has just been released: http://lab.msdn.microsoft.com/vs2005/ Improves a bunch of stuff with .net and fixes a horde of bugs.  Here are couple I know about that have been fixed.  In RichTextBox the VScroll and HScroll events are now fired when you click on the thumb bar and drag the scroll bar…

0

Using the IsTerminating and IsInitiating flags in Indigo

Indigo has the ability to mark specific methods on a contract as being initiating or terminating methods for the contract.  If a method is marked as being an IsInitiating method then this means that this method can be used as the first method called onto the contract, if the IsInitiating is set as false then…

0