'Public Sub New(handle As Microsoft.Win32.SafeHandles.SafeFileHandle, access As System.IO.FileAccess)': Argument not specified for parameter 'handle'.
'Public Sub New(handle As System.IntPtr, access As System.IO.FileAccess)': Argument not specified for parameter 'handle'.
'Public Sub New(path As String, mode As System.IO.FileMode)': Argument not specified for parameter 'path'.
Occurs because the filepath argument is missing
Dim FS As FileStream = New FileStream(, FileMode.Open)
Solution
Dim FS As FileStream = New FileStream(“c:\sample.txt”, FileMode.Open)
No comments:
Post a Comment