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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FileXtra

Status
Not open for further replies.

Baixinha

Programmer
Dec 27, 2000
122
BR
I'm using the xtra FileXtra3 to save some images that are in CD-ROM when the user clicks on the button, but is not working correctly. I'm learning to use this xtra now and I don't know if my code is correct. I need to open a dialog box Save As, and when the user clicks on save, the program verify if there is space on HD, and after save the image.

on mouseup
fxObj=xtra("FileXtra3").new()
put fxObj.fx_FileSaveAsDialog("c:\","Arte_01.tif","Save As",True)
fxObj=0

if fxObj.fx_FileGetSize("..\images\Arte_01.tif") > fxObj.fx_VolumeGetTotalBytes("c:\")then
--here I need to verify the volume that the user selects
alert("Out of Space!")
else
put fxObj.fx_FileCopy ("..\images\Arte_01.tif","c:\Arte_01.tif")
--here I need to copy the image Arte_01.tif from CD_Rom to
--the folder that the user selects
fxObj=0
end if
end



 
sorry I responded here, but I can't figure out how to respond to your very helpful answer regarding mpegs.
when using the DirectMedia Xtra, does the end viewer have to do any installing? I am trying to avoid the viewer having to do anything other than watch the cd!

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top