Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP code to VB
Message
De
07/07/2000 02:32:26
Victor Lapid
Phil. Long Distance Tel. Co.
Manila, Philippines
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
VFP code to VB
Divers
Thread ID:
00389320
Message ID:
00389320
Vues:
44
Hi!

I need this code to be converted to VB. This procedure contains low level function used for opening a file and writing into it.

Please help me.

The code goes like this:

ewsdfle="c:\ewsd\data"
cBuffer="skjflkjasdfjas;ldf;lasfd"

if !file((ewsdfle))
x = fcreate((ewsdfle), 0)
Else
x = fopen((ewsdfle), 12)
End If
if x<0
wait window "cannot open file with fcreate or fopen"
End If

=fseek(x,0,2)
=fputs(x,cbuffer)
=fclose(x)
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform