Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 212
  • Last Modified:

Writing to a text file

Can I write to a text file without the contents of the text file being in speech marks?
0
bigc
Asked:
bigc
1 Solution
 
qhenryCommented:
use :
Print #filenumber, [outputlist]
instead of
Write #filenumber, [outputlist]

qhenry
0
 
watyCommented:
I do as follow in a lot of my project and works perfectly :

nPrintOut = FreeFile
Open sPSOut For Binary Access Write As #nPrintOut
         
' *** Add Generic Header
Put #nPrintOut, , "YourText" & chr$(13)

close #nPrintOut


0
 
bigcAuthor Commented:
Works perfectly - thanks
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now