Changing Internet Options Settings From ASP

i am producing some asp report pages for our company intranet but they dont print out correctly unless i change the internet options settings to "Print background colours or images" is there any way i can change this when people open the webpage?

I wouldnt think that is possible so.... is there any way to get around this using style sheets? I havent really used them yet.

View Replies


ADVERTISEMENT

Local Settings

The webserver I'm using (which I can't make any changes to) has a
Dutch-localsettings. When doing simple calculations the decimal-symbol in
ASP is a , (komma). Is it possible to force IIS to use a . as decimal symbol
by code? (IIS5)

View Replies View Related

MySQL Settings

trying to connect to mySQL4...using....
set conn = server.createobject("adodb.connection")
conn.open "driver=MySQL ODBC 3.51 Driver;database=kraken1"
Set rs = Server.CreateObject("ADODB.RecordSet")
SQL = "SELECT * FROM Access"
rs.CursorType = adOpenKeyset
Set rs = conn.Execute(SQL)

And what i get is the error...
"Current Recordset does not support updating. This may be a limitation of the provider, or of the selected locktype."

Is adOpenKeyset NOT the cursor to use????

View Replies View Related

SMTP Settings

I'm trying to send mails from asp page.Its showing error.Permission denied.When I checked the IIS settings SMTP server showing unnknown. I cannot start the SMTP server. Wat shall ido to start the smtp server.

View Replies View Related

Regional Settings

I have a problem with the regional settings. I have set the regional settings of the web server to display the numbers in this format 123.456,78. But when I open my web site all number are diplayed with the old format which is 123,456.78. I changes also the regional setting of my computer but it does not work.

View Replies View Related

Resetting All Iis Settings

is there a way to reset all iis settings? i have tried a reinstall but still have problems. the main one being i cannot see any pages on a website it says page not found when i know there are pages there . i have even switched on directory browsing and clicked through directories to get to any asp pages and it just says page not found . i think its something to do with permissions but cant correct it so i want to reset to original settings, can i do this?

View Replies View Related

Is It Possible To Change IIS Settings From ASP?

That was the first question. BTW, I am using Windows 2000 Server.

Second questions is how do I transfer session variables from one virtual
website to another website. Currently I have session variables set in say
www.first.com and then I click a link and goto www.second.com. How can I
transfer session variables from www.first.com to www.second.com? Both sites
are virtual websites and running on the same physical server running Windows
2000 Server and IIS.

Is it even possible to transfer session variables between 2 websites? Or
share the same variables?

View Replies View Related

Get To The Ragional Settings

how can i tell the user location (from the ragional settings?) in asp? i have a website written in several languages, i want to check the user country and redirect to his language automatically.

View Replies View Related

SessionState - Db Settings

In a asp.net app in the web.config the session state can be looked after by the data base - the settings need to be entered into the web config such:

<sessionState
mode="InProc
stateConnectionString="tcpip=127.0.0.1:42424
sqlConnectionString="data source=127.0.0.1;user id=sa;password=t09
cookieless="false"
timeout="1200"
/

Our problem is that we do not want to expose the password of the data base user here - rather maintain it in a dll - is there a way for the code behind classes to set the user/password programmatically ? and if so how?

View Replies View Related

Window Settings

Is it possible to declare the window settings (like toolbar displayed, width and height, etc.) when a page is loaded? Or is it only possible when with a link to a page? And is it possible with ASP only, or do you need javascript? Does anyone has some examples/tutorials?

View Replies View Related

Modify IIS Settings

Does anyone know if there is a way of changing IIS settings using ASP specifically:

"The content where this content should come from" radio button property set on the Virtual Directory Tab (of a VD).

View Replies View Related

My Options

i thought id post it and see what more experienced people think. With firefox now the browser of choice with people in the know their lack of VBScript support is causing me problems. If i want to say validate my forms i must now do it on the server-side (which is probably safer anyways). But things like pop-up warnings ??? or if i want to perform _OnLoad, _OnClick, _OnChange events , what do i do ?? or more to the point what are my options if any. What is the general opinion on using VBScript with ASP pages.

