
Can't seem to make server-side VBScript work
Try this instead:
<html>
<head>
<title>start</title>
<meta name="GENERATOR" content="Microsoft FrontPage 3.0">
</head>
<body>
<p>start</p>
<p><%Response.Write "<B>middle</B>"
%></p>
<p> </p>
<p>end</p>
</body>
</html>
You need to read up on VB script syntax and get familiar with objects,
properties, methods, etc. (so do I :) Then you can script to your hearts
content!
Some great sites:
The following places offer free support for Microsoft FrontPage:
Microsoft FrontPage Support Options at
http://www.microsoft.com/frontpage/support.htm
Microsoft FrontPage Advanced Support Options at
http://support.microsoft.com/support/c.asp?PR=FPG&M=F
Akorn Access also has a very helpful e-mailing list you can be on;
you can subscribe at http://www.akorn.net/fpreffaq.htm
MD Tips at http://www.websunlimited.com/mdtips.htm
Keith Parnell's FrontPage Help at
http://surfdesign-webs.com/frontpage
FrontPage 98 Refugee Camp at http://www.TNTenterprises.com/frontpage/
Microsoft FrontPage Support Area at
http://www.pmpcs.com/support/frontpage.htm
Peter Perchansky, Computer Consultant & Microsoft FrontPage MVP
PMP Computer Solutions
FrontPage Web Hosting at
http://www.pmpcs.com/services/fpwebhosting.htm
FrontPage Support http://www.pmpcs.com/support/frontpage.htm
Kevin Spencer's page - lots of good stuff there.
http://www.connectrans.com/takempis/
Stephen Genusas Frequently Asked Questions
http://www.15seconds.com/faq/default.asp
Hope that helps,
James Schuldes
Information Processing Consultant
School of Business Administration
University of Wisconsin - Milwaukee
http://www.uwm.edu/Dept/Business/SBA
Quote:
>What am I doing wrong?
>I would expect this script to show "start - middle - end" but it shows only
>"start - - end". I've tried it with one, two and three quote marks around
>the literal word "middle", to no avail.
>It would appear that server-side scripts aren't working on my IIS 3.0
server
>(with FP98 Gold Server Extensions installed; FP Server Administrator
reports
>V3.0.2.926, and "server configuration file" is unused).
>Other information: The Web Page properties are set for VBScript on all
>directories of the website, and permissions are Read and Execute. I've
>proven to my satisfaction that client-side VBScript works.
>Any help gratefully appreciated. I don't know what I don't know!
>The simplest test script I could imagine:
><html>
><head>
><title>Server-side VBScript test</title>
></head>
><body>
><p>start - <%= """middle"""%> - end</p>
></body>
></html>