|
-
Aug 20th, 2008, 02:17 PM
#1
Thread Starter
Addicted Member
[RESOLVED] Remove ( " )
Hi, I use this code to write values of the TextBox:
Code:
Open "Server.txt" For Append As #1
Write #1, txtUPDATE.Text & "," & txtURL.Text & "," & txtDIR.Text & vbNewLine
Close #1
But when I open Server.txt:
Code:
"test,test,test
"
"test2,test2,test2
"
"test3,test3,test3
"
I need remove this ( " )!
TO:
Code:
test,test,test
test2,test2,test2
test3,test3,test3
it's possible?
-
Aug 20th, 2008, 02:37 PM
#2
Member
Re: Remove ( " )
Try 'Print' instead of write.
-
Aug 20th, 2008, 02:39 PM
#3
Addicted Member
Re: Remove ( " )
Have you tried using the replace string function?
Code:
Open "Server.txt" For Append As #1
Write #1, replace(txtUPDATE.Text,"\"","") & "," & replace(txtURL.Text,"\"","") & "," & replace(txtDIR.Text,"\"","") & vbNewLine
Close #1
Simple little bugs 13 : Me 1
Law of Bugs - That one bug you missed will be found almost immediately, by your customer.
I wonder if anyone has ever asked for a User Surly interface?
-
Aug 20th, 2008, 02:40 PM
#4
Thread Starter
Addicted Member
Re: Remove ( " )
@peteleeb - WORK
@veritas2.0 - WORK TOO
thanks!
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
|