How Can I Give A Nice Print Friendly Feature Through IE For My Website Visitors

I just wanted to know if anyone can tell me how can I give my website visitors the feature of "FRIENDLY PRINTING" through IE. Code:

View Replies


ADVERTISEMENT

If Table Doesn't Exist Give A Friendly Message

Just when I thought I was done , I try going to the "myfolder.asp" page and I get an error:

Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E37)
[MySQL][ODBC 3.51 Driver][mysqld-3.23.55-nt]Table 'streetguide.max' doesn't exist
/streetguide03/members/myfolder.asp, line 73

Line 73 is in red.

This is because the user didn't have a folder created, because they didn't save anything to their folder. On another page I have code that creates a table with the same name as the UserName, only if they decide to save something in their folder. Code:

View Replies View Related

Printer Friendly Page :: Directly Print The Content From Textbox Data

how to print the content of a multiline textbox without taking the content to some other "printer friendly" page. I just wanna send whatevers in the textbox directly to the printer.

View Replies View Related

On IIS 5.1 ASP Pages Give 404 Error

I have been trying to submit a html form to an asp page. This results in 404 error. When i call a separate asp page with just a response.write or with a small text file i/o operation, it works fine.

But when i use a simple htm form with a text box and submit button gives a 404 error. All the pages exists. I use WinXP Pro/IIS 5.1.

Am i missing anything in settings? I tried restarting, reinstalling IIS and updating the patches to the latest but not of much help.

View Replies View Related

Add Str Numbers To Give A Total

tell me the syntax for adding string numbers together to give a total? Code:

strNumber1 = 4
strNumber2 = 2
strTotal = strNumber1 + strNumber2


The above code gives the result 4+2

If I change the strtotal to strNumber1 * strNumber2 it gives the result 8

If I change the strtotal to strNumber1 / strNumber2 it gives the result 2

If I change the strtotal to strNumber1 - strNumber2 it gives the result 2

So what do I use to get it to add the numbers together .

View Replies View Related

Give Dependent Listbox

how to give dependent listboxes in asp code.

View Replies View Related

How To Give Physical Path

Please let me know how to avoid giving physical path & line number in the
error messages of web applications. Instead i would like to replace it with
general error message to the user.

View Replies View Related

Print An ASP Form By Clickng Print Button On Same Page

i make a data display page, its showing all records, now i want user just press print button, and that print all data on screen, secondly user input 2 dats From ..... To......, so data in between that day will print,

View Replies View Related

Wscript.Shell Run PRINT And NET PRINT Returns Nothing

No error or any feedback that I can work with.

Code:
set objShell = Server.CreateObject("WScript.Shell")

objShell.Run "%comspec% /c NET PRINT GarchiveISLaser[color=blue]
>c:WUTempPrinter_Status1.txt", 0, True[/color]
objShell.Run "%comspec% /c PRINT /d:GarchiveISLaser c:WUTemp est.txt",
0, True

Set objShell = nothing

I can run these commands successfully from the command-prompt on the server
but from an ASP page, I get nothing not even an error. The Text output for
NET PRINT is a blank text file.

I feel something is different on the permissions side because this
code/approach use to work fine.

View Replies View Related

Self.print Without Browser Print Prompt

When I use self.print the browser launches the print prompt, then I have to manually press print... DOes anyone know how to get around this.

View Replies View Related

Day() Feature

I'm having a hard time with the Day() function. Basically, it appears
to be picking and choosing which part of a date string it uses to
return the result ... heres some code :

View Replies View Related

Get The Name Of Visitors

I am trying to have a simple chat program in my website. Currently, I can send and receive back and forth between myself and somebody else if I ask and know that person is logged in and his/her user name or ID. How can I list the name/userID of current visitors in my website.

View Replies View Related

New Forum Feature?

I've noticed changes to the forum, for instance... the addition of a "time spent on forums" and user-post "bar" thingiemabob

...And on the front-page I'm presented with a link to "View my warnings"

Which is obsolete, considering that I don't have any warnings (oh, I'm such a little angel!)

Any news or admin care to comment on this?

View Replies View Related

Attachment Feature

Where do you think I can get just this feature alone in ASP?I just need this feature and not this whole forum. Any other similar product I can use or try?

View Replies View Related

Adding Feature

