all groups > inetserver asp general > august 2005 > threads for august 1 - 7, 2005
Filter by week: 1 2 3 4 5
Dynamic ASP form - prevent user choosing default
Posted by iam247 NO[at]SPAM gmail.com at 8/7/2005 1:43:12 PM
Hi
I have an ASP form which only includes an option list. The list is
dynamically created but includes a default value, which is an
instruction "Select a group".
The code is shown at bottom.
I want to ensure the user does not submit the form with the default
value selected.
I think so... more >>
Inlcude Null Values in Result Set
Posted by Adrienne at 8/7/2005 8:26:46 AM
***
Sorry if this message came twice, I wanted to cross post, and sent it
before doing so. I tried to cancel the original.
***
I'm working with an Access DB, and two tables. This is going to be
ported to MS SQL shortly. The tables are category and merchantcategory,
and the link is on c... more >>
javascript form validation - form action to another asp page
Posted by iam247 NO[at]SPAM gmail.com at 8/6/2005 5:08:03 PM
Hi
In my prototype asp page (with no javascript and no password
validation, I have a registration form with the following action:
<form name="form" method="post" action="RegDetails.asp">
This works fine, the form details are collected by RegDetails.asp
I am attempting to include javascr... more >>
Resize photo store on server?
Posted by Noozer at 8/5/2005 9:11:46 AM
I have a Windows 2000 server. My ASP application allows users to upload a
photo for display to other users. Unfortunately everyones photos are
different sizes. I'd like to resize the photo to 150px wide while
maintaining the aspect ratio of the photo.
Is there anything built into IIS/ASP that ... more >>
debugging classic ASP using Visual Studio .NET
Posted by pimming at 8/5/2005 8:49:31 AM
Using either VS.NET 2002 or 2003 I can only get the ASP debugger to
connect when my start action is Project (file based). If I change the
start action to URL I get an error: Unable to find project on the Web
server. Unable to set server into correct debugging state
automatically. You may not b... more >>
ASP calling Excel Objects
Posted by julian.tklim NO[at]SPAM gmail.com at 8/5/2005 3:22:12 AM
Hi,
Recently, I upgraded to MS Office 2003 SP1. I am running on Windows XP
SP2, IE6 SP2. When I tried to open my coporate website which runs on
IIS Server, one of the ASP page gave a run time error.
Error: Object doesn't support this property or method:
'ProjectionForm.ssWorksheet'.
Basi... more >>
unicode display
Posted by Tommy at 8/5/2005 12:00:00 AM
I use MSSQL2000 with nvarchar to store foreign language e.g. Simplified
Chinese or Japanese and thse records can be well displayed via Query
Analyzer.
Now, using asp to select record and display. It found that the code can be
in "code". I put "<meta http-equiv="content-type" content="text/htm... more >>
recordset as a treeview
Posted by David Shorthouse at 8/4/2005 9:48:53 PM
Hello folks,
I have been looking for a means to generate a recordset as a treeview in
pure asp, collapsible/expandable by one field in the set as either a "+" or
"-". Can anyone point me in the right direction? Ideally, I'd like to not
have to generate the entire recordset to deliver th... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
RS.RecordCount always returns -1
Posted by jl at 8/4/2005 2:01:22 PM
Hello,
I am trying to determine if a recordset is empty or not, and if
it is empty print out a message saying no records found. I thought
I could use rs.RecordCount but it always seems to return -1 no
matter if there are records in the rs or not. Does anyone have
any ideas as to why this doesn'... more >>
Asp/SQL server error when querying table
Posted by Rasta at 8/4/2005 10:36:37 AM
Hi, I've created a new table in a SQL Server db called 'LGBProdDetails' and
I keep getting an error from my asp page that queries the table The error
is:
Category=Microsoft OLE DB Provider for ODBC Drivers
Brief Description =[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid
object na... more >>
Error In code - Do Loop
Posted by JP SIngh at 8/4/2005 9:49:42 AM
I trying to print the name of all the lists and the members of those list.
The code below works perfectly but it gives an error on the last listname
error '80020009'
/addeditdependentlists.asp, line 278
Can someone please help. The solution I have implemented is from the answer
provided by ... more >>
How to collect the UserID, Client Machine Name, IP address info?
Posted by Kam at 8/3/2005 9:43:01 PM
In my asp server page, I would like to collect the USERID, Client Machine
Name, IP Address information and passing it back to the server for validation
control.
How can I achieve it in Jscript?
... more >>
Quote Trouble 2
Posted by scott at 8/3/2005 7:53:35 PM
I'm trying to combine some asp and js with onclick event, but going crazy
trying to get the quotes right on 3rd line below. Any help.
CODE:
sCheck = " checked"
sHTMLTargetPage = "mypage.asp"
response.write "<input type=""radio"" name=""iFilter""" & sCheck1 & """ & "
" & onclick=""docum... more >>
Quote Trouble
Posted by scott at 8/3/2005 5:50:20 PM
I have a style variable below that I can't figure correct quotes for in
response.write line. Any help?
CODE:
sTeamVisible = "visibility: visible;"
Response.Write "<td class=""teamdrop1"" style=""" & sTeamVisible & """ & " "
& RenderTeamFilter(teamID) & "</td>" & vbCrLf
... more >>
Manipulating XML REQUEST withing ASP
Posted by SP at 8/3/2005 5:08:30 PM
Hi I have a problem with a customer's XML being submitting to me in a
non-well-format XML.
They said that there are 18 other partners who has been able to tweak the
XML to make it work.
So I guess here is my question, in ASP, when working with XML, how do you
handle non-well-formed XML docu... more >>
how to add rows on the form
Posted by CD at 8/3/2005 2:39:54 PM
My idea is to have a web form that a user can add extra fields if needed.
Example would be a form that a user would add ComputerName, IP, and at least
one row of data say Application, Vendor, Contact. Then they need to add two
more rows of the same data (App,Ven,Cont). So I guess some sort of... more >>
Basic Looping Question
Posted by JP SIngh at 8/3/2005 11:59:22 AM
Hi All
I have threee tables like the one below and i would like to ask if it is
possible to display the data from all three tables using a single recordset
in ASP.
TABLE - tblList
id - Number
ListName - Text
TABLE - tblListMembers
ListId - Number
Username - Text
TABLE - tblEmpl... more >>
CURRENT DATE and TIME Question
Posted by TenOCC at 8/3/2005 9:29:27 AM
I have an event that update my database, I would like to record the current
date and time when the record was updated.
Not quite sure of the command
Conn.Execute ("UPDATE dM SET OpenDate = ???????)
... more >>
OnChange Event
Posted by dthmtlgod at 8/3/2005 7:21:06 AM
When a user changes the value in a select statement, I would like to update
the recordset using a onchange event.
Could someone please point me in the right direction? Would like to stay
away from forms if possible.
<select style="width: 200px; font-size: 10px;" name="selStat" size="1">
<o... more >>
Adding a new entry to a list menu based on a database
Posted by Derek at 8/3/2005 7:13:13 AM
Let's say I have a dynamic list/menu, which gets its values from a
database table, for example a list of contact people where the value is
an ID number and the label is the name. However, if the value the user
wants is not in the list I would like to place a hyperlink which
will...
(1) open a... more >>
_to_redirect_http_calls?
Posted by Stren Assaf at 8/3/2005 4:45:01 AM
Sorry for this question, I sure (and hope) it’s elementary but still…
I need to implement an application that receives http calls from a remote
client, do something with it and returns some feedback. I want to use IIS
(version 6) as my front end http server (with https and ssl services) whi... more >>
Re-install ASP-engine
Posted by r NO[at]SPAM gnar.de at 8/3/2005 3:29:07 AM
A new-installed server-application has damaged my IIS.
Now I want to reinstall the ASP-engine on my W2k-server
I already tried:
- remove IIS (-->add-remove programs)
- install IIS and all components (-->add-remove programs)
- run Windows 2000 SP4
- run IISSTATE for debugging
best regard... more >>
Print from ASP
Posted by facatena NO[at]SPAM surson.com.br at 8/3/2005 12:09:03 AM
Hi,
I have to make a print page that have 400 lines. How to break it in feew
pages? How to contrl it??
... more >>
Create
Posted by simon_desarte NO[at]SPAM yahoo.co.uk at 8/2/2005 5:00:32 PM
Hi There,
I am hoping somebody can point me in the right direction - I have
created an ASP page which creates a list of all documents in a given
folder (testfolder in the root). (Code is pasted below)
What I would like to do is create a form checkbox after each file link,
how would I create t... more >>
Need help understanding regular expression
Posted by Joe at 8/2/2005 4:28:03 PM
Hi,
I have been using a regular expression that I don’t uite understand to
filter the valid email address. My regular expression is as follows:
<asp:RegularExpressionValidator id="valValidEmail"
runat="server"
ControlToValidate="txtEmail"
Validat... more >>
sub or function
Posted by Roland Hall at 8/2/2005 1:23:50 PM
I'm tired of getting beat up on this issue so I thought I'd ask what you
some of you think.
I know the basic difference between a subroutine and a function is a
subroutine performs a task and a function performs a task and returns a
value. The Call keyword is required when using parens wit... more >>
Join() and Array with Null
Posted by !TG at 8/2/2005 11:58:18 AM
I recently learned of Join
response.write join(ThisArray," ")
I am having trouble with it, however and it appears to be caused by null
characters.
Is there anyway around this join problem with Arrays containing Null?... more >>
session variables getting overwritten
Posted by Rahul Chatterjee at 8/2/2005 11:27:19 AM
Hello All
I have 2 websites both using different style sheets (.css). The stylesheets
are stored in a session variable and get set at the time the site gets
invoked. What is happening is something like this.
I bring up the first site and navigate around. Everything is okay. The
stylesheets ... more >>
email updating a database?
Posted by mark | r at 8/2/2005 11:19:37 AM
ive noticed loads of online apps that allow emails sent to a particular
address, to update a database i.e. ta-da.com - can this be achieved with
COMless scripting in asp?
Mark
... more >>
Dates in SQL Server
Posted by JP SIngh at 8/2/2005 11:12:10 AM
I have a SQL Database with an ASP front end.
There are actually two webservers which connect to the SQL database in UK.
i have two questions
1. How can I insert null values when inserting dates within my records. If
gives me a type mismatch error is the form field was empty.
2. How will... more >>
Closing a window after response.binarywrite
Posted by Max Dupenois at 8/2/2005 4:42:39 AM
I've seen numerous articles with similair (similar sp?) titles to this
in my search.. unfortunately none of them seem to contain what i want,
(or if they do i need someone to point out my stupidity for me :p )
Anyway I have a file dialog box being opened using
Response.AddHeader "Content-Dis... more >>
Paging
Posted by Eugene Anthony at 8/2/2005 12:30:29 AM
I have the following table created in ms sql:
create table categories
(
CategoryID int IDENTITY,
CategoryDescription varchar(30),
ParentCategoryID int
);
I have also created a stored procedure in ms sql:
create procedure sp_PagedCategories
@Page int,
@RecsPerPage int
AS S... more >>
content fill asp page while it loads
Posted by the G at 8/2/2005 12:00:00 AM
I've got an asp page which scans a range of IP addresses and printes the
response to screen.
I've tried loads of methods and ended up with using javascript innerHTML to
try and fill the content
What I'd like is the value to return instantly rather than wait until the
routine has completed ... more >>
Paging, Subsort...
Posted by Kevin at 8/1/2005 10:15:15 PM
Can anyone point me to a code example where a recordset.absolutepage is =
sorted independantly of the original recordset. That is; if I populate =
an ADO recordset with an ORDER BY ListingDate clause, and I need to =
(subsort) recordset.absolutepage five of my paging on another field, say =
for... more >>
hi i need about external data acessing
Posted by piyush.plaban NO[at]SPAM gmail.com at 8/1/2005 3:18:22 AM
i need to create a site with a feed back system
one of my friend said to me ASP has nothing to do with this project
is it possible to do this using ASP ??
if yes then what r the major functions that i should use !!!
... more >>
receive e-mails
Posted by jamal at 8/1/2005 12:00:00 AM
hi guys I am looking for a way to read & download my e-mails from my pop3
account from another server by using ASP(vb)
If you know anything about this subject please feel free to let me know.
I learn how send but not receive.
thanks
Jamal
... more >>
|