Hey guys, to simplify my question in the last post, does anybody know how to write a string to a file without VB entering the return key after it writes?
Thanks.
Wengang
Printable View
Hey guys, to simplify my question in the last post, does anybody know how to write a string to a file without VB entering the return key after it writes?
Thanks.
Wengang
If you use the FileSystemObject to write, then you can write normal strings that don't have a CrLf on the end.
Although I thought that the normal Write command also did the same thing
- gaffa
Well, I have no problem with Write. The only reason I used Print is that it doesnt put those quotation marks around the text that you write to the file.
Now, about this FileSystemObject. I am not familiar. Do you have any sample code of how to write using it?
Thanks a lot.
Wengang
Hey gaffa. You were exactly right.
I found a good example in MSDN.
Anyway, thanks so much.