MS Naming standard question

  • Thread starter Thread starter Alina
  • Start date Start date
Hi

The only documentation I could find was that they don't use Hungarian
notation any more as such txtName is out...

Maybe a MSFT could shed some light?

Regards,

Daniel Roth
MCSD.NET
 
Alina said:
Hello

We wish to follow the naming standard from Microsoft, we found the Naming
guideliness at
http://msdn.microsoft.com/library/d...en-us/cpgenref/html/cpconnamingguidelines.asp
but we can't find the standard for the UI controls (which one it is:
NameTextBox or textBoxName or txtName)
Can you indicate us the right link on the MS site?

That document only expresses suggestions for non-private members, not for
private internal variables like controls.

There are several common standards in use, with the txtName style being the
most common I see. I don't think any concensus was ever reached on waht is
best though.
 
Those guidelines are intended for class libraries (not Windows
applications), specially if they are used by other companies (vendors,
etc.). For internal use you can use whatever you like, including Hungarian
notation if you wish.

--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com
 
Back
Top