I am using a routine that uses reflection to loop through each business object in an assembly and generate's a html help documentation file, I name these files using the business object tostring method. So for instance the filename might be Businessobject1.htm.
hohever If I call the same business objects ToString method from within a form I end up with [Businessobject1].htm. It seems the [] brackets are being added.
Paul
I thought perhaps you guys were overriding the method for some reason, so did not look past that. As for why I am doing this...
I am outputing end user help. In my base form code I have attibutes and property's that are specific to generating and displaying user help. I then read through the project using reflection and generate a html help style docs for Forms that contain specific custom attributes etc. I can then generate specific info on bound controls , required fields , business rules , change logs as well as custom property's. once the html file is generated I then set a property containing the URL of the generated page so when the user hits the help button or F1 from the form it will call System.Windows.Forms.Help.ShowHelp and pass in the correct help url to the CHM that is generated.
I have not used Sandcastle it but it looks like it generates class documention more geared to the developer. I am not sure that it would fit in what I am doing