ASP Development
ASP Development forum discussing ASP related topics including coding practices, ASP tips, and more. Active Server Pages (ASP) enables you to empower your HTML pages dynamically with robust scripting options.
sending email from ASP script using Outlook
I'm trying to send mail from my ASP script using Outlook and I keep getting this error.
Expected end of statement
/Action_Item/action_items/post_new_action.asp, line 31 Dim objOutlook AS Outlook.Application---------------^
<%
dim co...
answer(1) view(17) status(

)
Need Help to Fix Error
Here's my code, I keep getting this error:
Error Type:
Microsoft JET Database Engine (0x80040E07)
Syntax error in date in query expression 'ScheduleDate >= ## AND ScheduleDate <= ##'.
<%
If IsDate(Request.QueryString("dat...
answer(2) view(918) status(

)
cant find folder!
The asp website im copying works fine with mysql, no problems at all.
However, when i opened a page on my pc the database string was:
DBFolder = path & "\..\mysql\data\formuladata
I cant find the folder in question. Even when...
answer(2) view(946) status(

)
href statement
Hi. Please help if you can. My href statement as follows isn't working and in fact prohibits the rest of the asp on the page
from working. Any tips would be appreciated.
<%
objRS.Filter = "eventdate = 2"
If objrs.EOF the...
answer(3) view(962) status(

)
cant get this code to work
error
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E21)
Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.
/dancaldev/newfood2.asp, line 48
I have 5 check boxe...
answer(7) view(403) status(

)
help with an error message
I uploaded a very basic form tutorial to my server which included the asp page and the MS Access database. The html form is at http://www.centraloregonsocialconne.../testform1.html. After adding some dummy data I get the message below. I'm ...
answer(3) view(989) status(

)
MySQL instead of access
hello,
I am very frustrated and hope somebody can help me with this:
After some months of learning and coding I as newbee finally am nearly
finished with my website. Till now I only used IIS to test the
site on my own computer. Now I wou...
answer(5) view(20) status(

)
OPen dbf file
i want to open a dbf file in asp which is saved in a directory . The Path of the file is "F:\myweb\db". The dbf file is saved in the above path and is called test.dbf. I write the following programm to retreive the records
<%...
answer(1) view(93) status(

)
Enable submit button problem
I'm using this code to enable the sumbit button.
The problem is that it enables on odd numbers of ticks once even it disables thee button.
Basically it disables the checkbox until one checkbox is ticked.
Code:
<inpu...
answer(4) view(691) status(

)
if then inside a while wend loop
hi guys,
my first post...hope you go easy on me.
i'm trying to execute an if then else inside a while wned loop, the problem is that its not executing and returning no data.
heres my code, i've highlighted the the if statement etc in ...
answer(12) view(451) status(

)
Help with Insert SQL Statement
Tried to add a new field called level now it wont insert into db
i get this error any help would be appreciated
Microsoft OLE DB Provider for ODBC Driverserror '80040e14'
[Microsoft][ODBC Microsoft Access Driver] Syntax error in INS...
answer(1) view(528) status(

)
asp + database MS Access problem:
ASP with the Acess database problem
i want to connect the database and open a column in one combobox and the related value will come in the other combo box .But whemn i am opening the whole table and displaying then the code is ...
answer(2) view(300) status(

)
call a web service from vbscript
hello....i have a problem with calling a web service from vbscript.....
i have a web service, which except two parameters (postNumber, postName) and return values in a string (temporialy).....
how can invoke this method in vbs...
answer(1) view(558) status(

)
ASP Script to open outlook from sever on client side PC
I wrote a vbscript that I need to run (client side) everytime someone visits an intranet
page. Basically the vbs creates an outlook.application object to send an email from the
clients PC via Outlook. The vbscript works fine when I ru...
answer(3) view(896) status(

)
how to send email in html format with picture
Hi,
In my asp script for sending email in html format its working fine. but when i insert some pictures in html. but i cannot see the pictures. ple anyone help me. i am using windows 2000 server.
Set cdoConfig = server.CreateObject(&quo...
answer(4) view(864) status(

)
asp nav menus
Hi, Im putting my website together, and I have made some simple text buttons that are aligned across the top of my page from left to right.
Anyway, I have with this navigation a need to have more navigation options, which I hope to gain b...
answer(4) view(182) status(

)
Persits.Upload - submitting multiple checkbox
I am using a form to upload images with Persits.Upload object.
Now my problem is I cant use multiple checkboxes in the form.
In general forms I can use Form("checkboxName").Count to get the number of checkboxes selected and use ...
answer(3) view(501) status(

)
Data type mismatch problem
Hi guys,
I try to insert some info into my transaction table, but the error message kept coming out no matter how I chage the code; I even read some similar threads talking about this problem, but it still doesn't work....Can somebody p...
answer(8) view(603) status(

)
Can't close the window!
Hi! I have the following frameset:
Code:
<html>
<head>
<title> > VModel Test Tool</title>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author"...
answer(1) view(461) status(

)
pulling value from ASP page
I'm having problems pulling the value from one of the fields in a form I created.
I did a response.write(query)
response.end() and I see that the space for this field is blank. What am I doing wrong, here is the code:
<TABLE Border=1...
answer(7) view(172) status(

)
Derive the 1st 4 digits of a barcode
Hi,
This is probably an easy answer, however my mind seems to have gone blank about scanning a barcode in, and taking the 1st 4 digits of the number and storing it into a session variable to be referenced later in this application.
This...
answer(2) view(468) status(

)
database calling files/images
I'm fairly new to ASP.
Here's my question/problem:
What is the best route to go to store images and 'news articles' in a database?
Is it best to give each an ID(autonumber) and then another field set in a table in access equal to the ...
answer(3) view(295) status(

)
need help with table update
I building a shopping cart and I'm running into some trouble.
I need to update several rows the the database at ones, but the data that needs to be updated comes from query's and hidden form field. But I don't know how to get this data in...
answer(1) view(637) status(

)
remove duplicates from list or array
Hi
I am returning a list form a db: this could be 1,2,3,4,12,67,1,2,34 so basically I am looking at how to remove the duplicates before doing another select. I saw a thread here with a funciton to do this bu it does not seem to work.
any i...
answer(2) view(258) status(

)
Do loops and URL's
Hi all, I am not sure how exactly to put this, but what I need to do is the following: taking into account that there are multiple URL's pointing to the same server
If url=blah.com do nothing
if url=blah-blah.com *break out of frameset...
answer(5) view(393) status(

)
snippets
Hi.
Here's my question. Does anyone has an idea how can I or where can I find the code for:
in DB (access) i have a column named Content. The data type is text (memo because it's a large). On the first page I want to show only the first...
answer(2) view(44) status(

)
ASP n00b..... Can anyone see the problem with this?
I have a personal info submit form and i want to be able to edit user details in an admin section. I select the user from drop down and all fields stay blank....
need help ASAP! Cheers
::ASP CODE::
<%
strFailed = "::USER MEN...
answer(3) view(115) status(

)
Church members login
Our church website needs a registration and login pages. As we dont have any web designer members we request your assistance to make these pages. An SQL database called "Members" is made. The information on the Registration page i...
answer(2) view(97) status(

)
Please HELP!!
Hi Everyone,
what seems to be a simple problem have now turn into a disaster. My company recently bought ssl certificate and all i haveto do now is simply redirect a few pages to https.. for some reason none of my code works.
<%
If ...
answer(7) view(86) status(

)
Update DB and refresh same page with updated info
I know, I did a search on here and could not find anything to help me so I thought I would post it to see what help I can get.
OK.. I have a form that I want to update a db then when I click the submit button it reloads the page with th...
answer(8) view(937) status(

)