<%@ Page Language="vb" %> <html> <head> <title>Writing Output in ASP.NET</title> <script runat="server"> Sub Page_Load() Dim myWriter As System.IO.TextWriter myWriter = Response.Output myWriter.WriteLine("Hello, World!") End Sub </script> </head> <body> <asp:label id="myMessage" runat="server"/> </body> </html>