all groups > inetserver asp general > january 2004
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
Page Title
Posted by Don Grover at 1/31/2004 9:59:38 PM
How can I get the page title into an variable to handle in my asp.
Don
... more >>
html question
Posted by Mark Watkins at 1/31/2004 6:30:27 PM
Of course, this is not an html board, but some of you may be able to answer
this question. Copy and past the html below into a text file so you can
open it in IE and see what I mean:
--------------------------------BEGIN---------------------------------------
--
<html>
<head>
</head>
... more >>
help: reading an xml file (rss) news feed offsite?
Posted by mark | r at 1/31/2004 5:11:34 PM
i want to 'grab' an rss news feed from a public site that has the xml file
published on an hourly basis.
how do i do this in asp?
mark
... more >>
How can I list my current cookie variables?
Posted by michaaal at 1/31/2004 12:30:14 PM
How can I list my current cookie variables?
... more >>
ASP Script errors.. Only just started happenng....!
Posted by TomT at 1/31/2004 12:16:51 PM
Microsoft VBScript runtime error '800a0046'
Permission denied
This happens when I try and delete a file using :
<!-- asp -->
<%
deletefile = request.querystring("file")
set objfso = createobject("scripting.filesystemobject")
... more >>
[Please help] Cannnot connect ODBC
Posted by Agnes at 1/31/2004 11:12:36 AM
I got a ASP program in the server, it runs properly . However, As I run the
web siste , click 'login' button.
It return the following errors. It seems can't connect the database, I had
stopped the IIS and run it again, (it still didn't work) , I use visual
foxpro to check the database, everyth... more >>
Excel and ASP
Posted by jishguha NO[at]SPAM yahoo.com at 1/31/2004 7:10:57 AM
Hi all ,
I have an small issue in conversion of ASP to excel.
I know how to convert and open, an ASP page in Excel.
But instead of opening it, I would like the xls file to get
saved in a specific directory,
so that it can mailed as an attchment if required.
TO make it clearer, I need... more >>
cannot script-delete / script-move folders
Posted by Apostolis K. at 1/31/2004 6:25:57 AM
I run windows XP and IIS 5.1 and the system doesn't let me to delete or move
folders using FileSystemObject.DeleteFolder(path,force) or
FileSystemObject.MoveFolder(origin,destination). I allow all permitions to
that web folder (Read, Right, Source Access)
I notice that in Windows XP cannot unc... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Remote Counter,
Posted by Graham Mattingley at 1/31/2004 6:05:50 AM
Hello Group,
I have been playing with this idea for a month or so, but never really got
anywhere....
I want to make a remote counter image, the same as is found on
mycounter.com, where people have have an IMG SRC on there page which will
increment a SQL counter on my database.
so each ti... more >>
Help a newbie, I'm getting an error
Posted by sdeyoreo NO[at]SPAM hotmail.com at 1/30/2004 11:53:31 PM
Newbie here, when I hit the submit button in this code, I get error
404, "The Web server cannot find the file or script you asked for.
Please check the URL to ensure that the path is correct."
Anybody see why? I really appriciate any help.
I'm using PWS on Win98. The file is in the folder:
D:\I... more >>
How can I list all my session variables?
Posted by michaaal at 1/30/2004 10:40:40 PM
I would like to be able to list the names of all of my session variables.
Maybe something like this...
<%
response.write(AllSessionVariableNames)
%>
Can this be done??
... more >>
About the refreshing of a page.
Posted by msveera at 1/30/2004 10:26:06 PM
I have developed a page which is refreshing once a second thru the meta tag. It is working if the page is in maximized view. If i minimized, it stops to refresh the page. How can i do it while the window is in minimized state. ... more >>
asp file rename
Posted by Willem van Isselmuden at 1/30/2004 1:53:52 PM
Hello, i have this upload script,
works fine, ik kan upload multiple files to my server,
but i want them to be saved under a different namen on the server.
My form has 4 file fields and i want the filenames to be
field1.jpg, field2.jpg, field3.jpg & field4.jpg
How can I do this ?
Gre... more >>
asp to pdf
Posted by Girish at 1/30/2004 1:35:42 PM
I have an asp page which is list of records actually a report, how do I make
it a pdf so that I don't have to paging and they can download it.
thanks
... more >>
Simple Page Search
Posted by Fred Yarbrough at 1/30/2004 10:31:00 AM
We have a simple html page that contains a long list of documents that users
can hyperlink to. The entries are currently in alphabetical order and we
would like to implement some type of page search instead of requiring users
to go to Edit, Find, and type in the search. I am very new to ASP but... more >>
Page Counter Component, ASP 3.0
Posted by ramirr NO[at]SPAM wellsfargo.com at 1/30/2004 10:23:24 AM
I am trying to monitor the number of visits on various Excel and HTML
reports on our website. I would like to create a web page that has the
various hit statistics for various URLs.
I thought I could use the Page Counter Component to do this using
MyPageCounter.Hits(url);
but I cannot get it ... more >>
ASP 3.0, Need help with Page Counter Component
Posted by ramirr NO[at]SPAM wellsfargo.com at 1/30/2004 9:57:23 AM
I am trying to monitor the number of visits on various Excel and HTML
reports on our website. I would like to create a web page that has the
various hit statistics for various URLs.
I thought I could use the Page Counter Component to do this using
MyPageCounter.Hits(url);
but I cannot get it ... more >>
passing variables from one asp page to another.
Posted by Chieko Kuroda at 1/30/2004 9:10:25 AM
Hello all,
I would like to learn the syntax for passing variables that I retreived from
a database to a second asp page. Currently, I'm using:
Response.Write "<tr><td> </td><td><Font size= ""-1""><B><a href=
""InterviewerInfo2.asp?timeID=" & rs("Starttime") & " "">"
How do I add more va... more >>
single cart on multiple subdomain, is it possible ?
Posted by Bob Barrows at 1/30/2004 8:36:17 AM
bump to fix the date and time of the post.
Tony, please set your system clock
... more >>
Access denied error using GetObject("WinNT://"
Posted by Hakan at 1/30/2004 6:21:08 AM
I use the following code to check if a user is an admin in the login page of our intranet.
Set User = GetObject("WinNT://" & UserDomain & "/" & UserName & ",user"
For Each Group in User.Group
Select Case Group.Nam
Case "Domain Admins
Session("Admin")=Tru
Case "Domain Users
Sess... more >>
Using WScript.Shell and the Run command, what needs to be configured?
Posted by Martin Danielson at 1/30/2004 5:01:05 AM
Hello.
I've been testing the WScript.Shell object and the Run command now for a server query. The file I am running generates a file with the server querys which i later on parse in my page. But there is a problem. When running the Run command om my Windows XP machine it all seems fine. But when ... more >>
Problems with iteration of IXMLDOMNodeList
Posted by Martin Danielson at 1/30/2004 2:36:05 AM
I have a problem that I can't work out. I have a script in ASP using VBScript that act quite funny when editing and xml file. Here is my explenation
I have the following xml-fil
<root><element type="type1">element 1</element><element type="type1">element 2</element><element type="type1">element ... more >>
Page refresh
Posted by Adrian at 1/30/2004 12:41:05 AM
Hi,
I Need help. This is my situation right now. I have a page which contain 2 frame. On the 1st frame which contain a header and a drop down box and the 2nd frame contains information. I would like to know how to refresh a whole page from a click of a button which will then refresh a new value ... more >>
arrays in ASP
Posted by (vdevarakonda NO[at]SPAM covansys.com) at 1/30/2004 12:36:59 AM
Hello All,
I am new to ASP...I might be asking very simple question...but this is really causing problem to me.
I have an array in ASP and I am populating the array with the values from database on checking a condition.
Lets say i have array of arr(5).
Initially I made all the array items nul... more >>
IE addon
Posted by Tumurbaatar S. at 1/30/2004 12:35:29 AM
Anybody know some IE add-on for programmers that scans
HTML source of a viewing page and reports forms structures,
links and other HTML things on the page? I saw it before but
now I don't remember this site.
Also, does anybody know some tool (standalone app, browser
add-on and etc) which report... more >>
passing SQL data to ASP
Posted by aguyfromdelhi NO[at]SPAM yahoo.com at 1/30/2004 12:27:49 AM
Hi,
I have written some stored procedures in SQL and these procedures
return some value.
I want these values to be captured by the ASP code.
I am able to access the tables using ADO( recordsets ) but is there a
way to pass data returned from stored procedures to vairables in ASP
code.
t... more >>
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 >>
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 >>
XMLHTTP SEND and 0x800C0005 error
Posted by kenny at 1/28/2004 11:21:10 PM
Dears,
I create one asp program like below, but when I run the asp as http://localhost/test.asp, I meet 0x800C0005 error...How to solve it?
'****************test.asp*************************
<%
Dim objXMLHTTP, xml
Set xml = Server.CreateObject("Microsoft.XMLHTTP")
xml.Open ... more >>
Passing array fro ASP to SQLplus procedure
Posted by C Chang at 1/28/2004 11:20:09 PM
Does anyone know how I can accomplish this? The only tech I saw from
textbook or other help is to run a loop through the record one at a time
to SQL/plus procedure call. In general, We use the IIS 4 and ODBC as
interface from web server ( where ASP resides ) to an Oracle Server
(8.1.7) both on... more >>
Case statement
Posted by Dave at 1/28/2004 7:41:50 PM
I am getting a syntax error on
Select Case Now
Case > "2/2/2004 12:30:00 AM"
response.redirect "votingover.asp"
case else
m=0
End Select
... more >>
|