all groups > inetserver asp general > february 2007 > threads for february 8 - 14, 2007
Filter by week: 1 2 3 4
Not sure which object to use to load xml into xsl
Posted by Chuck at 2/14/2007 1:07:00 PM
Hello,
I am having trouble loading the returned XML from a Webservice into my XSL.
Any suggestions would be appreciated.
' Build custom HTTP header
xmlServerHttp.open "POST", "https://.../Site.asmx", False ' False = Do not
respond immediately
xmlServerHttp.setRequestHeader "Content-Type"... more >>
Problem with an .asp page displaying data based on a form field value.
Posted by Brave at 2/14/2007 11:18:16 AM
I'm hoping someone can help me with a small issue.
I have an asp page that displays informaton from an Access database.
I want to create a form that allows users to display only data that
matches their search criteria.
I have made many forms like this in Front Page with the Database
results... more >>
Calculate Friday dates only
Posted by David at 2/14/2007 3:04:06 AM
Hi,
I need to display 3 fields with future dates (Fridays only) as table
column headers.
i.e. 16th Feb | 23rd Feb | 2nd March.
As each week passes, i.e. from the Saturday, the dates should move
accross 1, i.e. column 1 will update to 23rd Feb, Column 2 to 2nd
March and Column 3 to 9th Ma... more >>
Plz do help me im in difficult situation
Posted by brainy brainy at 2/14/2007 3:03:01 AM
i have to read an excel file and on that excel file i must calculate the
sum of the 2nd column and that sum should be stored on the access
database which contains tablename "ben"
and the fileds will be
srno(auto) number
date(filename of the excel)
total(sum of 2nd column)
This should be d... more >>
chopping file while sending it via asp response.binary write
Posted by .nLL at 2/13/2007 10:03:20 PM
hi everyone. i use asp to send files to users to prevent hotlinking and i
always used following code
Response.ContentType="video/3gpp"
response.addheader "Content-Disposition", "attachment;filename="& file
& ";"
Set objStream = Server.CreateObject("ADODB.Stream")
o... more >>
Session() variables question
Posted by Griff at 2/13/2007 5:04:27 PM
I have an ASP [Classic] application running under IIS 5 & 6 [on different
servers (obviously)]
I need to implement Session() variables to cache some frequently looked up
data. Because of the nature of the data, it is best held in the Session()
rather than the Application() object.
My qu... more >>
Session vars in ASP app under IIS6 not sticking
Posted by Jack Black at 2/13/2007 3:44:08 PM
Hi, all! Developed a basic ASP web site with MS Access 2k3 as a database
back end. I've developed it on two different Win2k3 servers, and app works
flawlessly on both. However, we just moved it to a client's Win2k3 Server,
and it's not holding any session variables. It IS, however, holding... more >>
Alternative querystring - using / instead of ? and &
Posted by royend NO[at]SPAM gmail.com at 2/13/2007 10:19:16 AM
Hi.
Is is possible to pass parameters with this URL:
www.mysite.com/article/sports/football
instead of the usual method:
www.mysite.com/article.asp?category=sports&subcategory=football
And, if I need to add more parameters at a later time, may I then use
something like:
www.mysite.com/art... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Assistance with changing column header Dates .................
Posted by David at 2/13/2007 9:40:18 AM
Hi,
I need to set up an HTML table or the like, with 4 columns.
Each column needs to have a header with a FRIDAY (dd/mm/yy) date.
i.e. this weeks Fridays date is 16th Feb, the following is 23rd Feb
etc.
So, I need column 1 to be headed 16th Feb, col 2 to show 23rd Feb etc.
As this week pas... more >>
REMOTE_ADDR Gives my External IP Instead of LAN Address
Posted by danknauf NO[at]SPAM gmail.com at 2/13/2007 8:14:36 AM
I have a webserver which is behaving strangely. The server is a fresh
copy of Windows 2003 running IIS with default options + Active Server
Pages installed. The server is connected to a Linksys router, and has
a static IP address of 192.168.1.10.
When I access a page with the following scrip... more >>
The correct way to close a database connection?
Posted by Andyza at 2/13/2007 4:31:22 AM
I'm looking at another developers code and I'm now confused about the
correct way to close a database connection and destroy the object.
I would normally do it this way:
Set conn = Server.CreateObject("adodb.connection")
conn.Execute(UPDATE TABLE Blah Set Something = 'Somevalue' WHERE
whate... more >>
Efficient download script?
Posted by robert NO[at]SPAM oeffner.net at 2/13/2007 3:40:03 AM
Hi,
I'm new to ASP but do know my way around VB and a bit of VB script. MY
ISP have ASP enabled for my website. So I'm pondering on how to write
an efficient script for users to download a few files from my website.
Having read posts on this and other newsgroups here's what I've got so
far. I h... more >>
[URGENT] Error incorrect syntax near
Posted by Dax at 2/13/2007 12:32:10 AM
When i insert some values float in a form made with ASP
appear an error message like this:
Microsoft OLE DB Provider for SQL Server (0x80040E14)
Line 1: Incorrect syntax near ','.
sql="select id from tbl_monete where id_taglio="&idtaglio
rs1.open sql, conn
idTaglio it's the... more >>
javascript and asp email
Posted by rvj at 2/13/2007 12:00:00 AM
Im attempting to convert a simple CDO VB script to Javascript but keep
getting Internal Error 500. The VB version works fine.
As far as I can tell all I need to do change the object definition and add
the language declaration.
Can anyone see what is wrong with the object definition?
... more >>
Go back w/o loading the form?
Posted by Rolf Rosenquist at 2/13/2007 12:00:00 AM
From a page with a form I collect the fields in the next page. The fields
are compared with a database and if a certain condition does not fit, I want
to go back to the first page with the form, and still keep all the other
fields as they were written.
If I use Response.Redirect the form will ... more >>
Send data to microsoft access
Posted by trig at 2/12/2007 3:19:14 PM
Please help!
I am an ICT teacher at a secondary school and my year 12 (AS Level)
group need to create a website where data can be sent from a form to a
Microsoft Access database.
I am trying to do this in my own time and then hopefully teach them
how to do it.
I have installed IIS on my ... more >>
how to read xml node value
Posted by .nLL at 2/11/2007 5:26:48 PM
hi everyone i am trying to read a nodes ( i dont know if i am right by
calling it node. see sample) value with asp.
xml page is very simple :
<?xml version="1.0" ?> <response success="true" > </response>
my code is this
Set xmlhttp = CreateObject("Microsoft.XMLHTTP")
xmlhttp.Open "GET",... more >>
ASP: Truncated URL
Posted by Leo595 at 2/11/2007 9:15:01 AM
I have a page that creates dynamic hyperlinks for each recorded
displayed. Many of the constructed URLs exceed 128 characters. Those
that with greater than 128 are truncated for some reason unknown to
me. I know that IE supports URLs up to 2048 characters. Is there a way
for me to create and... more >>
Does anyone know of some good classic asp sites?
Posted by JimO at 2/10/2007 4:09:04 PM
I'm having problems finding some code examples using classic asp. It seems
that even a lot of archives aren't very complete. I'm even having some
problems finding anything beyond the basics at sites like 4GuysFromRolla,
ASP Alliance etc... Mostly just .Net.
Thanks,
Jim
... more >>
Inserting Dates into MS-Access ?!?!?
Posted by Dean at 2/10/2007 6:11:38 AM
This seems like it should be easy but I am stumped. I am trying take
a variable, add to it, and insert the result as a new record into
Access.
The ending result is:
INSERT INTO Period (CoID, CkDate) Values 1, #2007/01/26#)
My code is Dim RecID
Dim Conn
Dim sDate, eDate, ckDate
Dim... more >>
limit internal users open just one browser from the server
Posted by c676228 at 2/9/2007 12:13:02 PM
Hi all,
I am thinking about doing this since I got several cases that some of our
internal users open more than one browser at the same time from our server.
When one of the transactions was not completed finished, the second browser
jusk pick up some session variables from the first browser ... more >>
Gibberish Pdf file displayed if I transfer using bit stream
Posted by c676228 at 2/9/2007 11:52:01 AM
Hi all,
The following code was suggested by one of the users in this newsgroup when
a pdf file was requested by a user from an asp page. I used the similar code
in my page and the very interesting thing is when the pdf is displayed on the
fly, the whole page is a gibberish code in stead of a ... more >>
Excel
Posted by amatuer at 2/9/2007 4:48:37 AM
Hi, I'd like to open an excel file from a button click in an asp page.
Does anyone know how to do this, if possible?
Any assistance wil be highly appreciated.
Thanks
... more >>
Problem with CDONTS sending mail to Lotus and MS Exchange.
Posted by Pav at 2/8/2007 11:35:35 AM
Hi,
I am developing a small Intranet web application which needs to send
mails to our coporate Ids.
I am using CDONTS, But my mails never leave Que folder. Not able to
find out what the problem is . please help
1) I am very new to SMTP configiration on my own Windows XP PC. How
do I conf... more >>
Print tables with cell background colors
Posted by Eric Layman at 2/8/2007 11:21:21 AM
Hi,
I have a table with coloured cells. I want to print out the table via IE
with the coloured cells.
But the outcome of the table does not have the cells coloured.
Are there ways to force out the colouring of the cells in the print outs?
(Either via php/asp/css or any means)
Please... more >>
Multiple Selections
Posted by jjuan at 2/8/2007 10:33:46 AM
I have a multiple dropdown which have multiple selection.
If I select multiple value on my multiple dropdown list and submit it,how
can i write it on the tblotherlang
sample code
<select size="10" name="ddmultiplelang" multiple>
<%
qryNCDesc = "SELECT MultiLanguageID, MultiLangua... more >>
Script timed out
Posted by Lynda at 2/8/2007 10:18:56 AM
Script timed out - how do i fix this?
... more >>
Easy string problem: invalid syntax????
Posted by .Net Sports at 2/8/2007 10:10:17 AM
I get an incorrect syntax error pointing to the semicolon when I run
this sql statement with a dynamic querystring (geid is primary key
integer datatype):
sql="SELECT firstname,lastname from general where geid = " &
request.QueryString("id") & ";"
...i've tried every possible combination... more >>
Prevent a Paste of a Filename in an Input Type=File
Posted by Larry Bud at 2/8/2007 9:23:35 AM
I rarely crosspost, but this affects both ASP and Javascript
REALLY odd bug that I ran across in ASP 3.0. I have an input type of
file, user clicks browse, then places his cursor in the filename, puts
a space at the end of the file, and uploads it. Web server doesn't
translate the MIME type ... more >>
|