View Replies View Related

Dayofweek Regional Settings?

I just installed a win2k server with sql2k and when i run datepart(wk,getdate()) it gives the american day of week, not european were monday =1 how do i fix that? can i set something in control panel? everywhere i look in regional settings I see it all set to swedish.

View Replies View Related

Regional Settings In IIS6

I am trying to set a webserver to use French regional settings for testing
ASP pages.
According to http://support.microsoft.com/kb/q306044, for IIS5, this is a
matter of changing the regional settings for the authenticated user, and if
this user does not have a user profile then the default regional settings.
Unfortunately, this does not seem to be working in IIS6, in that I have
change the default user's settings and I am still getting English dates. Can
anyone tell me if this is because the way IIS chooses its settings has
changed for IIS6 or just because I have done something wrong?

View Replies View Related

Regional Settings In Iis Server

I´ve ran into trouble after a server upgrade. Win server 2003, IIS ver. 6.
All regional settings on the server is swedish(that´s what i want) and it
looks correct in all ways but when running the date function in a asp page
it returns english short date format 24/5/2004 when I think it should be
2004-05-24.

The problem is that the application assumes swedish short date format.

I´ve read somewhere that the IIS server account has it´s own settings, how
do I change this ?

View Replies View Related

Visual Studio Settings

How do I turn off the feature that adds code to my ASP pages in Visual Studio 6? I using include files and the editor keeps adding

<html>
<title>
etc.....

to all of my pages causing them not to display properly in IE or NS. It's a pain going back in and deleting all of the unnecessary code it adds to my pages.

View Replies View Related

Cannot Read Application Settings

I've defined two application settings in my web.config file. But in the following code :

Dim rootWebConfig1 As System.Configuration.Configuration
rootWebConfig1 =
System.Web.Configuration.WebConfigurationManager.O penWebConfiguration(Nothing)
If (rootWebConfig1.AppSettings.Settings.Count 0) Then

sField1 = rootWebConfig1.AppSettings.Settings("field1")
sField2 = rootWebConfig1.AppSettings.Settings("field2")

End If

rootWebConfig1.AppSettings.Settings.Count always returns 0.

What am I doing wrong?

View Replies View Related

Visual Studio IIS Settings

I have been trying for ages to get IIS running ASP script pages, without success.I don't know if it is a problem with IIS or visual studio I have tinkered with all the obvious stuff. point me to a website or a book which covers initial setup, step by step.

View Replies View Related

Server Permission Settings

I have asp pages that call a database and sometimes updates it. The pages are under the root the database is in a db folder under the root. My server guy isn't too sure what the
permissions should be on the server to these folders (root & db). Can you give me some general instructions for this? Or point me in the right direction for the answer?

View Replies View Related

ShadowUploader With Other Options

The code for ShadowUploader works great for me when I have it on a page by itself. My problem arises when I try to add other buttons. The “Upload” button still works but the other buttons act like just another “Upload” button. What am I overlooking?

<% Option Explicit
Response.Expires = -1000' Make browser not cache pg.
Response.Buffer = True' Buffer content so Response.Redirect will work.
%>
<!-- #include file="~incl/ShadowUploader.asp" -->
<!--#include file="~incl/~config.asp"-->
<!--#include file="~incl/jpsutility.asp"-->
<!--#include file="~incl/menu.asp"-->
<!--#include file="~incl/misc.asp"-->

...............

View Replies View Related

Number Of Options

I have an ASP variable which is a certain number. I want to create a Select tag in a form, which will be populated up to this number. So, for example, if my number was 7, you would have a list of numbers between 0 and 7 to select.I'm not sure how to do loops, but I had an idea that the code would look something like this:
Code:

<select name="select2" id="select">

<%
for i=0 to i=varNumber
Response.Write ("<option value='"& i &"'>"& i &"</option>")
rsBooking.MoveNext
%>