I am very new to ASP and I am trying to add an existing script.I have an open source shopping cart and I want to add real time shipping rates from USPS.

I have a username and password for the USPS server,but I am having trouble figuring out where to place it. Also if someone as a script to send and recieve data from the USPS server that would be great.

View Replies View Related

Search Feature

I need to provide the search feature on the companys web site. I have read one of the threads here that this can be accomplished via Google. I can't locate the thread anymore. Is it possible? could you please point me to the right resources?

View Replies View Related

Get Visitors IP Address

How can I grab the IP address of a visitor to my site so I can store it in a
session variable?

View Replies View Related

OnLine Visitors

I wanted to ask for a help for my site. I want to make script that will show the number of visitors, how many visitors are curently on the site.

View Replies View Related

Visitors Counter

can anybody show me how to create a visitors counter which can save the visitors details and the date into text file?

View Replies View Related

Number Of Visitors

Did anyone know how to do the fuction to display the number of visitor that visit certain site.

View Replies View Related

Redirect Web Visitors

This article demonstrates a way to translate IP address to country of origin using ASP and COM technology. Cool.

http://www.ip2location.com/articles/article1.htm

View Replies View Related

Most Visitors Ever Code

How would I determine the most visitors ever using global.asa?

View Replies View Related

How Many Visitors Currently Browsing ?

How I know in ASP that how many visitors are cuurently on a particular page or website.

View Replies View Related

Login Feature Using MS Access

I have a website which requires login. The login function works fine, but I want to display this message when someone is logged in: "Welcome, Firstname Lastname". Here is the code for login.asp: Code:

View Replies View Related

Log In Feature Using Two Access Tables

I have a login feature but i want to be able to let users from different tables to log in. The data base is Access and the code is from DreamWeaver MX.

The computer recognises that there are two tables. However i get the message:

Microsoft JET Database Engine error '80004005'

The specified field 'userID' could refer to more than one table listed in the FROM clause of your SQL statement.

/members/loginform.asp, line 21

This is the code:

View Replies View Related

Framed Page Feature

i want to have this feature implemented on a framed page: a two paged frame with:

frame (a) containing a textbox and submit button
frame (b) dispays the url entered in the textbox

i have no idea how i'll program the textbox to accepts urls and open the link in the target frame.

View Replies View Related

Calendar Control Feature

I would like to insert a calendar into a webpage that shows the current date and really needs no updating, fro mthis calendar i would like to select a date from it and have that date inserted into a text field, in all there will be 22 text fields (but for now its probably best to concentrate on one).
The reason being i would like to give the user of the website access to change dates in a table in access. The dates can be calculated from the first date entered into the first text field like so:
All dates will be 7 days apart. Ie if the firsat date is 1/7/04 then make the second 8/7/04 and the third 15/7/04 etc 22 times.

View Replies View Related

Sorting Asc/desc Feature

I'm building my ASP pages using dreamweaver 8 and some code that I learned along the way.

Can anyone tell me how can I sort (or order) the records in a table just by clicking on any of the columns?

View Replies View Related

Simple Search Feature

i have a text field that the user can input a keyword to search on. i want it to search two fields in my database: productName and productDetails. can someone tell me the sql i would have to use? I know it would be a mixture of using the WHERE and LIKE commands.

View Replies View Related

Auto-remove Feature

I have an email program, that I wrote for my newsletter. When I send my emails, I am getting more and more bad emails. Is there a way to have an auto remore feature that will remore the email from my database?

View Replies View Related

User Login Feature

the database works is it checks over a database and verifies the username & pass with code. Then the user enters the site and there's a seperate table to keep a record of when users log in and log out.

Well basically I'd like to know if and how I could apply a filter using asp code? I'd like to filter out everything but <%Session("name")%> (which displays their username) so that user logged in can view their own records.

View Replies View Related

Site Login Feature

I am creating a message board in ASP, and I want to create a login feature where you can view the site without being logged in as a registered user, or you can be logged in and use more features.

What is the best way to go about doing this? Should I use cookies, or should I just try to create a login feature using VBScript and Database values?

View Replies View Related

Upload File Feature

how to provide the feature for ploading files from a website? i want sum people to b able to upload their files to my server from website, and I am going to read these files later on for ifferent application. am using ASP and vbscript for my applications.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved