Hello everyone Ive been writing vba for the past 5 years and im know trying to learn vb.net however i have a small project wich has me trumped.
I'm trying to write hello world without line feed or carriage return and im getting nowwhere.
here is the code i thought would do that for me and that im using.
Private Sub Bynary_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Bynary.Click
Dim aFileStream As FileStream
Try
aFileStream = New FileStream("C:\test2.txt", FileMode.OpenOrCreate, FileAccess.Write)
Dim myBinaryWriter As New BinaryWriter(aFileStream)
myBinaryWriter.Write("Hello world")
'myBinaryWriter.Write(1)
Catch ye As Exception
Console.WriteLine(ye.StackTrace)
Finally
If Not (aFileStream Is Nothing) Then aFileStream.Close()
End Try
End ...
Go to the complete details ...