Thanks folks! Your inputs are highly appreciated.
>To add to Éric suggestion, you may also take a look at WSH. Here is a small example to create a file and write a simple line in it:
>
>Dim FileSystemObject as Object, loLogFile as Object
>Set FileSystemObject = CreateObject("Scripting.FileSystemObject")
>Set loLogFile = FileSystemObject.CreateTextFile("C:\Test.TXT", True)
>loLogFile.WriteLine "Test"
>loLogFile.Close
>Set loLogFile = Nothing
>Set FileSystemObject = Nothing
>
>You have to check "Microsoft Script Control 1.0" in Project|References before using that example.
>
>HTH
>I want to manipulate a text file with 5 rows using VB. In VFP, I used FREAD, FOPEN, and FWRITE, how to do this in VB.
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net
CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."