![]() |
| | #2 (permalink) | ||
|
in 6.0 sau .net? .net Imports System.IO Dim path As String = "c:\test.txt" Dim StreamW As StreamWriter If File.Exists(path) = False Then StreamW = File.CreateText(path) StreamW.WriteLine("test1") StreamW.WriteLine("test2") StreamW.WriteLine("test3") StreamW.Flush() StreamW.Close() End If
__________________ I sell suicide solutions! Last edited by asmvax; 26-03-2007 at 12:40.. | |||
|
| | #4 (permalink) | ||
|
vb 6.0 trebuie creat pe c un fisier text.txt asta scrie in fisierul test.txt Open "C:\test.txt" For Output As #1 Write #1, 123 Close #1 asta citeste din fisier(trebuie sa se gaseasca niste informatii in fisier) Dim test As String Open "c:\test.txt" For Input As #1 Do Until EOF(1) Line Input #1, test Loop Close #1
__________________ I sell suicide solutions! Last edited by asmvax; 26-03-2007 at 23:42.. | |||
|
| Advertisment | |
Cumpără jocuri prin SMSRapid si sigur! | |
![]() |
|
| Thread Tools | |
| |