PC Review


Reply
Thread Tools Rate Thread

can't get a W3 schools example running

 
 
PJ6
Guest
Posts: n/a
 
      15th Aug 2005
OK, what kind of file(s) do I put this in to get it to work?

Oh, if it matters, I'm stuck with VS.NET 2002 at the moment.

Paul

<script runat="server">
Sub Page_Load
link1.HRef="http://www.w3schools.com"
End Sub
</script>
<html>
<body>
<form runat="server">
<a id="link1" runat="server">Visit W3Schools!</a>
</form>
</body>
</html>



 
Reply With Quote
 
 
 
 
Grant Merwitz
Guest
Posts: n/a
 
      15th Aug 2005
That would need to go in an ASPX file.
It will also need the page directive at the top
<%@ Page Language="VB" %>

It will also need to be running through a web server like IIS (ofcourse
having the .NET framework installed which is included with Visual Studio)
Attached is the page you need.

Is this what you wanted?



"PJ6" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> OK, what kind of file(s) do I put this in to get it to work?
>
> Oh, if it matters, I'm stuck with VS.NET 2002 at the moment.
>
> Paul
>
> <script runat="server">
> Sub Page_Load
> link1.HRef="http://www.w3schools.com"
> End Sub
> </script>
> <html>
> <body>
> <form runat="server">
> <a id="link1" runat="server">Visit W3Schools!</a>
> </form>
> </body>
> </html>
>
>
>





 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Schools Madxgraphics General Discussion 12 5th Dec 2008 11:50 PM
using contacts for schools =?Utf-8?B?dmljdG9yaWEzMw==?= Microsoft Outlook Discussion 1 28th Aug 2006 12:13 AM
VB.net for schools =?Utf-8?B?am9obiBhbmRyZXc=?= Microsoft VB .NET 17 25th Nov 2004 07:46 AM
Re: schools Steve Easton Microsoft Frontpage 8 2nd Mar 2004 10:01 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:17 PM.