I am trying to make a client-side vbscript sleep but can't do it w/o pinning the cpu
The Code is below, pretty straight forward, but I get the following error:
error: object doesn't supp...
I need to be able to refresh a ASPX page if the current data being displayed has changed. How could this be done?
- Marc
Hi,
I'm getting a date from a table, and then I want to save it to another table, but I want to save the date in the format dd/mm/yyyy... how do I do that? I don't want to get any 5/5/2004......
I'm trying to execute an SQL statement in a loop that contains some strings which have single quotes ( ' ) in the text of the string. I've set the SQL statement itself as a string so then I c...
Hi
I was trying to run a WScript.Shell command on the server so that i can zip the files in a folder. But to test it out i was trying to just do a simple command
<%
set wshell = serv...
Hi all,
I've got an issue with a script that uses the WScript.Shell. The problem is that I keep getting a permission denied error.
I've set permissions on the folder, the file, and even "...
Does ASP provide the capability to do a Try Catch Finally. I know ASP.net has it, buy I am using just .asp pages. I can put in the following code and this is the error I get:
<%
...
Try...
I'm runnning asp based web site under win2k3.
The database is a system DSN using the Microsoft Access Driver (.mdb)
Everything was fine under win2k and I upgraded to win2k3 about 2 wee...
Hey, I'm trying to validate a phone number field on a form, but have minimal knowledge of regular expressions. Here's what I'm currently using as a validation expression: ((\(\d{3}\) ?)|(\d{3}...
I'm trying to create a serialized identification string, where the first 4 characters are letters and the last 5 characters are numbers. To create a new ID, I get the maximum ID string from t...
I am having difficulty with invoking the Scripting.FileSystemObject ActiveX Component via ASP. I am using IIS 5.1 on a Windows XP Professional system. I keep recieving "Error Type: Microsoft V...
I have a query that retrieves records from a db, which i dispaly in a table. However I would also like to create a csv file and also allow the user to save it. How do i go about doing this? As...
Does anyone know how to get the length of an array in vb script when its the system that creates the array.
I am using Arr = Split(text," ",-1,1) to split some text into a bunch of words. S...
I use the following VBScript function to read data from Excel.
It works fine, but I have to specify the spreadsheet name (sSQL = "SELECT * FROM [" & sSheetName & "$]").
Is there a way to re...
I am getting this error when the number of records are returning more data.(above 3000 records)
Response object, ASP 0251 (0x80004005)
Execution of the ASP page caused the Response Buffer...
I have a SQL 2000 table that has jersey numbers as a column (jerNumber). This column is a varchar(3) because I have to enter values such as 00, 04, 08, etc. Making this an int column is not an...
Hello,
I am trying to migrate some scripts written in PHP to ASP.NET and am looking for the most efficient way to make a database connection. The code below is what I am currently using, but ...
I am trying to send an email from my .asp page and I am getting this error:
CDO.Message.1 error '80040213'
The transport failed to connect to the server.
.asp, line 232
Line 232 is:
...
I am trying to run a conditional SQL statement to append info from one table to another where the Date in the DateField is >Todays but <Today+7.
I am using getdate() but i keep getting this...
Here is the code i have on a page...
<%
Response.AddHeader "Content-Disposition", "attachment; filename=PressRelease.pdf"
Response.ContentType = "application/pdf"
Response.Write("I am her...
Hi,
I actually have a close button, where when i click, the window should close. However, this is what i have:
<INPUT type="submit" value="Close" name=Submit onclick="window.close()">
...
Hi. I have a page that sends information to the back end of our system.
If the back end is down I would like it to store the information in a database.
Is there a way to use "on error...
Provider error '80004005'
Unspecified error
/submitresults.asp, line 46
Hello,
I see that this is quite a common problem but no one seems to have an answer, searching on google ...
Firstly, I am not a web designer by any means. My company has a 3rd party do the design and well apparently they don't know exactly what they are doing. I have been fixing the designers page...
Hi there,
How can I check if session variable exists in asp, I know how to access it and check its“ contents but not whether it exists or not.
Also anybody know if there is an easy way t...