Cd burning?

ayyappashrine

New member
Joined
Dec 19, 2009
Messages
1
Programming Experience
Beginner
Dear friend, pls tell me how to burn cd using vb.net

give me a very very simple pgm to write a line "hello how are you" in a file "mycdfile" into the cd/dvd

already i tried to write the pgm as follows, provided my cd/dvd always opens in drive 'G:\'

but it didnt work saying that 'no privilege is available' and 'cd is readonly' .. pls help to solve this problem

Public Class fileform

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Dim sw As IO.StreamWriter = IO.File.CreateText("G:\" & TextBox1.Text)
sw.WriteLine(TextBox2.Text)
sw.Close()
End Sub

End Class


pls help..

this is the first time i use this forum...
i dont know correctly how to get the answers for my question...


THANK YOU SO MUCH.......
 
Last edited by a moderator:
Back
Top