beginner

Results 1 to 4 of 4

Thread: beginner

  1. #1
    Join Date
    Dec 1969
    Posts
    572

    Default beginner

    My ASP files Do Not run (I get an empty page) on my local IIS 4.0(server is up).Please Help!<BR>

  2. #2
    Join Date
    Dec 1969
    Posts
    155

    Default RE: beginner

    Alex:<BR><BR>Thats a bummer. I am sure it is just a minor<BR>technicality. For starters, if you received a blank page when you executed the asp file, then it probably did run. ASP will throw error messsages if it doesm&#039t like something. Sounds like the problem is the values. Can you send the code?<BR>That will tell a lot<BR><BR>Rob Taylor<BR>taylo@bannerclass.com<BR>www.cartography today.com<BR>Be sure to stop by and vote

  3. #3
    Join Date
    Dec 1969
    Posts
    572

    Default RE: beginner

    Thanks for reply.<BR>Here is the code:<BR>&#060;%@ Language="VBScript"%&#062;<BR>&#060;% For i=1 to 7 <BR>Response.Write "AAA"<BR> Next <BR> MsgBox "OOOOOO" %&#062;<BR>&#060;html&#062;<BR>&#060;head&#062;<BR >&#060;title&#062;testpage&#060;/title&#062;<BR>&#060;/head&#062;<BR>&#060;body&#062;<BR>&#060;/body&#062;<BR>&#060;/html&#062;<BR>

  4. #4
    Join Date
    Dec 1969
    Posts
    155

    Default RE: beginner

    Are you saving it as a .asp file?<BR>Do not save this as a .html file.<BR>You are going to need to call that function.<BR>You have all that code above thte body<BR>of the html code. That means you need<BR>to call that function.<BR><BR>for example<BR>&#060;%<BR>Public Function showBox()<BR>For i=1 to 7 <BR>Response.Write "AAA"<BR>Next <BR>MsgBox "OOOOOO"<BR>End Function<BR>%&#062;<BR><BR>BODY onload=&#060;%="showBox()"%&#062;&#062;<BR>or<BR>& #060;A HREF="blah.html" onClick=&#060;%="showBox()"%&#062;&#062;<BR>or<BR> &#060;FORM onSubmit=&#060;%="showBox()"%&#062;&#062;<BR><BR>I f you do not want to do it this way, put the code in the body of the document exactly where you want to use it<BR><BR>&#060;BODY&#062;<BR><BR>&#060;%<BR>For i=1 to 7 <BR>Response.Write "AAA"<BR>Next <BR>MsgBox "OOOOOO"<BR><BR>%&#062;<BR>&#060;/BODY&#062;<BR>&#060;/HTML&#062;<BR><BR>Give it a shot.<BR><BR>Rob Taylor<BR>www.cartographytoday.com


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •