The AecHardwiredStylesMgd ADT 2007 .NET API samples (C# and VB) have some problems. The defects in the sample prevent the drawing from being saved after it is run. The only way to exit is to quit without saving.
We have updated the samples and are attached to this posting. Please use the attached samples in place of the existing samples.