Expand|Select|Wrap|Line Numbers
- string strVCard = vcg.Generate();
- FileInfo fi = new FileInfo("" + firstn + " " + lastn + "" + ".vcf");
- StreamWriter sw = fi.CreateText();
- sw.Write(strVCard);
- sw.Flush();
- sw.Close();
C:\Program Files\Microsoft Visual Studio 8\Common7\IDE
How would i change this code to use Server.MapPath to write the file to my web server as i don't have rights to write the file on the c drive?
Thanks,
Adrian.