When we display a messabe box using VBScript MsgBox function it is displaying VBScript in the title. Is there anyway to surpress it?
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 have this html code:
<select size="1" name="classes" style="width:115" >
</select>
i want to load this with records from a sql db.
this works in vbscript, but not in asp.
For Eac...
I have a classic ASP web application that connect to SQL server 7.0 name server1. The way it works is I created a user name and password that use SQL login, the user name is user1 and password...
My repeater is creating checkboxes, but it gives them a real long id, like
createWidgetControl_sharedUserControl_Repeater1__ctl1_chkRead
Is there a way to access these via javascript with...
Does anyone have an online reference for the VBScript characters? For example: chr(34), chr(62), etc.
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...
I have the following statement in my ASP page:
<a href="DownloadFile.asp?File=<%= Server.URLEncode(myFile.Name) %>"><% Response.Write myFile.Name %></a>
On clicking the link, the code on...
Hi Experts,
I have done some research online re this error, lots of results but no one seems to have an answer.
Basically my situation is the same as most, the script was working fine un...
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...
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...
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
...
Hi,
I have a form which is submitted and sent by email.
My code is:
Set myMail=CreateObject("CDO.Message") 'CDO
myMail.Subject="Campbell Freight - Online Quote Form"
myMail.From=em...
I have a web application developed in ASP 2.0 hosted on Windows 2000 server with IIS 5.0. Recently I moved the application to Windows 2003 server with IIS 6.0 and getting the error "Execution ...
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...
I have a database that contains the time a user entered and left my site
(EntryHour and ExitHour)
I want to return the total amount of time that user spent in the site ( I had a question ab...
Hi
I am using ASP.NET with VB.NET to develope a web application, my applications passes date values in a Query String form one page (A) to Page (B) in the format "DD/MM/YYYY", in the page (B)...
Please accept my apologies in advance for this additional posting and also for any help you can offer. I've searched around, found several examples of solutions, but I can't get any of them t...
I have an asp3 page that works fine locally but not on our webserver.
It attempts to import a table from an Access database into a SQL Server 2000 database. Here is the code:
SELECT * INTO...
Greetings,
I'm creating an array w/ a loop in asp to use in some javascript. I'm looping through my records and appending each record to the end of the array w/ a comma,
however the las...
Hello. I am using Classic ASP VBScript. I am testing server-side validation with a small, 2-field form. I think I may be on the right track, but I'm unsure how to separate the 2 fields and ...
This error occurs suddenly on my webserver ( IIS and Windows 2000 Server) ...... on ASP ......
Would somebody please help ? Thanks.
Microsoft][ODBC Excel Driver]General error Unable to ope...
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...
Microsoft JET Database Engine error '80004005'
Operation must use an updateable query.
/add_file.asp, line 27
<%
Option Explicit
%>
<html>
<head>
<title>Add File To Data Base</...
Hello,
I have a function (description below) that I use in Delphi programs that I'd like to start using on a website using ASP/VBScript. I'd place it into a small console app and run it as ...