Naming Conventions? 
Author Message
 Naming Conventions?

Does anyone know a set of widely used naming conventions for Outlook
variables? I could obviously use any naming convention I want, but it would
be nice to encourage standardized names.

Charley Kyd



Tue, 22 Oct 2002 03:00:00 GMT  
 Naming Conventions?
Generally some variation of the Hungarian notation system is used:

objWhatever
strString
intNumber

and so on.

--
Ken Slovak
[MVP - Outlook]
Lead Author, Professional Outlook 2000 Programming, Wrox Press
Co-author of "Programming Microsoft Outlook 2000", Chapters 8-13,
Appendices, Sams


Quote:
> Does anyone know a set of widely used naming conventions for Outlook
> variables? I could obviously use any naming convention I want, but
it would
> be nice to encourage standardized names.

> Charley Kyd



Fri, 25 Oct 2002 03:00:00 GMT  
 Naming Conventions?
Yes, but WHICH variation? In Excel, for example, I use prefixes like rng,
wks, wbk, and nme to indicate range, worksheet, workbook, and name. But is
there a generally used set of abbreviations for Outlook NameSpace, MailItem,
MAPIFolder, ContactItem, and so on?

Granted, I could use any abbreviations I want. But since I haven't committed
to any set of abbreviations yet, I thought I'd adapt whatever set is already
being used.

Charley Kyd



Quote:
> Generally some variation of the Hungarian notation system is used:

> objWhatever
> strString
> intNumber

> and so on.

> --
> Ken Slovak
> [MVP - Outlook]
> Lead Author, Professional Outlook 2000 Programming, Wrox Press
> Co-author of "Programming Microsoft Outlook 2000", Chapters 8-13,
> Appendices, Sams



> > Does anyone know a set of widely used naming conventions for Outlook
> > variables? I could obviously use any naming convention I want, but
> it would
> > be nice to encourage standardized names.

> > Charley Kyd



Fri, 25 Oct 2002 03:00:00 GMT  
 Naming Conventions?
I don't think there's any one set that dominates. Outlook has so many
objects that many of us tend to just lump them into obj and col prefixes --
at least that's what I do, mainly to remind myself that these are objects
that need to be released at the end of the procedure.
--
Sue Mosher
Author of
  "Teach Yourself Microsoft Outlook 2000 Programming in 24 Hours"
  "Microsoft Outlook 2000 E-mail and Fax Guide"

Outlook and Exchange solutions at http://www.slipstick.com


Quote:
> Yes, but WHICH variation? In Excel, for example, I use prefixes like rng,
> wks, wbk, and nme to indicate range, worksheet, workbook, and name. But is
> there a generally used set of abbreviations for Outlook NameSpace,
MailItem,
> MAPIFolder, ContactItem, and so on?

> Granted, I could use any abbreviations I want. But since I haven't
committed
> to any set of abbreviations yet, I thought I'd adapt whatever set is
already
> being used.

> Charley Kyd



> > Generally some variation of the Hungarian notation system is used:

> > objWhatever
> > strString
> > intNumber

> > and so on.

> > --
> > Ken Slovak
> > [MVP - Outlook]
> > Lead Author, Professional Outlook 2000 Programming, Wrox Press
> > Co-author of "Programming Microsoft Outlook 2000", Chapters 8-13,
> > Appendices, Sams



> > > Does anyone know a set of widely used naming conventions for Outlook
> > > variables? I could obviously use any naming convention I want, but
> > it would
> > > be nice to encourage standardized names.

> > > Charley Kyd



Fri, 25 Oct 2002 03:00:00 GMT  
 Naming Conventions?
This article on MSDN provides the location of a Word document with common
conventions.

http://msdn.microsoft.com/library/officedev/odeopg/deconusingnamingco...
n.htm

--
Regards,
           Chris Burnham (MVP - Outlook)
           Grand Rapids, MI
           Co-Author "Professional Outlook 2000 Programming"

Please reply to the newsgroups so that others can benefit from the
discussion.  Also note that I do not send replies to newsgroup postings by
email  I volunteer my time in the groups. Thanks for understanding and
supporting the forum.
____________________________________________________


Quote:
> Does anyone know a set of widely used naming conventions for Outlook
> variables? I could obviously use any naming convention I want, but it
would
> be nice to encourage standardized names.

> Charley Kyd



Sun, 27 Oct 2002 03:00:00 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. Indexes - Primary key naming conventions

2. Universal Naming Convention.....

3. Naming Conventions?

4. Naming Conventions (pascal, camel, etc)

5. Naming Conventions -- Opinions please...

6. New Naming Convention

7. Naming conventions

8. Naming conventions

9. Standard Naming Conventions

10. Menu Naming Conventions

11. Naming Conventions: Avoiding Conflict

12. Naming Conventions

 

 
Powered by phpBB® Forum Software