all groups > inetserver asp general > july 2004
Filter by week: 1 2 3 4 5
AOL? Any ASP conflicts?
Posted by michaaal at 7/31/2004 8:27:57 PM
Will my ASP site be compatible with AOL users? Are there some things that
won't work with AOL users?
I also posted this quesiton on an HTML newsgroup - is this strictly an HTML
question? Or should I be concerned with my ASP code?
... more >>
need help
Posted by Savas Ates at 7/31/2004 2:52:11 PM
i have a website... when a user sign up my site
sql="UPDATE users set status=1 WHERE userid = '&username&';"
but when a user leave my site i want to adjust status as =0 in my database
and when user click another user he must see his status
to make this onsession end and on application .e... more >>
Create in access
Posted by Jeff at 7/31/2004 2:16:36 PM
Ok. I am creating a table in an access DB based on a form submission. This
works fine. The problem I am having is, if there is a space in the
submission. For example.... someone submits "The Island"
when the asp script uses SQL to create the DB, it creates it as "The" only.
SO I am guessing it ... more >>
i want to understand who is online or offline .. how can i do?
Posted by Savas Ates at 7/31/2004 9:58:26 AM
Get tab delimited results
Posted by Niraj Khandwala at 7/31/2004 3:02:09 AM
hi all,
need to query a database and then get the results in a tab delimited
file. currently am writing record by record in the file using the FSO,
but just wanted to check can we directly get the results in the TAB
delimited format and save to a file on the server.
Thanks & Regards,
Niraj... more >>
global asa problem..?
Posted by Savas Ates at 7/30/2004 6:58:21 PM
i have table to understand which user is online or offline...
when a user enter the system i check the my field as 1
when a user quit the site i want to make my field =0
for this i used global.asa Sub Session_OnEnd and Sub Application_OnEnd
both.
Sub Session_OnEnd 'Runs wh... more >>
Excel compatibility help
Posted by andrea kampa at 7/30/2004 6:45:59 PM
Asp newbie seeking help.
Hi all, I'm tryn to use excel2000 with iis5. my os is win2000 pro.
I've saved an xsl spreadsheet with graph as htm file by selecting
publish:sheet+interactivity. Then I save it in my documents folder as
somename.htm. At
first interactivity sheet-graph works well but... more >>
Redirect to secure FTP site via response.redirect
Posted by Ron Howard at 7/30/2004 5:26:10 PM
I am trying to use the following in an ASP page to redirect a user to a
non-anonymous FTP site:
response.redirect("ftp://myusername:mypassword@ftp.mysite.com")
but I keep getting a "permission denied" error. If I just put the same
address string in IE6's Address box and go to it, IE opens m... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
asp file read binary data in sql server 2000
Posted by izumi at 7/30/2004 4:44:21 PM
I write the code as follows.....
But I cannot print the binary data as meaningful data format.
any idea????????
Response.Buffer = True
Const adTypeBinary = 1
Set objStream = Server.CreateObject("ADODB.Stream")
objStream.Type = adTypeBinary
response.binarywrite rs("abc")
... more >>
Session storage vs. frequent DB calls
Posted by Rune at 7/30/2004 2:03:36 PM
Hi,
I'm developing web surveys where users logon to a web survey and answer up
to about 50 questions, one after the other, shown only one question at a
time. The answers are saved in a database.
A fellow developer and I are discussing when is the best time to save the
answers. We have two a... more >>
Script errors in ASP
Posted by JP SIngh at 7/30/2004 12:42:37 PM
I have started to get the following error of late.
Does anyone know why this happens?
Microsoft VBScript runtime error '800a01fb'
An exception occurred: 'RS.Open'
/viewmyholidays.asp, line 17
I am running IIS on Windows 2000. The only thing that has changed in last
4-5 days is I h... more >>
writing to a text file
Posted by spiderman at 7/30/2004 12:03:15 PM
Hi,
Could someone show me how to write (String data) to a text file from an ASP
page? Thank you
... more >>
getting values from more than 1 form
Posted by spiderman at 7/30/2004 12:00:57 PM
Hi,
How can I getting parameter values from more than 1 HTML form onto the
same ASP page? Thank you
... more >>
OT?: Application Architecture Question
Posted by CJM at 7/30/2004 11:29:47 AM
I have a potential client who has a Access-based DB which they use for
recording orders, customer details etc...
They want to provide some of this information online, eg. customer account
details and stock-levels etc, whilst retaining their existing functionality.
They also want to retain the ... more >>
Application object lost?
Posted by OsD at 7/29/2004 4:29:10 PM
I'm having trouble with the workflow described bellow:
1. Asp page 1 on server A contains an iframe.
2. Asp page 1 submits a form targeted to the iframe, to Asp page 2 on
server B.
3. Asp page 2 runs in the iframe and at some point might decide to submit a
form targeted to the _top frame, to... more >>
time in millisecond
Posted by szymex at 7/29/2004 1:47:26 PM
How can I get current time in milliseconds in ASP?
... more >>
asp zip files and present link
Posted by Carol at 7/29/2004 1:46:50 PM
how do i zip 20 text files in asp then present a download link.
thanks.
i'm using windows 2003
... more >>
Still confused
Posted by Neil Greenough at 7/29/2004 12:45:02 PM
I'm still confused as to how the language used in .asp looks up certain
information.
In my case, I have a Access Database, and I want .asp to give me an
estimation online, using the information from my database. Does that mean I
have to upload my database onto the web?
... more >>
search within a search within a search - looking for better way...my script times out
Posted by abbylee26 NO[at]SPAM hotmail.com at 7/29/2004 12:26:29 PM
My code does what I want (works unless there is a lot of
volume...works for this month cause not a lot of items marked paid
yet...) but the page times out for last month because there is just
so many items. Is there a better way to do this?
my page gets all distinct Oganizations.
within e... more >>
favorites (bookmarks) to database
Posted by Alexandre Almeida at 7/29/2004 11:34:29 AM
hello,
how can i put my IE favorites into a database(access).
i'm trying to manage my favotites using a web page.
thanks on advance
AA
... more >>
Recordset Errors / Friendly Message needed
Posted by dmiller23462 NO[at]SPAM yahoo.com at 7/29/2004 11:22:43 AM
My brain is nuked....Can anybody tell me right off the bat what is
wrong with this code? Along with any glaring errors, please let me
know the syntax to display a message (Response.Write would be fine I
think) that will say "I'm sorry but the data you requested cannot be
found" or something alon... more >>
Newbie - Include File
Posted by TNGgroup at 7/29/2004 10:52:54 AM
Hi,
Strange things:
I'm using an ASP page in a subfolder, with an include.
but when using ...inlcude file="../fileintheroot.html".
I'm getting an error (An error occured on the server ....)
When I move the file into the subdir, so without the ../, it works fine.
I also tried to use the f... more >>
Renaming a File
Posted by Keith at 7/29/2004 10:13:58 AM
Is it possible to rename a file which a user uploads to the server?
I have a form which allows users to upload an image to a folder on the web
server. This works fine.
The form they submit takes their firstname, surname and the file.
However, I want the file to automatically be renamed to... more >>
asp on domain controller
Posted by Douglas G. Walker at 7/29/2004 9:39:05 AM
Can anyone tell me how to get ASP to work on a Server 2003
domain controller? I keep getting 10004 errors in the
system log. I've tried resynching passwords etc.... more >>
replacing breaks
Posted by middletree at 7/29/2004 8:32:37 AM
I have an email form page, and the body of the message is in a textarea. In
testing, I noticed that the paragraph breaks weren't showing up in my
web-based email that I sent to myself. So I put in a replace function to
replace vbcrlf with < br >. (I put those spaces in there for the purpose of
t... more >>
Multiple debug sessions
Posted by DaveK at 7/29/2004 8:27:02 AM
We have a development iis6.0 server. Multiple programmers are developing independent applications. Non are sitting on the machine they all develop on their own system. Regularly they try to debug and receive the following error
Error while trying to run project: Unable to start debugging on the ... more >>
Filesystem Object and IIS6
Posted by stuart.cochrane NO[at]SPAM kellogg.com at 7/29/2004 7:40:13 AM
Hi,
I am trying to access remote directories using the filesystemobject
and ASP. This only seems to work when the security is set to
anonymous. However, I want to connect to the remote server and pass
through the users credentials rather than the "connect as" anonymous
credentials. The web se... more >>
CDO Mail Object Help
Posted by connie at 7/29/2004 7:15:04 AM
I have an E-mail ASP Web form that is using a CDO Mail
Object. This form has to be filled out before the
customer can download our demo. Currently, the customer
fills out the form, clicks to submit and a message appears
to the customer telling them it was successful and to
click on a pict... more >>
submitting two forms in same page?
Posted by Bjorn at 7/28/2004 8:21:23 PM
Hi,
I need to submit in the same page two forms to two different ASP-pages.
I created two forms, each with hidden input and a submit button. But it
doesn't work. Nothing happens with the second form.
Does it exist a way to do that?
Thanks
bjorn
... more >>
simple link question
Posted by Jeff at 7/28/2004 7:21:07 PM
Please don't look down on me for this, but it is something I have never
thought learning before.
Lets say you have protected pages.. and youhave script at the top that
directs the user to the login page if they are not logged on.
how can i have someone log in, and once they click the login but... more >>
Web page recorder required
Posted by JJ at 7/28/2004 5:14:36 PM
Hi,
Sorry this is probably not the correct forum, but the website in question is
fully ASP :)
I need to provide a demo of my web application on my website.
Does anyone know of any software which can record a demo of a web
application?
I have seen a few screen recorders, does anyone have expe... more >>
FSO delete the very last character in tgext file
Posted by Carol at 7/28/2004 5:06:30 PM
With ASP, I am generating a huge CSV file. It is to large to open in
notepad.
Can I use the Filesystem Scripting Object to read the very last line of the
file and delete the very last character?
I am hoping the DSO will not have to read thru the whole file. it is
probably way to big.
Th... more >>
response.write quotes help
Posted by Carol at 7/28/2004 4:12:53 PM
I need to put this whole line into a response.write statement:
field delimiter = "\""
how?
... more >>
introduction to ASP
Posted by Neil Greenough at 7/28/2004 2:51:33 PM
I ain't got the foggiest about ASP, but I know I need to use it to create
what I am after in my website. Could anyone please give me a brief
introduction about ASP, example how you enter it into a webpage, using VB
Script or something else, does your server need to support it etc??? Also,
if any... more >>
Recursive function help
Posted by JP SIngh at 7/28/2004 12:28:48 PM
Hi All
I am trying to write a recursive function to list the managers and his
employees in a tree like sctructure
Manager 1
Emp1
Emp1.1
Emp 1.2
Emp 2
Emp 3
Emp 3.1
Emp 3.2
Have written the follow... more >>
set dynamicly request.contentencoding
Posted by Allaigre David at 7/28/2004 9:59:05 AM
I'm trying to retreive some information from the querystring. The web site
is as default configure in "utf-8".
But on only one page i need to change dynamicly the contentEncoding to
retreive information send by an ActiveX component in iso-8859-1 format.
Iv' try to put this code in my page :
... more >>
Deleting a File with ASP?
Posted by Keith at 7/28/2004 9:53:10 AM
Is it possible to use ASP to delete a file on the web server?
I have a form that allows users to submit files to my site, but I now want
them to be able to delete their files too if possible.
I know the location and filename of the files (this is taken from a
recordset).
I am not 100% ade... more >>
Rent-A-Coder vs. Elance
Posted by michaaal at 7/28/2004 9:14:02 AM
Is ELance much better than Rent-A-Coder? I am hesitant to give ELance a try
because you have to pay for it - and Rent-A-Coder is not "overly
profitable". Is ELance worth the money?
... more >>
Object required? tring to set varible to use with query
Posted by abbylee26 NO[at]SPAM hotmail.com at 7/28/2004 7:35:33 AM
I hard coded "TheYear" (the table) and "MonthPD" (a field) into my
script to make sure the query worked (it did)...so now I want to
replace an actual year (table) with varible which the next step is to
change from the web page.
Switched
"From AllExpenses2004" & _
With
"From " & TheYear & _... more >>
A-B-C-D... links: Have two records in a field
Posted by thecoconutmonkey NO[at]SPAM hotmail.com at 7/28/2004 7:30:22 AM
Hi all.
Im new to ASP, and have hit a snag.
I am trying to build a page that has 'A-B-C-D...' links along the top
of the page. When you click 'A', it goes to a table with everyones
usernames and grabs the ones that start with the letter A.
The problem is that the username field contains ... more >>
How to detect Cookie is enabled or disabled?
Posted by Jessie at 7/28/2004 7:00:02 AM
I found some example on web, but most of them are need 2 pages by using
redirect method. Is there code for do this only in one page? Thank you!... more >>
ASP Date/Time Variables
Posted by dmiller23462 NO[at]SPAM yahoo.com at 7/28/2004 5:19:30 AM
Hey guys,
I'm back again....
I'm trying to put together a search page but what I'm trying to pull
off is only showing the past week's entries....
I've tried declaring "pastweek" as a variable that is actually the
Now() variable....I can't seem to find any syntax help....Basically I
was t... more >>
Formatting asp generated spreadsheet
Posted by + DiamondEagle at 7/28/2004 5:13:37 AM
I'm successfully using Response.ContentType = "application/vnd.ms-excel"
to generate an Excel spreadsheet from an asp page and a SQL Server
database.
One of the columns contains data that is a long number (13 characters
eg. 1122334444566). The spreadsheet does not display the number
correctly... more >>
Any easier way to unusual convert date format?
Posted by ohaya at 7/28/2004 1:14:07 AM
Hi,
I'm working with a date string with a format as follows:
Sat Dec 25 21:32:59 EST 2004
and I want to compare it to another date string of the format:
7/28/2004
I'm only interested in comparing the date part, not the time.
Other than writing code to convert each of the formats to... more >>
type mismatch
Posted by shank at 7/27/2004 6:24:33 PM
What is the proper use for CInt ..?
I get a type mismatch error whether I use it or not.
I assumed I needed it because I need to make sure Request("Qty") and
Request("Weight") were integers.
Also, does this loop structure appear to be correct. rsCart recordset is
just above this code.
thanks... more >>
problems with replace
Posted by shank at 7/27/2004 5:16:18 PM
Shouldn't the below code remove double quotes coming in from
Request("Description") ...?
It's not. Are there other ASCII characters I should be searching for?
The chart I have has Chr(34) as double quotes.
thanks
varDescription = Replace(Request("Description"),Chr(34),"")
... more >>
Generate PDF reporting file with ASP from SQL server datas
Posted by jcleonard NO[at]SPAM free.fr at 7/27/2004 3:02:23 PM
Hi,
I'm looking fo a solution to generate automaticaly a PDF file.
My aim is to use a template define by a user and to insert dynamicly
datas form SQL server in this document.
Can you tell me if it exist PDF template like .dot for word ?
If such file exist is it possible to generate lis... more >>
Modal window and the return value
Posted by romax2 NO[at]SPAM yahoo.com at 7/27/2004 1:41:10 PM
I am using a modal window and an iFrame to try and pull a return value
back. I am doing this across domains.
I have the value returned from the modal window to the iFrame window
but I can not get the value returned to the parent window. The alert
in the parent window always returns undefined... more >>
Display Managers and Employees Database
Posted by JP SIngh at 7/27/2004 1:21:21 PM
Hi All
I am in a very tricky situation wonder if you anyone can help.
We have a table where we store employee information. One of the fields in
the table stores the manager number which is the employee number of the
users manager. Sample data is below
EmpNo Name ManagerNo
2211 ... more >>
ASP code reference guide/glossary
Posted by Hasan Kachal at 7/27/2004 12:38:59 PM
Hi,
Is there a place online that that provides a glossary of ASP syntax?
I need a place that will briefly explain the meaning of ASP code such as:
DIM, IF, ELSE, sub, Response.Write, etc.
If somebody can point me to link, I'd be greatful.
Thanks,
... more >>
|