
Private const string nameMiddle = " J S" Private const string nameLast = " Davey" Private const string nameFirst = " Chris" This.Load += new System.EventHandler( this.Page_Load) / the contents of this method with the code editor. / /// Required method for Designer support - do not modify // CODEGEN: This call is required by the ASP.NET Web Form Designer. Override protected void OnInit(EventArgs e) Private void Page_Load( object sender, System.EventArgs e) Luckily, this was as simple as opening it in Notepad. The first thing I had to do is work out the format that vCards are held in.

So below is how I achieved this solution. The vCard could then be generated on the fly. I decided that changing the response stream of a page would be best. I didn't want the site to have to create a local copy of the vCard for the client to download. Having decided that I was going to do that, I had to think about how best to get the desired response. To make people's lives easier, I decided that it would be helpful if they can export the contact details they have just found to the Outlook vCard format, which would then allow them to save it to their contacts list. The only way to hold employees contact details is to create your own contacts list in Outlook. The sad fact is without Exchange or even a group-wide Active Directory solution, the contact information is missing. This has obviously been ignored at a desktop level, so instead of using Netscape Communicator, everyone uses Outlook. The other interesting thing about this company is that they don't use Exchange, the French owners having decided that everything Microsoft is bad. My little bit of work was to create an intranet based contacts solution to replace one of these Excel based systems. Some of these solutions consist of having an Excel spreadsheet with a list of names and numbers on. Interestingly, the company doesn't have a global contacts solution, so each individual group company has implemented their own. I've been doing a little work on our company's intranet system. The example in the article uses some static data as it's easier to explain, but it is simple to make it more dynamic. The article below explains how to create an Outlook vCard on the fly from a website.
