Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fopen - Datatype mismatch
Message
From
18/07/2006 19:57:46
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
18/07/2006 11:29:01
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01137264
Message ID:
01137449
Views:
20
>strFile ="h:\abc.txt"
>When I run =Fopen(strFile)
>there is an error said "DataType mismatch"
>
>What's wrong it is??
>thanks a lot

First of all, you should save the result of fopen() to a variable, so that you can do further manipulation on the file later (read and/or write, and later close the file).
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform