Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

about zip and floppy 3 1/2"

Status
Not open for further replies.

bigdad

Programmer
Jul 17, 2001
34
0
0
VE
Hi everybody, I need your help about two think

firts one: Some body know how can I to turn in a zip file any file (to be more specific: a table) using VFP code or if some know where can I find this code

the second one is: I´ve a code that send some file to floppy 3 1/2" but mi question is ¿How can I know if the diskette is ful or if it´ve protection?

I hope someone can help me

thank´s

Bigdad
 
BigDad

First question is unclear as to what you want to do. But if its to zip a file in VFP, use the keyword search on this forum, I'm sure you'll find what your need.

Second question:
oFSO = CREATEOBJECT("Scripting.FileSystemObject")
oDrv = oFSO.GetDrive("A:")
? oDrv.IsReady
Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Also using VFP commands:

nBytes = DISKSPACE("A:")
nBytes = free space on a: drive

nResult = FCREATE("A:\TEST.TXT")
IF nResult < 0
*... unable to create file
ELSE
FCLOSE(nResult)
ERASE A:\TEST.TXT
ENDIF
Dave S.
 
For the first question, try this thread:
thread184-464432
Dave S.
 
thank´s you guy, your help where very good

bigdad
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top