</select>

but, as you might guess, this doesn't play!

View Replies View Related

Reporting Options

I need suggestions to allow my users the ability to print reports from my ASP application that will be quick and easy setup. I need them to choose an option such as

Print all checks for the current week

and receive an output of 1 page per employee . Currently I have the page so someone can view 1 employee on the screen and manually print. But I am looking for some web based report delivery method that will be quick to implement so the user can preview the batch of reports and then print. Similiar to if you were running a report in access.

View Replies View Related

Color Options

I was asked to incorporate colour options for items sold in my shopping cart such as pens.So if I am selling a pen that comes in 4 or 5 or more colours, then I have to create the number of types of collours for the pen. I am looking at creating a colour dropdowns for individual items , but I am not sure how I can do this in backend.I am using Access database and using ASP programming. This is the link which is an example of what I mentioned http://www.27905398.com/product_inf...9a4aed0a18fb81d .appreciate if anyone familliar with this function

View Replies View Related

Folder Options From Asp

I need to know how to do the following..

Rename a folder

Check to see if folder exists and if it does return an error message.

View Replies View Related

Sort Options

Can u help me generate a javascript to sort the options(list) in an asp listbox control?

View Replies View Related

Sql Function Options

My Current project requires the use of ASP.I've been able to pick it up fairly quickly, but I'm curious to know if there is a function similar to the php mssql_num_rows().
This simply returns the number of rows returns with your specified query. So far my search through this forum hasn't returned anything of the like.The closest I have seen would be to execute another sql statement to count the result first. Which seems to be alot of double work.

View Replies View Related

Reload Options

We are viewing the same page on my server in New York. I submit or send something in to an ASP, and it returns to me an updated page. How do I get it to reload showing changes for you in Florida who is just sitting watching the page not touching anything?

I have a frames page setup. When I send in info, I have this code to show changes for me by an automatic reload. it works for me:

<javascript blah blah blah

parent.frames[2].location = 'dataRecov.asp?view=rs';"

How do I update your page in Florida live?

View Replies View Related

ADO Connection Options

where I can get a full list of ADO options for opening a recordset? I'm currently using adOpenForwardOnly but I want my recordset to be able to move backwards to the start of a recordset and several other functions.

View Replies View Related

Selection Options

i am using frontpage ,ASP, and some javascript. how do you create a START-> ALL PROGRAMS selection option. you place the mouse over the "all programs" and you got all selection related to "all programs"

i want to do the same thing with data from a database. how do i do this?

View Replies View Related

Save Settings On Browser Close

I've been trying to save some user settings when the browser closes, but with little success. What I want to do is count a users' resource usage, and write it to a database when the user closes the browser. I tried to use the 'Session_End' event handler in global.asax, but that doesn't seem to work.

View Replies View Related

Email Options With CDONTS 1.2

I am trying to help out my friend by creating a invoicing page in ASP for his business, basically consisting of 3 pages :
(no sensitive info will be asked for.. )

1.info submission page -cust enters his info
2.info summary -cust info summarised plus quote calculated
3.invoice page -quote emailed for invoicing.

At present I have made the initial set up and it works fine. However, I am using CDONTS 1.2 to email the gathered cookies with the following code:

View Replies View Related

Shipping Options In My Cart?

I have created a few web site apps that use e-commerce technologies using ASP and XML. These are typical sites, with shipping, tax, blah blah. Usually it's standard shipping and is just related to the weight of the entire order.

Now, I've been asked to add several shipping options (i.e. Overnight, One-Day, Standard). My question...I did some searching around first but without luck...are the sites that offer multiple shipping options tied in with another company such as UPS? Or is it just more data that I can deal with on my own?

View Replies View Related

Split Screen Options

I have 10 athletes i will be testing and displaying their information

so there will be two split screens the bottom screen where the user enters the data and the top screen where the data will be sorted to show the ranking of the athletes Code:

View Replies View Related







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