CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2001
    Posts
    45

    How to print a new line in a file in VB6?

    as the title, how could I print a new line (blank line) in a file using VB6?
    I know in c it is "\n".

    Print #1, ???

    Thanks!
    Jim


  2. #2
    Join Date
    Apr 2001
    Posts
    29

    Re: How to print a new line in a file in VB6?

    Print #1, " "


  3. #3
    Join Date
    Jul 2000
    Location
    Milano, Italy
    Posts
    7,726

    Re: How to print a new line in a file in VB6?

    it should work also
    Print #1,""
    and
    Print #1
    (sorry, cannot test right now)

    Special thanks to Lothar "the Great" Haensler. Come back soon, you Guru.
    ...at present time, using mainly Net 4.0, Vs 2010



    Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
    all the other wonderful people who made and make Codeguru a great place.
    Come back soon, you Gurus.

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