ASP Programming
ASP Programming forum discussing Active Server Pages coding techniques and problem solving methods. Use VBScript or Jscript to make dynamic web applications.
ASP E-mail Question
My mail server and web server are 2 different servers.
Both servers run win2k.
Therefore the web server does not have an SMPT server.
ASP throws the Server.CreateObject failed error when using a CDONT.NewMail object.
What I need...
answer(2) view(812) status(

)
ASP Session
Hello,
I'm controlling my login page usign session.
My problem is that i test my script in more than 5 windows servers : XP professional, Win 98 Personal web server, and advance 2000 server and is working fine.
When i uploaded my s...
answer(3) view(937) status(

)
working with Dates
Dear All,
I am having a lot of problems working with dates:-
First of all I have a table called articles, and I have a date field, which is in text format, and I insert the dates for example 02/11/2003 in it. Now the user can enter a...
answer(2) view(808) status(

)
help plz....
anyone know what's wrong with this script...?
I'm trying to access a database on my pc ...I get the error invalid class string...?
any ideas...
PHP Code:
<%
strQuery = "SELECT * FROM...
answer(4) view(237) status(

)
answer(0) view(153) status(

)
How complicated is this??
I have never really seen anything like this before, it is pretty neat. I guess I am wondering how they did it? Is this just asp or what. I don't really know anything about asp so perhaps this is a stupid question.
Regardless... you shoul...
answer(4) view(715) status(

)
answer(2) view(368) status(

)
Encrypting querystring
When using encrypted querystrings it seems pretty straightforward that the RECEIVING page just uses a function to decrypt the incoming querystring before the rest of the page is parsed.
Here's my question: on SENDING pages (e.g. using <...
answer(1) view(661) status(

)
Unable to Update an Access Database
Hello,
I am trying to update an Access database through an ASP page. After researching the internet, the general consensus is that permissions are not correctly being set on the .mdb file that I am trying to update.
I am using WinX...
answer(2) view(958) status(

)
Passing URL date variables
I'm a PHP programmer, not ASP so this may be a very simple question:
I am trying to pass two variables to an ASP page so I can display a coresponding crystal report. The variables are start_date and end_date. Here is the code:
--==...
answer(6) view(642) status(

)
What exatly is ASP?
The only things I know about ASP is what it stands for, and that it's a programming language.
What I want to know, is what exactly can it do? What are it's capabilities? And if there is any other type of languages that are related to, or s...
answer(3) view(148) status(

)
Invalid operation on closed object
This code is working in my local IIS server, but not working in my website. giving this error:
ADODB.Recordset.1 error '800a0e78'
Invalid operation on closed object
/Adminpages/tableselected.asp, line 72
I am opening a recordset...
answer(8) view(477) status(

)
is null or not an object error
I am working in html/asp within VisInterDev 6.0. Everything was working fine until I moved a text box from one page to another. I took it from within a form on one page to a form on another (and made the necessary changes in the two pages)....
answer(2) view(150) status(

)
Please help.. am lost in code (!)
Hi all
This is my first post here, and hope you can help me. I will try and explain what I need to do, and apologise in advance if this goes on a bit
Step 1: Pass Parameters from the database (via URL) to specific page on an exter...
answer(2) view(98) status(

)
Redirect not working...easy question?
I'm building my first asp application and all I want to do is have the form either write "try again" or navigate to a particular page.
You can see what I have so far at:
http://www.designdevelopdeliver.com...ontier/test.asp
...
answer(4) view(798) status(

)
User Defined Personalization
I need someone to point me in the right direction. I would search, but I am not certain what I neen to search for. Here is what I want to do.
My Intranet homepage has four content-blocks of information. Each content-block has specific...
answer(2) view(40) status(

)
Sharing data between Client and Server Scripts
Suppose I load data from a database and store it in a VBScript array using asp (i.e. this is all done from the server)
I then want to have some client side scripts (they have to be client side because they are activated depending on what...
answer(11) view(426) status(

)
ASP - Server.ScriptTimeout Problem
i'm sooo confused and stuck here.
i'm using SAFileup to upload files to an IIS server. whenever i try to upload anything over 1.5mb it times out. even when i've bumped up the server.scriptTimeout value to 3600!
tech support at the h...
answer(4) view(958) status(

)
ASP Session probs with IIS5
Hi
I've been trying to discover different ways of simulating the APS Session Object. Some users of site's I've made can't shop online due mainly to the fact that don't want to enable Cookies or their firewall is blocking Session Cookies....
answer(1) view(16) status(

)
Topsites help please
This page displays a toplist and it has 50 links per page. The problem is when you go to the next page to see the next 50 links, the count starts out at "11" instead of "51". Can someone please glance at this code and te...
answer(1) view(571) status(

)
HTML TextArea with ASP
I am trying to do a check to see if a value of one of my fields is a certain number. If it is I want to display a form text entry box, if not skip it. I want to put a value of another field in the text entry box so the user can edit/updat...
answer(2) view(304) status(

)
Passing checkbox value to other asp page
I have a simple problem:
page 1:
<input type=checkbox name=addValue value="Y">
page 2:
<input type="hidden" name="addValue" value="<%=Y%>">
page3:
<%=request.form(&q...
answer(5) view(761) status(

)
answer(1) view(762) status(

)
ComboBox Item Populating a Form
Hi All,
I pls need a help, may be a sample code or something on, I want to be able to search a user with a user code, get a form populate if the user exist in the Database, but at the same time in one corner of the form I want to be able...
answer(1) view(217) status(

)
insert with a autonumber row
var SQLString = "INSERT INTO table VALUES( '' ,'" + Request.Form("name") + "','"
+ strAlpha + "','', '"
+ Request.Form("email") + "', '"
+ Request.Form("userid&qu...
answer(2) view(623) status(

)
ASP page treated as plain HTML
I have a simple ASP page (named iisTest.asp) with these contents (I've embedded spaces in the tags for this post):
< % @ Language = "VBScript" % >
< html >
< body >
Hello
< %=World!% >
< /body &g...
answer(3) view(743) status(

)
convert data type varchar to money
Hi all, can anyone here advise me how to do the conversion of data type varchar to money... here's my coding for your references:
<%
vreqType = Request("vreqType")
vReqtrEmail = Request("vReqtrEmail")
'vReqNo = ...
answer(4) view(347) status(

)
Need suggestions with ASP report generation
Ok, I currently have an ASP application. In this application, an administrator will need the capacity to print reports of the data stored in a MySQL database.
Let me note now that this is a college project, and I can only basically do w...
answer(3) view(580) status(

)
convert filename to string?
I'm uploading a file to my server, and I retrieve the filename. Now I can print out the filename with response.write(filename) but when I try to insert the filename into access I get a "cannot be a zero-length string." error. I'...
answer(2) view(357) status(

)
answer(3) view(37) status(

)