all groups > inetserver asp general > january 2004 > threads for sunday january 11
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
ASPSmartUpload Question
Posted by camikins NO[at]SPAM telus.net at 1/11/2004 8:06:47 PM
Hi:
How can I rename the file being uploaded using ASPSmartUpload?
I can set the other parameters ok, just looking for the syntax to rename the file.
E.G. User uploading GIF file. I'd like to rename the file 'test.gif'
********
<%
Dim mySmartUpload
Set mySmartUpload = Server.Crea... more >>
IS Access that bad?
Posted by middletree at 1/11/2004 7:01:56 PM
I've only used SQL Server until this latest project, and the only option is
Access. I've read some things here about how Access just isn't as good as
SQL Server, and I agree, but other than scalability, what other things
should I look out for?
Please note there this is for a church, and perhap... more >>
Trouble retrieving value with request.form
Posted by Chris Shipley at 1/11/2004 6:07:01 PM
I am trying to present a list of links on a page (Form) where each link
opens a different picture gallery. I have the Form page which contains the
links, a Gallery page, and several include files. Each include file displays
a different gallery.
Clicking on a link submits a value identifying the ... more >>
Formatting dynamic tables
Posted by Debbie Davis at 1/11/2004 3:49:31 PM
Greetings,
I have a table called locations which holds 9 store locations. I am at
my wit's end trying to format these like this:
centered
City Name(named once)
store store store store
next, etc.
Here's my dilemna: Some cities only have 1 location, some have 4, some
have 3. I do... more >>
PBM: MSXML4 typelib constants not recognized in server-side script
Posted by Vince C. at 1/11/2004 3:14:52 PM
Hi,
I've created a web application with Visual Interdev and I've added Microsoft
XML, version 4 in project's references. A META tag has been successfully added
in global.asa:
<!--METADATA TYPE="TypeLib" NAME="Microsoft XML, v4.0"
UUID="{F5078F18-C551-11D3-89B9-0000F81FE221}" VERSION="4.0"--... more >>
Newbie: Nested dynamic arrays
Posted by neil.fulcher NO[at]SPAM ntlworld.com at 1/11/2004 3:00:40 PM
Hi Folks,
In a nutshell...
I have 6 pieces of info describing products in an array which is
carried between asp pages in session arrays.
e.g.
localcart(x,i)
For...
localcart(ProdID,i)=ProdID
localcart(Size,i)=Size
etc..
Loop
then..
session("cart")= localCart (to carry... more >>
Request("controlname") can use for both GET and POST protocol??
Posted by Matt at 1/11/2004 1:49:57 PM
If we use GET protocol, we can use either Request("controlname") or
Request.QueryString("controlname") to get the data entered by the user. But
if we use POST protocol, we MUST use Request("controlname"), and
Request.QueryString("controlname") won't work. I think
Request("controlname") means Req... more >>
FSO question: create directory/subdir based on month/year
Posted by Ken Fine at 1/11/2004 1:27:06 PM
I want my application to maintain a directory tree based on months and
years, e.g.:
2004
January
file
file
file
February
file
file
...
Anyone have some FSO code that would do something similar to the foll... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
UPS Shipping Tools
Posted by Jason Burr at 1/11/2004 3:55:45 AM
Has anybody used the UPS tools for calculating shipping and if so how did
they go about it? I have seen the articles on 4guysfromrolla but that
appears to be using xml component to get the data from the ups site rather
than using the developers tools provided by UPS.
I am just not sure the bes... more >>
OK ... AGE FUNCTION TEST RESULTS ...
Posted by z NO[at]SPAM z.com at 1/11/2004 3:55:26 AM
My function versus the Int(DateDiff()) approach
Here was the code used ... then the results
By the way, my function and aspfaq.com's calculations are equal (and
correct for that matter).
<%
Function yearsOld(birthDate)
Dim currentDate, monthDayComparison, addYear: currentDate =
Now... more >>
implement "select all" button to select all checkboxes
Posted by Matt at 1/11/2004 1:46:48 AM
In ASP page, there is a "SELECT ALL" button, when user click it, it will
select all checkboxes. I am not sure should I use client-side code to do
that? the following is my approach but it didnt work.
<script language="JavaScript">
function selectAllCheckBox()
{ //alert(document.addzone.c1.val... more >>
How do I use the "DISTINCT" command
Posted by michaaal at 1/11/2004 1:44:36 AM
I use the following SQL command in my ASP webpage...
SELECT DISTINCT CarList,CarListID FROM Model
My problem is that I would like for "CarList" to be distinct and not
"CarListID". How can I fix this problem?
... more >>
Microsoft VBScript compilation (0x800A0400): Expected statement
Posted by Matt at 1/11/2004 12:03:47 AM
When the ASP statement end with a _ character, then the next line cannot
have comment ' character. Is that correct? Since I encountered the following
error:
Microsoft VBScript compilation (0x800A0400)
Expected statement
sqlStmt = "insert into TimeSlot (WeekDay, BeginTime, EndTime) VALUES... more >>
execute sql count statement in asp
Posted by Matt at 1/11/2004 12:00:26 AM
In ASP page, if we want to retrive the number of rows in database: should we
use recordset object? Since this is not update, insert, delete, or select
statement
sqlStmt = "SELECT COUNT(*) from table1;"
Set objRS = Server.CreateObject("ADODB.RecordSet")
objRS.open sqlStmt, strConnect... more >>
|