|
-
Apr 25th, 2001, 03:27 AM
#1
Thread Starter
Member
Insert Newline with Writefile
Hi,
I need to insert newline at the end of a textfile using writefile.
Is this possible or are there another API-Call to do that?
/John Jacobson
********************
VB 6
VB 7 (.NET)
DarkBasic (Beginner)
********************
-
Apr 25th, 2001, 05:05 AM
#2
WriteFile hFile, xxx, 10, numwritten, CLng(0)
Have you tried substituting xxx above for one of these :
vbcrlf
Chr(13)
-
Apr 25th, 2001, 11:41 AM
#3
Registered User
-
Apr 26th, 2001, 01:34 AM
#4
Thread Starter
Member
That didn't work.
I Solved the problem with the VB scripting Runtime instead, It's a bit slower, but it works.
********************
VB 6
VB 7 (.NET)
DarkBasic (Beginner)
********************
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|