Controlling Printer Setup

I have an ASP page where I need to give users a button to print the screen in ladscape. How do i do it in vbscript or in javascript. Can't convert the data to pdf and send it to them.If i have to use printer object can someone show me how to create/instantiate a printer object before i can print it.

View Replies


ADVERTISEMENT

Printer Setup

Is there code that I can write that will change the user's printer setup so that my web page will always print out on one page. I would like the output of the page to look the same no matter who is printing the page. How do I do this?

View Replies View Related

Controlling Services

since we run BIND as our DNS, I'd like to be able to force it reload changed zone files via an ASP page. I don't need to restart the service itself. There is a specific command that can be sent to it that'll reload the zones without restarting the service, but I don't know how to execute it.

i'd like to be able to create and manage IIS websites from an ASP page. Is there any documentation on this? It must be possible, but I can't find out how.

View Replies View Related

Controlling Content With Variables

I am looking for the code to enable me to change the content of my asp site through the ajustment of variables.

I have index.asp (content included into this)

Would like to be able to have 'index.asp?page=Contact'

And it would 'include' the contact.asp information into index.asp

I found some code in another thread but didnt want to hijack it. This is down the right lines but it wouldnt work for me

Quote: Server object error 'ASP 0230 : 80004005'

Server.Transfer Error

/SITETEST/test2/index.asp, line 28

The call to Server.Transfer failed while loading the page. and it doesnt control content through includes. Code:

View Replies View Related

Controlling Random Records

i am currently working on an online test tool using ASP. Now, the questions would be generated randomly from a database(access), so two or more candidates will not have the same question. There will be one question per page. Now, i have successfully generated the radom questions from the database.

But i have a problem which is:

1. When i click the next link to go the next question, my code displays the question on the previous.

2. Also, when i click on the previous link to go back to the previous question my code changes the question from the previously answered to a new question. Code:

View Replies View Related

Controlling Frame Busting

how to control frame busting. My application has a frame where i open the site user has select to view. Frame busting is, preventing that your page is caught in someone else's frameset.

So when user select yahoo.com or else which has frame busting technology impemented it will occupy my aaplication's window by setting "top.location=self.location" But i wanna know if the current page is going to occupy my window then open that site using window.open(URL) instead opening it in userFrame. Awaiting for the fastest responnse.

View Replies View Related

[XPOST] Controlling The Commandline Via ASP/WSH

I have a problem letting this small script I wrote work correctly. In
particular i can't manage to execute commands that require user
input/confirmation. How should i handle that? Code:

View Replies View Related

Session Timeout - Controlling

I am using global.asa to set time out after a user logs.
It looks like this:

Sub Session_OnStart
Session.Timeout = 900
End Sub

I want to detect when the session has timed out and redirect the use to the login page.

View Replies View Related

Controlling Concurrency To Access Web Pages

We have an issue where we need to control access to specific web pages e.g. if one user is editing a purchase requisition another user shouldn't be able to perform any actions on it.

I presume we could lock the purchase requisition for editing by a specific user when an edit button is pressed. Only that user would then be able to edit the document. However can anyone think of any better approaches to this issue which I presume must be quite common in other application domains.

View Replies View Related

Controlling Mouse Pointer Appearance

I have a simple collapsible table that displays when a Label is clicked. However, since the label is only plaintext, the mouse becomes an insertion icon (I-bar) when over the text. Because of this, a user might not understand that the label is clickable. Is there a way to control the mouse appearance so that it shows the standard pointing finger, WITHOUT creating an anchor? Due to other elements in the page, it cannot link back to itself without erroring out.

View Replies View Related

IIS Setup

I'm a bit fed up with having to constantly change my INCLUDE statements from INCLUDE FILE to INCLUDE VIRTUAL when I'm ready to put a new page out on my webserver. How can I configure IIS on my WinXP Laptop to mimic how my hosting company has their server setup?

View Replies View Related

Setup SSL

I setup SSL. Now users can see the site at port 80 and at port 443. i want to disable 80.
How to?

View Replies View Related

Upload And Setup

I have a problem with uploading my sql database and I dont know how to set up it
and how to adjust it with asp.

View Replies View Related

JMail Setup

I have JMail installed, and when I code for remote servers, I am able to send the mail just fine, however I have yet to figure out how to test locally with IIS 5.1's mail server.

Does anyone have some information on how to setup the local system so I can test this feature before I script for it remotely? I'm sure that there 2 key points where I'm having a problem is

1. Setting up the IIS Mail Server
2. Defining the Mail Server in the JMail ASP code....

localhost:25
127.0.0.1:25

View Replies View Related

Application Setup

We have recently developed a document management application for internal use.The application uses SQL Server backend,ASP frontend and also stores the documents uploaded in a folder on the server.

It all works okay at present but when we do implement in the different country. The network is setup such that all the servers are accessible internally

We plan to setup the second site by using a local webserver and altering the asp code to upload the files to thier local server and also setting up the local sql server which replicated the data from our main server.

Is this approach a good one?and How do we maintain the integrity of the Order Number column which is set to Indentity type so it automatically generated a new order if when a new order is created.

View Replies View Related

CDOSYS Setup

To configure CDOSYS, there are values that have to be set similar to:

EXEC @hr = sp_OASetProperty @iMsg, 'Configuration.fields("http://schemas.microsoft.com/cdo/configuration/sendusing").Value','2'

So everytime an email is sent, the script will contact Microsoft's website? Is this information that is being read necessarily taken from Microsoft's website? Is it possible to hold that information locally and or to hard code that information such as:

... ("<hard-coded info>").Value','2'

I would rather not depend on Microsoft to be able to send out email.

