Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Equivalent VB function for FREAD, FOPEN, FWRITE of VFP..
Message
 
General information
Forum:
Visual Basic
Category:
Other
Miscellaneous
Thread ID:
00353138
Message ID:
00353413
Views:
16
What we are trying to do is that majority of our applications should have: VFP & VB version so that clients couldn't resist us anymore. :-)

>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."
Previous
Reply
Map
View

Click here to load this message in the networking platform