Hello,
All of a sudden, I am getting the error below on this line of code: SET acc = Server.CreateObject("Access.Application")
Server object error 'ASP 0177 : 8000401a'
Server.Crea...
I want to print the Html page without the header details like page1 of1
and footer details like the URL and date at the bottom of the page.
I wanted this to be done programmatically eithe...
bodyTxt = "<span>You have just received an email from security.<br> <a href='http://registration/se/Rest.asp?var=" & request.form("id") & "&email=" & email & "'>Please click here.</a></span>"
...
I am having a tough time getting started using OWC. Maybe because MS didn't provide any documentation...
I have found out how to dynamically create a spreadsheet:
Add a reference to OWC1...
I have a table in SQLserver 2000 that has a list of events and a field called dtmDateStamp - default value is
I need to use ASP recordset to retrive the last 10 records entered into the ...
Hi,
I'm trying to create a file that can be called both directly and as an include.
When it is called as an include, the adoConnection object exists and there's no need to create it.
Wh...
I have:
String strTestDate = "02-11-2007";
DateTime coverdate = DateTime.ParseExact(strTestDate, "dd-MM-yyyy", null);
and I want it to be 2nd November 2007.
Hello,
I am trying to use the datediff function in ASP..
date1 = "12/12/07"
date2 = "12/12/08"
outputd = DateDiff("d", date1, date2)
I am expecting 365 ?
However I get this erro...
Hi I need to find out what the regular expression for allow valid domain names, i have the first section from a previous post i made.
[^0-9A-Za-z-]
I want to check for valid domains allo...
I have an excel file in the following format:
ColumnName
_____________
TEST
TEST05
11TEST02
123455
98666
VALUE09
I need to use VBScript to read the data from the file into an ar...
Hi
is there any other way to get the value returned by Request.ServerVariables("HTTP_HOST")
currently using this:
sHTTPHost = Request.ServerVariables("HTTP_HOST")
Then setting an ...
Using remote desktop attempting to access a 2008 server I am getting the following error message. The error does not appear when using XP, the time difference between the server and work stat...
Simple question...
How do I break out of a VBScript in an ASP page, for example
if (something=true) then
do something
exit? break? stop?? what is it?!?
else
do something else
en...
hi - thanks for looking at my question.
I am using ASP to create a new helpdesk ticket in a database that generates a unique ID.
After this ID is generated I would like to offer the user a...
I have the following code which pulls links from a database and displays them with month and day descending...grouped by month. The output looks something like this
December
2003-12-11
...
I need to detect the browser and OS my clients are using.
Browsers: IE 5.x, IE 6.x, IE 7.x, Firefox 1.x, 2.x, Mozilla x.x, Opera 7.x, 8.x, 9.x, Safari 2.x and 3.x and other.
OS: Windows ...
I have an Ajax AutoCompleteExtender that is finally installed and working. It looks people up from a list of 20,000 and returns a person's name and the "PersonID" field.
I got the instructi...
How do you call a VBScript function in Classic ASP. I want to call the following function. Also, can you mix VBScript with javascript within the same .asp program? I am assuming you can as ...
I have an ActiveX control that provides the functionality of a large combobox on a web page. It works fine on an ASP page (not .NET) on my laptop (under LocalHost). Of course, the control is i...
hi experts
i have the following scripts that works well on my server W2k3
' Intruduce the url you want to visit
GotothisURL = "http://www.mysite.com /end.asp?"& ENCRYPTED_CYPHERTEXT
...
I have read several articles (for example, www.adopenstatic.com/experiments/stringconcatenation.asp) where the inefficiency of string concatentation is discussed.
I have lots of code that b...
Using C# , how to find the startdate (monday), end date(friday) of current week at any day of the week.
I keep getting this error:
Microsoft VBScript runtime (0x800A000D)
Type mismatch: '[string: ""]'
Here is the code:
sCurrentYear = Year(date())
Y1=sCurrentYear
Y2=Y1 + 1
Y...
Hi
I've got a problem with a function which is used to retrieve a file off a server. The server has SSL encryption, however the certificate is not issues by a "trusted company" - or atleast t...
Hello,
I need to extract the folder from the filepath. The filepath is as follows:
/Files/Letters/Letters1.asp
What I need from this is:
/Files/Letters/
What is the easy way to do t...