all groups > inetserver asp general > january 2004 > threads for tuesday january 20
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
splitting lines of code
Posted by Brian at 1/20/2004 11:20:33 PM
if i wanted to split the below SQL statement on two lines, what would the
syntax be....
SQL = "UPDATE gallery WHERE g_id = " & Request.Form("g_id") &
"SET g_name = " &
Request.Form("g_name") &
"g_add... more >>
Using target="top" in a response.write Please help.
Posted by robskoo NO[at]SPAM hotmail.com at 1/20/2004 9:11:28 PM
Hi, I'm relatively clueless when it comes to correct ASP syntax. I'm
testing out a search form for my company's website which is done in
ASP. The results are displayed as per the code shown at the very
bottom of this message.
All I want to do is add a target="top" to the URL which is displayed... more >>
How can count RecordSet
Posted by Jack at 1/20/2004 8:30:07 PM
Hello,
<%@ Language=VBScript %>
<%
Dim shipment_db
Dim shipmentTable
Set shipment_db = Server.CreateObject("ADODB.Connection")
Set shipmentTable = shipment_db.Execute("SELECT * FROM shipment")
Response.Write shipmentTable.RecordSetCount 'This line is error
%>
But this program can't cou... more >>
ASP Error Messages not getting to the Client with IIS5.1 on XP Pro
Posted by Lance Wynn at 1/20/2004 7:36:28 PM
Hello All,
In case the subject wasn't completely clear, I just upgraded to Windows
XP Pro from Windows 2000 Pro. All my ASP stuff seems to work, except that
when an ASP page generates an error, and the Error handling is set to "On
Error Goto 0" the page just stops, as if I typed a response.... more >>
Response.flush()
Posted by Jon Spivey at 1/20/2004 5:44:29 PM
Experimenting with response.flush() but can't seem to get it to work. This
code
<%
response.write "<p>started</p>"
response.flush()
for i = 1 to 10000000
i = i +1
next
response.write "<p>ended</p>"
%>
Should it not write started to the screen straight away and then a couple of
seconds lat... more >>
weblog
Posted by Matt at 1/20/2004 4:57:25 PM
Does ASP provide weblog functionality? For example, I want to collect the
statistics of every page in the home page, how people access the pages,
etc...
In C:\WINNT\system32\LogFiles\W3SVC1, it has collections of web log file. I
guess we can parse the file and do the analysis??
... more >>
"query contains" help please
Posted by David at 1/20/2004 4:23:35 PM
Hi,
I'd like to adapt the query below to select records only if the Title field
contains the string "Book" (as an example).
I'd also like to use a different variant of the query elsewhere to select
all records where the Title field does not contain the string "Book".
I know my question s... more >>
Save to file
Posted by Jan Plastenjak at 1/20/2004 4:11:31 PM
I'm trying to do this:
Set fso = CreateObject("Scripting.FileSystemObject")
Set file = fso.CreateTextFile("C:\Program Files\Test\Uploads\res.xml", true)
file.WriteLine(res.xml)
file.Close()
but in IE I only can see progress (in status) bar which never ends and
never save anything... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
date formatting
Posted by dave at 1/20/2004 4:09:57 PM
how can I format date that always return in fixed width.
for example..
if the date is 1st jan, 2003..
it should return 01/01/2003 not 1/1/2003
i need date format always in 10 characters...
thanx in advance..
dave
... more >>
Server.CreateObject("InetCtrl.Inet") ??
Posted by Matt at 1/20/2004 4:09:07 PM
If I want to show the current temperature in my web site, I will get the
information from http://www.weather.com
I heard someone told me to use Server.CreateObject("InetCtrl.Inet"). I am
not sure if that object exists, since I couldn't search it. Any ideas??
... more >>
calendar
Posted by FabienV at 1/20/2004 3:26:30 PM
Hi
I try to get a simple calendar composant.
Someone get it ?
FV
... more >>
do we need id attribute??
Posted by Matt at 1/20/2004 3:23:09 PM
I want to know if we need id attribute? Or just name attribute is fine?
For example:
Name: <input type="text" id="text" name="fname">
... more >>
"In Between" Page Not Loading..
Posted by Richard Morey at 1/20/2004 3:00:31 PM
Hi,
I am trying to build an "in between" page to show an animated "Working.."
gif while a long process runs on the server via ASP.
The problem is that the table/gif is not displaying when I load the
inbetween page..
This is my code snippet:
Updating Room Type
#<%=setRoomTypes.F... more >>
How can change variable type in VBScript
Posted by Jack at 1/20/2004 2:21:31 PM
Hello,
<%@ Language=VBScript %>
<%
dim a
dim b
a=11
b="11"
if a=b then
Response.Write "a=b"
end if
%>
But can't shows "a=b".How can changes variable type?
Thank you
... more >>
breaking a string into components
Posted by Thomas Brooks at 1/20/2004 2:16:33 PM
Hi everybody....
Here's a question for you. I think the answer is simple, but I'm not sure
how to go about it...what I want to do is to break down a string into
components. I already know about the LEFT, MID, and RIGHT properties, but I
don't believe they'll work in this case. Anyway:
I ... more >>
Looking for free or open source shopping cart
Posted by John Sutter at 1/20/2004 1:52:59 PM
Hi
I am looking for a good quality shopping cart that's free and open source.
I have searched aspin.com and hotscripts.com but the only free ones I saw
were pretty simple.
I am looking for something like OSCommerce for PHP.
John... more >>
Content Expiration
Posted by F NO[at]SPAM yy NO[at]SPAM Z at 1/20/2004 1:34:07 PM
Hi All
I am having problem of content expiration it expires immidiately.
Real problem is I am replacing some images on mouse over. On every mouse
over its downloading images from server that takes time to display, and
second thing is its working fine with same aaplication on server1 but when... more >>
NT Authentication and File Shared Websites
Posted by Marvin at 1/20/2004 12:41:06 PM
We have an ASP.Net application that is being stored on a file share seperate from the IIS server machine. The application has been designed to use NT authentication (via User.Identity.Name) to control user access and security
We have IIS configured to list the site as a virtual directory under t... more >>
validation in radio button
Posted by Matt at 1/20/2004 12:40:40 PM
The following code is try to validate if the user selects a radio button
choice. I dont understand why document.UserInputs.question.value; gets
undefined value even user make a choice. I tried text box and drop down
list, and it works fine.
<html>
<head>
<script type="text/javascript">
f... more >>
getting the page name
Posted by middletree at 1/20/2004 11:55:31 AM
How do I request the actual page name that I'm on? This is going to go into
an include file, and depending on which page I'm on, I'd like to do
different things. I'm looking for "pagename.asp"
... more >>
DB connection in asb
Posted by JIM.H. at 1/20/2004 11:36:07 AM
Hello
I do not know anything about asb but I just want to import this part of VBscript file to an asp code to help my frined. This part of code is working if I run it as a vbscript on the command line, but we could not get it run in a asb files.
MyODBC = "SQLODBC
MyUsername = "sa
MyPassword = ... more >>
Query.asp for IIS 5.0
Posted by James at 1/20/2004 11:11:41 AM
Is there a prepackaged query.asp for IIS 5.0 and windows
2000? If so, where can I find a copy?
... more >>
Vanity URLs
Posted by Chris Guimbellot at 1/20/2004 10:49:21 AM
Hello,
I am trying to create vanity URLs (I think that's what they are called) that
link directly to an item's listing
page on my site. Currently, the urls are set up something like the
following:
http://www.mydomain.com/productinfo.asp?prodID=00000
I am trying to configure them to be so... more >>
Request.ServerVariables("HTTP_REFERER")
Posted by F NO[at]SPAM yy NO[at]SPAM Z at 1/20/2004 10:36:32 AM
Hi All
I am using Request.ServerVariables("HTTP_REFERER") to refer back in some
pages but on clint side some pages refered back and some show error page not
found.
I dont know whats wrong with code.
retstr = Request.ServerVariables("HTTP_REFERER")
if instr(1,ucase(retstr),"STEPPAGE") > 0... more >>
Limitation of File DSN
Posted by M P at 1/20/2004 10:16:02 AM
Is there any limitation on how many file dsn can I use per IIS Server?
... more >>
Writing query statement to Access Database from ASP page
Posted by gstout NO[at]SPAM uscs.edu at 1/20/2004 10:12:03 AM
First off I do not know alot about writing queries to an Access
Database from an ASP page. This is why I need help.
I have an Events database for 6 colleges in our metro area. On the
homepage I have to display the next event for each college. That would
give me 6 events listed on the page. I h... more >>
Strange form problems
Posted by Peter Rooney at 1/20/2004 9:09:42 AM
Hi,
I have a form that allows you to do search, for each record found it
populates the form fields with the data from the database and creates
page sets for next and previous, now for the stange part, when the first
record appears if i press update the values are passed no problem,
however i... more >>
Checkboxes
Posted by Jay at 1/20/2004 3:48:17 AM
I have a form that has checkboxes. I would like when the user clicks the
process button the next page will display the value of the boxes that were
checked.
... more >>
EXE tools for viewing/modifiying Acess2000 data on remote server
Posted by Mike Collier at 1/20/2004 3:17:39 AM
Hi,
Can anyone suggest a 3rd party tool to allow web developers to view/modify
file based databases (like Access) over the web.
I've found loads of HTML/Browser/RDS based ones, but are their any client
side EXE kinds?
--
Mike Collier BSc( Hons) Comp Sci
http://www.adoanywhere.com/forum... more >>
executing a db command in asp
Posted by Brian at 1/20/2004 12:58:06 AM
hi,
when i want to do an action to the database i am using the command
Set myConn = Server.CreateObject("ADODB.Connection")
myConn.Open = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" &
Server.MapPath("photoalbum.mdb") & ""
Set RS1 = myConn.Execute(SQL1)
is there something else i can... more >>
|