CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2004
    Location
    England
    Posts
    90

    Question New line character in MS Word

    Hi all

    I am trying to populate a word document from VC++
    Problem is for my CRLF (carriage return lin feed) i get squares. How do I introduce a new line character instead?

    Any assistance will be much appreciated

    Thanks
    The most knowledgeable people are those who know that they know nothing.

  2. #2
    Join Date
    Feb 2003
    Location
    Hyderabad
    Posts
    181
    try using (char)10 + (char)13 combination
    Ritesh Tandon
    (Sr. Software Engineer)

  3. #3
    Join Date
    Jun 2004
    Location
    England
    Posts
    90
    That results in two square symbols

    but i found a solution

    I used the vertical scroll character from the ASCII chart, it works!
    The most knowledgeable people are those who know that they know nothing.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured