Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 28th, 2005, 12:18 AM
Authorized User
 
Join Date: Jan 2005
Location: , , .
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default It doesn't PRINT!! Help Please

I just typed in HELLO but it doesn't print .... do i miss something? where? can youi give ne am example? thanks...
-------------------------------------------------------
<%@ Language=VBScript %>

<HTML>
<BODY>
<FORM METHOD=POST ACTION="bingo1.asp" id=form1 name=form1>
<input type=hidden name=item value=<% = Request.form("item") %>>
<INPUT TYPE=text NAME=item><BR>
<INPUT TYPE=SUBMIT VALUE="Click Me">
</BODY>
</HTML>
----------------------------------------------------------

<%@ Language=VBScript %>
<% Option Explicit %>

<HTML>
<BODY>
<%
Dim fso, folder,f,ts

Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fso.GetFile("w:\boseo\test.txt")
Set ts = f.OpenAsTextStream(1,-2)

do while ts.AtEndOfStream = false
  Response.Write ts.ReadLine & "<BR>"
loop
%>

</BODY>
</HTML>

 
Old January 28th, 2005, 12:49 AM
Friend of Wrox
 
Join Date: Oct 2003
Location: Cochin, Kerala, India.
Posts: 463
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to madhukp
Default

What do you mean by "type in" ? ASP is not an interactive language like console type languages C etc. You have to submit something to an ASP page and it works only at server and not on your desktop.

You need to pass the word "HELLO" to the function funcWriteStringVertically.

Please do not post it in many topics. Post it in a single area in a single issue. Continue the discussion in the same thread. If others are not responding, you may try some reminders. Anyway do not start 10 topics for the same problem.




Similar Threads
Thread Thread Starter Forum Replies Last Post
Textbox problem print preview vs. print jenisageek Access 5 May 2nd, 2008 12:54 PM
print the hidden page without the print dialog box kayzem Classic ASP Basics 0 April 21st, 2005 11:31 PM
Print and print preview file on the website withou appleLover General .NET 0 February 19th, 2005 02:24 AM
Macro to print to different print objects mikericc Access 1 April 21st, 2004 10:57 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.