以下面的方式写入字符串,在前后都有双引号,谁能帮我解决,不写入双引号
-------------------------------------------------
Open App.Path & "\proxy.ini" For Output As #1
For i = 0 To .cbxProxyServer.ListCount - 1
Write #1, .cbxProxyServer.List(i)
Next i
Close #1
-------------------------------------------------
比如,
str="ASB"
写入到文件
就会显示
"ASB"而不是想要的
ASB
-------------------------------------------------
Open App.Path & "\proxy.ini" For Output As #1
For i = 0 To .cbxProxyServer.ListCount - 1
Write #1, .cbxProxyServer.List(i)
Next i
Close #1
-------------------------------------------------
比如,
str="ASB"
写入到文件
就会显示
"ASB"而不是想要的
ASB
For i = 0 To .cbxProxyServer.ListCount - 1
print #1, .cbxProxyServer.List(i)
Next i
Close #1
For i = 0 To .cbxProxyServer.ListCount - 1
Put #1, , .cbxProxyServer.List(i)
Next i
Close #1
For i = 0 To .cbxProxyServer.ListCount - 1
print #1, .cbxProxyServer.List(i)
Next i
Close #1
还有就是用FileSystemObject也可以