VB.NET Tutorial For Beginners - Writing to a File with StreamWriter (Visual Basic .NET)

preview_player
Показать описание
In this beginner Visual Basic .NET programming tutorial, I'll be teaching you how to write information to a file using the .NET StreamWriter and save it to disk with the SaveFileDialog. I'll also demonstrate how you can use the StreamWriter to create a basic web page using HTML.

Tutorial Features:
VB.NET StreamWriter - Create and Write data to a file
SaveFileDialog - Browse computer for file saving
VB.NET Form Controls - TextBox, Command Button
Basic HTML/CSS
Рекомендации по теме
Комментарии
Автор

Thanks. Your voice is so calming and your pace suits myself which makes me understand this better

mukmenmuhammad
Автор

As usual, many years on since you made this, it's helped me! Thanks for all the hard work you put into these videos!

james
Автор

Excellent work you are explain easy way to understand.. I am glad to find your VB Toolbox ..

anthonyraj
Автор

Excellent video and really helpful. Now if you'd make a video on how to write rows of an Access DB to a text file, I'd be the happiest of campers!

steveharris
Автор

i tried doing this in Visual Studio 2017. it wouldn't allow me to save the file without first creating a file and 'Saving As'. Any suggestion what the issue is? Thanks.

orchidg
Автор

why not SW.WriteLine(TextBox1.Text) ? i tried and succesfully without error. And can save multiline of text... cmiiw. thanks

gigitmarigit