Click here to Skip to main content
15,888,733 members
Articles / Programming Languages / C#
Article

.NET vCard API for creating and parsing vCards

Rate me:
Please Sign up or sign in to vote.
4.78/5 (29 votes)
22 Jun 2007 199.9K   12.7K   71   46
This article discusses how to create and parse vCards using a .NET vCard API

Screenshot - NET_vCard_API.gif

Introduction

Here I will discuss a .NET vCard API for creating and parsing vCards. Basically, a vCard is an electronic business card that can store such elements as Name, Phones, Photo, Emails, etc. This article assumes that you already have a little knowledge about vCard. If not, then for detailed information about vCard see RFC 2426. There is nothing more to tell you. Just get started by launching the vCard viewer application. I have made a well-commented and clear example application that is available for download at the top of this article. I hope that you don't need any more. vCard code is part of the LumiSoft.Net library. The LumiSoft.Net.Mime.vCard namespace contains all vCard related classes. You can get latest here and join in discussions on the forum.

History

  • 18 October, 2006 -- Original version posted
  • 22 June, 2007 -- Article edited and moved to the main CodeProject.com article base

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Estonia Estonia
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
QuestionOutlook 2007 and Phone Numbers Pin
pooldimps14-Apr-08 20:04
pooldimps14-Apr-08 20:04 
Hi mate,

That's some good work. Really useful.

I am having trouble with outlook 2007 vCards. It extracts home, phone and mobile numbers as same (the value of mobile number is assigned to all 3 numbers) into one number only. Is that happening to me only or it's a known issue?

I can send a sample vCard to illustrate what I mean.

Regards,
Pool
GeneralRe: Outlook 2007 and Phone Numbers Pin
Ivar Lumi15-Apr-08 19:45
Ivar Lumi15-Apr-08 19:45 
GeneralRe: Outlook 2007 and Phone Numbers Pin
Ivar Lumi20-Apr-08 21:14
Ivar Lumi20-Apr-08 21:14 
QuestionVisual Studio 2003 Pin
pooldimps24-Nov-06 14:01
pooldimps24-Nov-06 14:01 
AnswerRe: Visual Studio 2003 Pin
Ivar Lumi24-Nov-06 20:19
Ivar Lumi24-Nov-06 20:19 
GeneralGood work Pin
Gonzalo Brusella24-Oct-06 2:27
Gonzalo Brusella24-Oct-06 2:27 
GeneralRe: Good work Pin
Ivar Lumi24-Oct-06 20:27
Ivar Lumi24-Oct-06 20:27 
QuestionUnhandledException while saving data Pin
pawels10023-Oct-06 10:22
pawels10023-Oct-06 10:22 
AnswerRe: UnhandledException while saving data Pin
Ivar Lumi23-Oct-06 10:24
Ivar Lumi23-Oct-06 10:24 
GeneralRe: UnhandledException while saving data Pin
pawels10023-Oct-06 11:55
pawels10023-Oct-06 11:55 
GeneralRe: UnhandledException while saving data Pin
pawels10023-Oct-06 12:24
pawels10023-Oct-06 12:24 
AnswerRe: UnhandledException while saving data Pin
Scribbly8-Jan-08 1:01
Scribbly8-Jan-08 1:01 
GeneralDoesn't recognize Quoted-Printable encoding for fields Pin
rjlopes19-Oct-06 4:31
rjlopes19-Oct-06 4:31 
GeneralRe: Doesn't recognize Quoted-Printable encoding for fields Pin
Ivar Lumi19-Oct-06 6:19
Ivar Lumi19-Oct-06 6:19 
GeneralRe: Doesn't recognize Quoted-Printable encoding for fields Pin
Ivar Lumi21-Oct-06 8:51
Ivar Lumi21-Oct-06 8:51 
GeneralRe: Doesn't recognize Quoted-Printable encoding for fields Pin
rjlopes23-Oct-06 22:30
rjlopes23-Oct-06 22:30 
GeneralRe: Doesn't recognize Quoted-Printable encoding for fields Pin
Genzel10-Nov-06 2:43
Genzel10-Nov-06 2:43 
GeneralRe: Doesn't recognize Quoted-Printable encoding for fields Pin
Ivar Lumi10-Nov-06 2:45
Ivar Lumi10-Nov-06 2:45 
GeneralRe: Doesn't recognize Quoted-Printable encoding for fields Pin
Genzel10-Nov-06 10:17
Genzel10-Nov-06 10:17 
QuestionHave you checked Mono vCard + iCal? Pin
Antonello Provenzano18-Oct-06 10:59
Antonello Provenzano18-Oct-06 10:59 
AnswerRe: Have you checked Mono vCard + iCal? [modified] Pin
Ivar Lumi18-Oct-06 20:13
Ivar Lumi18-Oct-06 20:13 

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

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