Kod:Kod: Zaznacz cały
ResponseStream = [b]Response.GetResponseStream[/b] (1) Reader = [b]New StreamReader(ResponseStream, System.Text.Encoding.UTF8)[/b] (2) Dim Line As String
Zaznaczone linijki powoduja następujące błędy:
Kod:o co może chodzić?Kod: Zaznacz cały
(1). Value of type 'System.IO.Stream' cannot be converted to 'System.IO.StreamReader'. (2). Overload resolution failed because no accessible 'New' can be called with these arguments: 'Public Sub New(path As String, encoding As System.Text.Encoding)': Value of type 'System.IO.StreamReader' cannot be converted to 'String'. 'Public Sub New(path As String, detectEncodingFromByteOrderMarks As Boolean)': Value of type 'System.IO.StreamReader' cannot be converted to 'String'. 'Public Sub New(path As String, detectEncodingFromByteOrderMarks As Boolean)': Value of type 'System.Text.Encoding' cannot be converted to 'Boolean'. 'Public Sub New(stream As System.IO.Stream, encoding As System.Text.Encoding)': Value of type 'System.IO.StreamReader' cannot be converted to 'System.IO.Stream'. 'Public Sub New(stream As System.IO.Stream, detectEncodingFromByteOrderMarks As Boolean)': Value of type 'System.IO.StreamReader' cannot be converted to 'System.IO.Stream'. 'Public Sub New(stream As System.IO.Stream, detectEncodingFromByteOrderMarks As Boolean)': Value of type 'System.Text.Encoding' cannot be converted to 'Boolean'.
Dodam tu, bo na mx odpowiedzi nie otrzymam:
Kto jest online
Użytkownicy przeglądający to forum: Obecnie na forum nie ma żadnego zarejestrowanego użytkownika i 11 gości