Header Banner
wonderhowto.mark.png
Gadget HacksNext RealityFood HacksNull ByteThe Secret YumiverseInvisiverseMacgyverismsMind HacksMad ScienceLock PickingDriverless
Home
VB.NET

How to Use save file & stream writer w/ a list box in VB.Net

Apr 2, 2010 12:50 PM
File list showing fruits including apples, pears, peaches, bananas, oranges, and grapes.

In this Computers & Programming video tutorial you will learn how to Use save file dialog and stream writer with a list box in VB.Net. Open up a ListBox and you will have a ListBox1 with a blank text box, Add Item and Save Item buttons on your screen. It will also have a save file button at the bottom. On the top of the panel, click Form1 and thereafter, the video shows the various parts of the code on the screen. Then click on Debugging, and add text in the blank text box and click Add Item. The text gets added to the ListBox1. Repeat the process for all text you want to add and finally click on Save Item, give it a file name and Save. That's it. For checking, you can go to your C drive, locate the file, open it and see that the text is there.

The next big software update for iPhone is coming sometime in April and will include a Food section in Apple News+, an easy-to-miss new Ambient Music app, Priority Notifications thanks to Apple Intelligence, and updates to apps like Mail, Photos, Podcasts, and Safari. See what else is coming to your iPhone with the iOS 18.4 update.

Related Articles

Comments

No Comments Exist

Be the first, drop a comment!