|
-
Aug 12th, 2007, 12:36 AM
#1
Thread Starter
New Member
How to Burn CD using Visual Basic 6??
hi..im a newbie here..i really need help.. does anyone here has Coding In Visual Basic 6 to burn file to CDRW.. i have tried XPburnObj.dll function n copy to the windows system32 folder and register it in Command Prompt >> " regsvr32 XPburnObj.dll " after the registration..i create a new application in Visual Basic 6 using Std exe and load a form and then drag a command button in the form and put the below code in it..i hv locate a file which is called test.txt in C: drive (based on the coding) you can pick any file and just rename it to test and save it in notepad as text file(... .txt)
Dim foo As Object
Private Sub Command1_Click()
Set foo = CreateObject("BaydenBurn.XPBurn")
MsgBox ("Is XP Burning ready: " & foo.Equipped)
MsgBox ("Burn staging area: " & foo.BurnArea)
MsgBox ("Add file1: " & foo.addfile("C:\test.txt"))
foo.startburn
End Sub
there is no errors but the burning never start..plz help me..
Last edited by warknee; Aug 12th, 2007 at 09:50 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|