-1
タイトルに記載されているように私はvb.netアプリケーションをソースコードを無視して表示するだけですウェブサイト。私はそれがここ を事前/コード前及び/コードを無視したいよ、私が持っているコードです:私のvb.netアプリケーションをウェブサイト上のテキストのみを表示し、ソースコードを無視するようにするには
Public Class Form1
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Dim Str As System.IO.Stream
Dim srRead As System.IO.StreamReader
Try
Dim req As System.Net.WebRequest = System.Net.WebRequest.Create("http://junkcode.gehaxelt.in/")
Dim resp As System.Net.WebResponse = req.GetResponse
Str = resp.GetResponseStream
srRead = New System.IO.StreamReader(Str)
RichTextBox1.Text = srRead.ReadToEnd
Catch ex As Exception
RichTextBox1.Text = "Content Cannot Be Downloaded"
Finally
srRead.Close()
Str.Close()
End Try
End Sub
Private Sub VScrollBar1_Scroll(sender As Object, e As ScrollEventArgs)
End Sub
End Class
リッチテキストボックスではなくコンテンツをレンダリングするために、Webブラウザコントロールを使用します。 –