View Replies View Related

Setup Basic Authentication

I have setup basic authentication on one of my web sites. For some reason, I get challenged when I navigate to some of the ASP's within the website. I have checked all the pages and made sure they all have authorisation set to a specific group.

What can be causing this?

View Replies View Related

How To Setup A HTTP Server In The PC

I actually used a tool called HFS(HTTP File Server 2.2a) which allows to
upload or download files but with this tool am able to retrieve the contents
of the page using GET method but not able to test the behavior of POST, PUT
and DELETE HTTP methods. Code:

View Replies View Related

Browser Error Setup

I just reinstalled my computer and I use to have my Internet explorer set up in such a way that is would give info on the error's on my pages, like it would tell me which line the error was on and what the error was. But I can't remember which option I schould change in the browser to get this working again.

View Replies View Related

Setup The Website Server

I have developed a sample website in my system.Is it possible to access the website from a remote mechine using the ipaddress? if it is possibleto access, I hope some body will tell me the procedure how to access.how to setup the website server aty home?

View Replies View Related

Setup A Personal Web Server

I have Windows XP Home and I want to setup a personal web server that will allow me to run ASP pages off of my home computer but I cannot find any that will allow me to do so. I tried looking for IIS on here but it doesnt come with home, only professional apparently. So is there somewhere I can download it, another server program I can use.

View Replies View Related

Modify IE Page Setup

I would like to modify IE page setup before printing the window. But i want to do it without opening the FILE-> Page Setup window. In fact, i would like to remove the header and footer of pages beforeprinting them. but i want to do it using asp or vbscript and without any end user action.

View Replies View Related

PHP Be Setup To Handle Session

Can PHP Be setup to Handle sessions via a database without much intervention? so that like you coul store all the session data in the database. I have heard there is some sort of flag to enable automatic URL session generation

1] Can this be done at a client level and not a site administrator level?
2] Is it possible with this mechanism to do it to a DB without having to write special code?
3] If you do have to write special code can you still get it to insert the session URL details in the urls automatically?

View Replies View Related

Setup Secure Communications

For testing purposes, I need to setup secure communications for a folder on a website in my WinXP Pro IIS. When I right click on the directory in the IIS services window, an go to the Directory Security tab, everything is ghosted.

View Replies View Related

Setup ASP Server At Home

Could someone lead me in the direction on how to set up server on my home PC so I can view my ASP pages, rather than uploading them to host server to view. The easiest and less painful way.

View Replies View Related

Setup Secure Webpage

I am currently running IIS and MySQL on my home PC which runs XP pro. I need to setup a secure webpage that has a form on it where clients can enter their Credit Card details.

Now i know that SSL can be used, but this involves either buying a certificate or creating one. Is there some other way to make a specific webpage come up as https rather than http. Can it be done by some code or something on the server side.

the whole site will be uploaded to a server which i have no information about. The client wants to "look" at the site before uploading it to his server. Is there something like a site key or something?Basically, i'm looking for something that doesn't require a certificate.

View Replies View Related

Error During Virtual Directory Setup

I just got one virtual directory setup and try to run my web application from there. I am getting following error:

Microsoft VBScript runtime error '800a01a8'
Object required: 'Session'

I even try to create test.asp and put it in wwwroot folder only code I had was:

<%
Response.write Session.SessionID
%>

and I got same error. Am I missing somehting in my IIS setup? I got IIS 5.0 and front page 2002 extension applied.

View Replies View Related

Easy To Setup Web Chat For Windows?

i'm looking for a easy to setup web chat script that i can install on IIS? if someone can point me in the right direction it woudl be great, i download a couple cgi scripts but couldn't get them to load.

View Replies View Related

Setup Custom Error Page

I have a custom 404 error page. When I change my site properties in IIS (IIS 5.0, BTW) to point to a file, I still get the original 404 error page. But, then I copied my error page to my root, then pointed to it via URL and it works! BUT, I would prefer to use the file page instead of the URL.

View Replies View Related

Trying To Setup A Receipt Page. Problems With Recordsets.

I'm trying to setup a receipt page to finalize my whole shopping cart deal.

PayPal is used to pay and it uses IPN to return the data back to my script which inserts everything into the database and then forwards to my receipt page.

The IPN script page stores the orderID under a session variable called orderNumber. With that, I've created recordsets on my receipt page to hold the orders and orderDetails information just fine.

My problem is that neither of these tables hold the product's name so that I can display line items. The orderDetails recordset does have Product ID and is related to the Products table in my database by the productID field.

How can I make the receipt page list the actual names instead of just the IDs?

View Replies View Related

Setup ASP FileType To Open In Same MSE Window On Edit

If I right click on a ASP file in Explorer and choose EDIT, Windows opens a new instance of MSE.EXE and opens the file in that. What I'd like it to do is simply goto the existing open MSE application and open the file in a new tab.

I cant find the correct settings to do this is 'FILE TYPES', could anyone help? Code:

View Replies View Related

How To Setup Internet Information Service In Win98

i am want to start learning ASP,and i have a problem people somebody can give me a link with explanation how to install IIS in Win98?

View Replies View Related

Form Setup To Send The Results To An Email Address

I have a webpage with ASP that is a form. I have the form setup to send the results to an email address (using the Frontpage feature). We have published the page to the web, but it will not send email. It simply does nothing. This is the code:

<form name="Datasheet" method="POST" action="DataSheet.asp" webbot-action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" S-Email-Format="TEXT/PRE"
S-Email-Address="ray.clark@721-file.com" B-Email-Label-Fields="TRUE" S-Builtin-Fields startspan -->

View Replies View Related







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