Skip to content

Commit 7a90b9f

Browse files
committed
reset file
1 parent 08a39f2 commit 7a90b9f

File tree

1 file changed

+16
-3
lines changed
  • snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString

1 file changed

+16
-3
lines changed

snippets/visualbasic/Microsoft.VisualBasic/Conversion/ErrorToString/Class1.vb

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ Class Class131e78f92efd4581b45c74fe89d347c9
162162
' AppActivate can also use the return value of the Shell function.
163163
' Shell runs a new instance of Notepad.
164164
notepadID = Shell("C:\WINNT\NOTEPAD.EXE", AppWinStyle.NormalFocus)
165-
' Activate the new instance of Notepad.
165+
' Activate the new instance of Notepad.
166166
AppActivate(notepadID)
167167
' </snippet11>
168168
End Sub
@@ -673,6 +673,19 @@ Class Class9045d32008404af991a27cbcb5d8e971
673673
End Sub
674674
' </snippet42>
675675

676+
Public Sub Method43()
677+
' <snippet43>
678+
Dim MyArray(4, 9) As Integer
679+
' </snippet43>
680+
End Sub
681+
682+
Public Sub Method44()
683+
' <snippet44>
684+
Dim hellow As String = "Hello World"
685+
FilePut(1, hellow)
686+
' </snippet44>
687+
End Sub
688+
676689
End Class
677690

678691
Class Class921c78db83274a058ea0008091637cb1
@@ -725,7 +738,7 @@ Class Class9ed3ccc23d9746eba40ee12179d14e1d
725738
Public Sub Method48()
726739
Dim MyRecord As System.ValueType
727740
MyRecord = Nothing
728-
' <snippet48>
741+
' <snippet48>
729742
FileOpen(1, "TESTFILE", OpenMode.Random)
730743
Do While Not EOF(1)
731744
WriteLine(1, Seek(1)) ' Write record number.
@@ -977,7 +990,7 @@ Class Classd06c20ec71d445b5b34e9d68cdc6f593
977990
aBool = False
978991
aDate = DateTime.Parse("February 12, 1969")
979992

980-
' Dates and Booleans are translated using locale settings of
993+
' Dates and Booleans are translated using locale settings of
981994
' your system.
982995
WriteLine(1, aBool & " is a Boolean value.")
983996
WriteLine(1, aDate & " is a date.")

0 commit comments

Comments
 (0)