Last active
August 29, 2015 14:19
-
-
Save naranjja/1ac8d4b6a14ba8af81af to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dim file As System.IO.StreamWriter | |
'Abre el escritor de archivos de texto ("lugar", escribir en nueva línea?) | |
file = My.Computer.FileSystem.OpenTextFileWriter("c:\test.txt", True) | |
file.WriteLine(ComboBox.SelectedItem) | |
'El texto de las opciones de un combo box se almacena en ComboBox.SelectedItem | |
file.WriteLine(TextBox.Text) 'El texto de un text box en TextBox.Text | |
file.WriteLine(HScrollBar.Value) 'El valor de un scrollbar horizontal en HScrollBar.Value | |
file.WriteLine(VScrollBar.Value) 'El valor de un scrollbar vertical en VScrollBar.Value | |
file.WriteLine(ProgressBar.Value) 'El valor de un progress/loading bar en ProgressBar.Value | |
file.WriteLine(CheckBox.Text) 'El texto de un check box en CheckBox.Text | |
file.WriteLine(RadioButton.Text) 'El texto de un check box en RadioButton.Text | |
file.Close() 'Se cierra el escritor de archivos de texto |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment