Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Burn CD from VFP
Message
From
15/04/2003 18:18:08
Peter Easson
Catalina Trading
Sydney, Australia
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Burn CD from VFP
Miscellaneous
Thread ID:
00778113
Message ID:
00778113
Views:
76
For those of you that are interested in writing CDR/RW from VFP, here is an ActiveX that I quickly tested yesterday and it works fine. Copy this code to the command window and 'execute selection'

Download available from http://www.nctsoft.com
D1 = CREATEOBJECT("NCTDiscWriter.DataCDWriter.1")
D1.DriverOpen 		&& essential first command
? d1.cdtype
? d1.DriveType
? d1.driveBufferSize
? d1.driveCurWSpeed
? d1.driveVendor
? d1.cdUsedSpace           && up to here just fun info

&& do while whatever   
	? d1.DataAddItem("C:\FoxTest") && Add folders here
&& enddo
? d1.StartWrite
? d1.writeFinalizeCD && after this CD ejects
d1 = null
Next
Reply
Map
View

Click here to load this message in the networking platform