all groups > inetserver asp general > january 2004 > threads for thursday january 29
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Undeclared vars on II6 Windows 2003 w/Option Explicit cause page to STOP. Why?
Posted by Mike Schinkel at 1/29/2004 11:54:23 PM
I'm trying to set up a Windows 2003 server using ASP, and I am find ASP
pages just STOP as if I had called Response.End whenever an undeclared
variable is found. If I turn off Option Explicit, it doesn't happen.
Clearly I can Dim the variable to solve the problem (I mention this in case
some sm... more >>
Listbox to texbox (multiple selection)
Posted by Andie at 1/29/2004 10:11:06 PM
Hello All,
I have a list box containing:
Ford
Vauxhall
Nissan
Honda
Volvo
How can I select certain names and have them transferred to a text box ie.
if I click Ford, Honda, Volvo I want it to update the textback like [ Ford
Honda Volvo ] when I click each one (like in hotmail when y... more >>
if condition
Posted by dave at 1/29/2004 8:13:50 PM
hi
i have got one field in sql server 2000 database.
field1 char 50
in one record, i m storing value -1
but it doesnt satisfy following condition
if (rs("field1")) = cstr("-1") Then
response.write ("true")
end if
i already checked its value by response.write and
print -1 only..
... more >>
simple button to run function = type mismatch
Posted by gordonjones NO[at]SPAM iname.com at 1/29/2004 7:52:10 PM
I'm just getting started in ASP and can't seem to figure out how to
run a function in ASP. I get an error of "Line 11 - Type
Mismatch:'myvalidate'.
Line 11 is the Input Button.
Here is my simple page's code, what's wrong???:
<%@LANGUAGE="VBSCRIPT"%>
<%
sub myvalidate()
response.write("ok"... more >>
How do I loop through a comma-separated list?
Posted by Christina at 1/29/2004 7:43:48 PM
I have a post-form that holds a listbox with mulitple selected items. When
the form is posted to the server ASP file, I want to loop through the
selected items, to insert each of them into a table. How do I do that?
If I execute the line:
Response.Write(Request.Form("ListBox")),
I... more >>
ASP with SSL
Posted by Chris at 1/29/2004 6:32:28 PM
I would like to ask how can I apply SSL to a ASP page?? I have read the
OpenSSL page but I really don't understand what's going on....Please kindly
advise...
... more >>
if condition
Posted by dave at 1/29/2004 4:45:21 PM
hi
i have got one field in sql server 2000 database.
field1 char 50
in one record, i m storing value -1
but it doesnt satisfy following condition
if (rs("field1")) = cstr("-1") Then
response.write ("true")
end if
i already checked its value by response.write and
print -1 only..
... more >>
Server-side DB & client-side chart
Posted by Mick Turner at 1/29/2004 4:33:49 PM
I have connected to SQL Server database (server-side vbscript) and read some
data from the tables. This works correctly. I now have the data in an array
(server-side).
I have to draw a line-chart based on that data, for which purpose I need to
create client-side component (this works also perf... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
What news group (Help)
Posted by Don Grover at 1/29/2004 4:15:25 PM
I need to collapse a coloum in an asp created table , ie. reduce the number
of displayed coloumns wide with an on/off toggle ,.
What news group should I use ?.
Don
... more >>
How can I read <select> contents on the server?
Posted by Christina at 1/29/2004 3:54:35 PM
I want to read a classic HTML Form using the ASP Request object on the
server. This is a common approach. But how can I read all the contents of a
listbox (the <select> tag)?
Best regards,
Christina
... more >>
anonymous authentication problem
Posted by Mark at 1/29/2004 1:21:12 PM
Hi..
One of our webdev guys is having trouble with IIS set up on his system, particularly with anonymous authentication. On all of his web instances, he can get to non-asp pages but all asp pages return 401.3 (denied due to acl) when using HTTP/1.0 or a proxy server. It doesn't seem to be at al... more >>
quick cookie questions
Posted by YT at 1/29/2004 12:42:17 PM
Couple of quick ASP (3.0) Cookie questions:
1/ I'm using a cookie in my asp script to place cookies (within a key) =
so my code looks like:
Response.Cookies( "quoteform" )( "name" ) =3D Session( "name" )
Response.Cookies( "quoteform" )( "organization" ) =3D Session( =
"organiz... more >>
retrieving XML DTD doc into asp
Posted by Girish at 1/29/2004 12:16:39 PM
I have a DTD xml doc and need to read the data from it and display it using
ASP, help please..
... more >>
cookie test?
Posted by George Hester at 1/29/2004 11:20:51 AM
I have always used this in ASP to test if the client is accepting =
cookies:
<%@language=3D"VBScript"%>
<%
Session ("nc") =3D 1
If Len(Session("nc")) =3D 0 Then
'Cookies Off
Else
'Cookies On
End If
%>
But I only ever tested it in Microsoft Internet Explorer 6 though not =
sure... more >>
Selecting no records if condition is true
Posted by Mark at 1/29/2004 10:10:29 AM
Hi - I have a numebr of rooms, which I am making available.
table: single - has single_id and single_name
rental_single has rental_id, single_id, check_in and check_out
They are linked by single_id.
I want to query so that when given two dates, it will return the
single_id that is free be... more >>
How to display plain text files containing javascript code?
Posted by hoke at 1/29/2004 10:06:11 AM
I want to display plain text files in the browser. The files contain html and javascript and have a .txt extension.
This works fine with files with just html. Unfortunately when showing files with javascript, I get an "error on page" warning and the page is not displayed. I suppose that when Inter... more >>
checkbox to duplicate variables
Posted by RH at 1/29/2004 10:06:04 AM
I have a form with home address & business address fields.
When a user goes to this form, the fields pull the information that is
stored in the database, then they can update their information.
What I would like to do is have a checkbox/radio button/button that allows
the user to specify tha... more >>
How can Server-Side variable'value be given to Client-Side variable by program
Posted by Jack at 1/29/2004 9:43:33 AM
Hello,
<%@ Language=VBScript %>
<%
dim a
a=10
'I want b=a at this place
%>
<Script language=VBScript>
dim b
</Script>
How can a'value be given to b by program?
Thank you
... more >>
dynamically create html from Word docs.
Posted by nic_t NO[at]SPAM hotmail.com at 1/29/2004 8:50:27 AM
Hi, I'm sorry if this is the wrong place to ask this, please point me
in the correct direction and ignore if so..
I'm trying to figure out how to run a script on my server which will
go over a few folders of Word documents, and create html pages out of
them which I can then serve to my users. ... more >>
asp file system interaction?
Posted by hoke at 1/29/2004 4:51:10 AM
How can I read and create documents on the server
For Instance
I want to show the asp code of certain files on the client
I want to upload image files to the server
I want to create directories on the server and copy files to this directory
I probably need to create some object. But I don't ... more >>
ASP Script Opens New Window!
Posted by ratkinson NO[at]SPAM tbs-ltd.co.uk at 1/29/2004 4:05:38 AM
I am quite new to ASP and trying to find my feet!
I've cobbled together some code to email some form data which works
fine, but when I try to write a success message back to the browser,
or use response.redirect, my browser opens a new window instead of
writing to the current window.
Is the... more >>
|