Solved

Writing to a text file

Posted on 1998-09-03
3
199 Views
Last Modified: 2010-04-30
Can I write to a text file without the contents of the text file being in speech marks?
0
Comment
Question by:bigc
3 Comments
 

Accepted Solution

by:
qhenry earned 50 total points
Comment Utility
use :
Print #filenumber, [outputlist]
instead of
Write #filenumber, [outputlist]

qhenry
0
 
LVL 14

Expert Comment

by:waty
Comment Utility
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
 

Author Comment

by:bigc
Comment Utility
Works perfectly - thanks
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now