Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
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 %>

<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>

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

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>"


Reply With Quote
  #2 (permalink)  
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

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.
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

All times are GMT -4. The time now is 12:56 PM.

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