TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
how can you write CD in VB.net
keshav singh
May 23, 2012
12.4
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
write the CD in vb.net
first you have to download the
Xpburncomponent.dll
:
http://download.microsoft.com/download/6/9/c/69c5d1b7-e3ac-4986-99f1-0c55dc374d66/xpburn.msi
now you have to take three buttons on window form
in form.vb:
Private Sub eject_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim ej As New XPBurn.XPBurnCD
ej.Eject()
End Sub
Private Sub erase_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Dim er As New XPBurn.XPBurnCD
er.Erase(EraseKind.ekQuick)
End Sub
Private Sub burncd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
Dim w As New XPBurn.XPBurnCD
w.AddFile("C:\sh.dat", "sh.dat")
w.RecordDisc(False, True)
End Sub
how can you write CD in VB.net
Next Recommended Reading
Create a Text File and Write in it in Window Application