Re: VCard Business Address Line

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



You may want to post this "down the hall" in microsoft.public.program_vba -
that is where the programmers tend to hang out and can provide a more expert
answer.

--
Milly Staples [MVP - Outlook]

Post all replies to the group to keep the discussion intact.
How to ask a question: http://support.microsoft.com/KB/555375


After furious head scratching, dz asked:

| I am programming the VCard with the following code. However, the
| Business Address line does not wrap properly. If I edit Business Card
| then double click the Business Address line then the address is
| properly formatted. Does anyone know how to do this correctly?
|
| Response.AddHeader "content-disposition", "attachment;
| filename=Vcard" & Replace(Trim(Last), ".", "") & ".vcf"
| Response.ContentType = "application/unknown"
|
| Response.Write "BEGIN:VCARD" & vbcrlf & _
| "VERSION:2.1" & vbcrlf & _
| "N:" & First & " " & Middle & Last & vbcrlf & _
| "FN:" & First & " " & Middle & Last & vbcrlf & _
| "TITLE:" & Title & vbcrlf & _
| "ORG:Company Name" & vbcrlf & _
| "NOTE:" & vbcrlf
|
| Response.Write "TEL;WORK;VOICE:" & Phone & vbcrlf & _
| "TEL;WORK;FAX:"; & Fax & vbcrlf
|
|
| Response.Write "ADR;WORK;ENCODING=QUOTED-PRINTABLE:;;" & Address1 &
| ";" & Address2 & ";" & Address3 & ";" & City & ";" & State & ";" & Zip
| & vbcrlf
|
| Response.Write "LABEL;WORK;ENCODING=QUOTED-PRINTABLE:" & Address1 &
| "=0D" & Address2 & "=0D" & Address3 & "=0D" & City & ", " &State & " "
| & Zip & "=0D=0A" & vbcrlf
|
| Response.Write "URL;WORK:http://www.anslowslaw.com"; & vbcrlf & _
| "ROLE:Attorney" & vbcrlf & _
| "EMAIL;PREF;INTERNET:" & Email & vbcrlf & _
| "END:VCARD" & vbcrlf
| Response.End


.



Relevant Pages

  • Re: [Info-ingres] Re: dbms sequences access
    ... business entity Client was very difficult to assign a logical primary ... make sure the correction gets applied everywhere that the mis-keyed value ... I don't utterly reject the need for surrogate keys, ... Well you say lazy programmers over-use them. ...
    (comp.databases.ingres)
  • Re: Interesting developments since "Beating the averages"?
    ... construct a business case for Lisp and I have failed for reasons I have ... Can you construct a business case for doing the same work without ... Programmers tend to leave their jobs for similar work elsewhere. ... Software development is very costly. ...
    (comp.lang.lisp)
  • Re: Decouple SQL queries from class in OOP design
    ... > programmers (or business analysts, or software engineers, or project ... > Is this feature really qualify for an 80/20 rule of any sort? ... > programmers worrying about how to color-code text to each user's taste ... The new model of biz is to give the "customer" what they WANT. ...
    (comp.object)
  • Re: A newbie - What are differences between Red Hat Linux 9 and Red Hat Enterprise Linux?
    ... website, it is said that FC is for programmers, and Redhat Enterprise ... Since I am a business student, ... Scroll all the way to the end of the options and check 'Install ...
    (comp.os.linux.setup)
  • Re: Is Whidbey the beginning of the end for the developer ?
    ... I have been working in the programming business for 20 years. ... that reports would be so easy to write that managers would be doing it. ... Programmers were going to be obsolete. ... things for which we could use computers. ...
    (microsoft.public.dotnet.framework.clr)