In this statement I'm getting back all recordsets instead of the ones called for. I've tried different quote options but still won't work
strUserName = request.form("user")
strPass = request.form("pass")
strQ = "Select user, pass from loginMinuteman where user = 'strUserName' and pass =...
I'm trying to retreive from a cookies collection and pass each value into a variable, an array called strCookie().
I'm get this error....
Error Type:
Sun ONE ASP VBScript runtime (0x800A000D)
Type mismatch
the code is....
<%
dim iCount
dim objRS
dim objConn
dim strConnectionString
dim...
I'm trying to retreive from a cookies collection and pass each value into a variable, an array called strCookie().
when I redim the array inside a for next loop, I get this error....
Error Type:
Sun ONE ASP VBScript runtime (0x800A000D)
Type mismatch
the code is....
<%
dim iCount
dim objRS...
I've got a form with many checkboxes. The name for the form checkboxes is "menu"
In my ASP page I'm trying to set cookies and then test for their presence.
<%
dim iCount
I'm confused on the syntax of setting a cookie. specificaly the name for the cookie, response.cookie("this here"). I've...
I have a database query to insert records but am getting this error message.
Error Type:
ADODB.Recordset.1 (0x800A0E79)
Invalid operation on open object
The code reads as follows.
bug = 0
strFname = request.form("fname")
strLname = request.form("lname")
strStreet = request.form("street")...
I don't know why this code brings up a blank screen.....
<%
dim iCount
dim strCookie
for iCount=1 to request.form("menu").count
response.cookies("strCookie") = request.form("menu")(iCount)
next
for each x in request.cookies("strCookie")
if request.cookies("strcookie").HasKeys then...
My code for retreiving checkbox values is
<%
dim iCount
for iCount=1 to request.form("menu").count
response.write request.form("menu")(iCount)
next
%>
How would I set these values to the cookie collection?
something like this I think, but it doesn't work
<%
response.cookies("menu")...
I've set up my database and have a table. I'm trying to use the ADO Connection object and recordset object to connect to the database and insert a query from a HTML form. The database is on a remote server at Lunarpages.com. I'm getting the error message below. I've tried reconfiguring the...
I've downloaded a version of MySQL and have installed it.
I'm having trouble getting it to work. I'm opening WinnMySQLAdmin.exe by clicking on the system tray Icon and clicking start service and I get Driver 3.51 not found. I've been trying to get SQL server and now MySQL to work for ages but It...
I've downloaded a version of MySQL and have installed it.
I'm having trouble getting it to work. I'm opening WinnMySQLAdmin.exe by clicking on the system tray Icon and clicking start service and I get Driver 3.51 not found. I've been trying to get SQL server and now MySQL to work for ages but It...
Why doesn't the sub work when called from the <input type='button' name='myButton' value='click me'>
<%
'This won't work, I get nothing
sub myButton_OnClick
response.write "hello world"
end sub
'From here it works
dim strFname
dim strLname
dim strStreet
dim strCity
dim...
Why doesn't the sub work when called from the <input type='button' name='myButton' value='click me'>
<%
'This won't work, I get nothing
sub myButton_OnClick
response.write "hello world"
end sub
'From here it works
dim strFname
dim strLname
dim strStreet
dim strCity
dim...
I've installed SQL 7 and opened enterprise manager. I'm trying to register a new server. In the dialog box i WANT TO CONNECT USING.... windows NT account information or the SQL server login information that was assinged to me by the system administrator. The latter one is what I want to use but...
I have IIS 5 running on my local computer. I can get .htm files of any type to load in my browser but it won't load ASP files.
It was working earlier but not now.
mark
This is all being done on my local computer. I have some websites I'm trying to view in IIS 5, and am also using SQL server to access databases using ADO from those websites via a connection string.
I've had the websites viewable from IIS (although only from my computer, from another computer...
This is all being done on my local computer. I have some websites I'm trying to view in IIS 5, and am also using SQL server to access databases using ADO from those websites via a connection string.
I've had the websites viewable from IIS (although only from my computer, from another computer...
What I'm really trying to do is get a connection string to a database from an ASP page using ADO.
But first I'm trying to get the SQL server configured properly. Under SQL server groups in Enterprise Manager I have a SQL server called "mark(windows NT)". First Question-I want to...
have a couple questions here.
I've set up SQL 7 on my machine along with IIS.
I have websites on IIS. They open fine on my machine but when somebody else tries to open from a remote machine they get "page cannot be displayed" Is this do to not having configured IIS to let remote...
I have a couple questions here.
I've set up SQL 7 on my machine along with IIS.
I have websites on IIS. They open fine on my machine but when somebody else tries to open from a remote machine they get "page cannot be displayed" Is this do to not having configured IIS to let remote...
Hi,
I'm new to ASP. I'm working on the File System Object. My code reads-
<%
dim myFso
set myFso = server.createobject("Scripting.FileSystemObject")
if isobject(myFso) then
for each cdrive in myFso.Drives
response.write cdrive.driveletter
next...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.