Click here to Skip to main content
11,640,626 members (67,656 online)
Click here to Skip to main content

.NET class to create and maintain vCard information

, 8 Apr 2003 CPOL 101.5K 705 48
Rate this:
Please Sign up or sign in to vote.
.NET class to create and maintain vCard information
<!-- Add the rest of your HTML here -->


In a previous article, .NET class to create and maintain vCalendar information, I created a class to export calendar information to a vCalendar file. I have now also created an class to export contact information to a vCard file format. Again, I have tried to stick with the specs, but also tried to adapt the class to the way MS Outlook understands this format.

I am having some problems including the code directly in the article, so here is a brief overview of the vCard class.


    Public Class vCard
        Public Class vEmails
        End Class

        Public Class vEmail
        End Class

        Public Class vURLs
        End Class

        Public Class vURL
        End Class

        Public Class vTelephones
        End Class

        Public Class vTelephone
        End Class

        Public Class vAddresss
        End Class

        Public Class vAddress
        End Class

        Public Enum vLocations
        End Enum

        Public Enum vAddressTypes
            PARCEL  'Parcel post'
            DOM     'Domestic'
            INT     'International'
        End Enum

        Public Enum vPhoneTypes
        End Enum
    End Class

Also see my article .NET class to create and maintain vCalendar information

vCard specs

Here are some links to for the vCard specs (thanks Tommi):


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Web Developer
United States United States

You may also be interested in...

Comments and Discussions

QuestionHow do i use it Pin
vbnetuk14-Apr-03 21:00
membervbnetuk14-Apr-03 21:00 
AnswerRe: How do i use it Pin
Vladimir Pekulas31-Mar-05 7:56
memberVladimir Pekulas31-Mar-05 7:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.150731.1 | Last Updated 9 Apr 2003
Article Copyright 2003 by slolife
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid