WriteLine/PrintLine

  • Thread starter Thread starter kdbarrett
  • Start date Start date
K

kdbarrett

Is there a way to get rid of the quotes and comma when using WriteLine
or PrintLine? Is there some other function I haven't found yet for
writing a line of text to a file? I just want to write out a line of
text without anything being added to it.

Thanks!
 
What quotes and commas? What classes are those methods on that you are
refering to because the WriteLine on things like the StreamWriter only adds
the cr-nf.

Can you show us exactly what you are doing?
 
Here's the line that writes out to the file:
WriteLine(4, "ShowPickups start " & Now)

Here is what it produces:
"ShowPickups start 2/20/2006 3:34:45 PM"
The quotes are in the file.

Also, I need to call this from another thread. The reason is I have
two stations writing to the same Access database (one is networked, the
other working locally). They get each other's updates by running a
timer function that checks for updated entries. This runs in a
separate thread and when it finds updated data, it uses a delagate to
call the functions that display the data. There are some issues that
I'm trying to troubleshoot and I'm using WriteLine to monitor what
happens. However, I can get WriteLine to work in the timer thread. I
haven't figured out how to call it with a delegate.

Any suggestions?
 
Back
Top