all groups > inetserver asp general > january 2005
Filter by week: 1 2 3 4 5
Multi file HTTP download
Posted by Derrick at 1/31/2005 4:17:14 PM
Anyone been able to get a multi file HTTP download working with ASP?
I have a single file download working fine with the usual setting the
content type, file name, stream the file from ADO.Stream, etc.
Thanks in advance!!
Derrick
... more >>
Check Existence of QueryString
Posted by Keith at 1/31/2005 3:35:25 PM
What is the easiest way to check if a particular QueryString exists?
I want to know if the QueryString was ever passed rather than whether it
contains a value or not.
... more >>
replacing carriage returns?
Posted by Jerome at 1/31/2005 2:37:00 PM
Hi, I know this is an old question but I don't find the solution on the
'net ...
The user enters his data into a multiline textarea field.
The data is saved in a TEXT field in a database on a SQL Server.
I want to display that data now, but the carriage returns should be
replaced with <br>!... more >>
Download tools
Posted by Simon Wigzell at 1/31/2005 2:32:38 PM
Allowing download of file types that will display in a browser is no
problem, but how about files types that don't display? I would like my
clients to be able to click on a link that will start a download or any type
of file. Try searching on "download"! Of course this has to be server side - ... more >>
Web site login problems (IE6)
Posted by Griff at 1/31/2005 2:17:30 PM
We have a web application that users can use by first authenticating
themselves via a secure connection (HTTPS/SSL).
If one goes directly to that secure page then one can log in successfully
using most browsers (tested with IE6, FireFox & Netscape). These are all
running on a machine runni... more >>
while datareader.read - only returning last item
Posted by BenM at 1/31/2005 1:55:09 PM
I am a novice user of ASP.net, so the following might be trivial for many of
you. I am trying to iterate through a datareader object and add rows to a
table based on the recordset. Here is my code:
ws1_Members.Open()
Dim tmpSQLCmd As New OleDbCommand(tmpSQ... more >>
Write information form a comma separated text file onto an ASP pag
Posted by Roundy at 1/31/2005 1:01:07 PM
My task seems so simple, but I can't seem to determine how to do what I want
to do.
I have a text file that has two lines in it, the first line gives item
labels, my second line gives values for those labels. I would like to use
ASP to present this data on a web page. I also want the page... more >>
"Dynamic" include files?
Posted by Buddy Robbins at 1/31/2005 9:25:34 AM
Hey folks,
I am re-writing an ASP.Net site for a company.
The client wants to be responsible for the static content and navigation of
their site, and I'll be responsible for any dynamic content.
I'm using Infragistics Ultra Web Navigator, which can load the menus from an
XML file, so the na... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Connection String/Network Library
Posted by James at 1/31/2005 9:09:59 AM
We've had a recurring problem where all of a sudden we get a DBMSSOCN
General Network Error on any page that connects to SQL Server. Then we have
to reboot the server and everything works fine again, for a few more hours
and then we have the same problem. Someone suggested adding ";Network
Lib... more >>
MoveFile problem
Posted by Patrice at 1/31/2005 8:57:01 AM
Hi,
I want to move images from a folder to specific subfolders.
The script below generates the following error:
a.. Error Type:
Microsoft VBScript runtime (0x800A01A8)
Object required:'[undefined]'
<%
sub moveImagesToFolder(Folder)
dim fs,fo,x,text,Foldername,fm,f1
set fs=Server.CreateO... more >>
DateAdd
Posted by Wer at 1/31/2005 6:17:44 AM
Hi,
I'm trying to add hours together in the format HH:MM + HH:MM. There
doesn't seem to be a functional part of DateAdd that will accomplish
this though ?
The calculation is to work out how many hours have been spent on a
website so exceeding the 24:00 is fine.
Is there another function th... more >>
Var Assignment.
Posted by n2K at 1/31/2005 2:42:56 AM
I have a var in a javascript like so:
<script language="javascript">
var timerID = null;
var timerRunning = false;
var timeIncrement = 0;
LATER in the code I need to assign a session var to the local var like
so....
timeIncrement = session("incTime")
How do I do this?
I ... more >>
Request.Form - nvacher problem...
Posted by invisibleman NO[at]SPAM nodomain.com at 1/31/2005 2:35:01 AM
Thanks in advance for any help...
I have a piece of code - viewbasket.asp where variable
strProdCode and intQuant are pulled from itemsOrdered table on a
Loop from the DB (SQL Server) after they have been added, which
it does correctly...
<form action="checkout.asp" method="post" id="for... more >>
Put value of a selected item in Listbox in a text field
Posted by Eddy Scheire at 1/31/2005 1:32:02 AM
Hi all,
I've got this listbox and this text field on an ASP page. Now I want the
item I click on in the listbox to appear in the text field and I can't find
the code nowhere for what seems to me such an easy thing to do.
Any help would be appreciated.
Thanx in advance,
Eddy
... more >>
VBScript function returning multiple values
Posted by Roland Hall at 1/30/2005 2:07:50 PM
Is there a way to return multiple values from a function without using an
array? Would a dictionary object work better?
--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or... more >>
New Window.
Posted by Richard Gutery at 1/30/2005 1:26:43 PM
G'day. Trying to open a new window in an ASP script.
Here is the code snippet I am trying to use:
private sub OpenWin()
window.open
"utils/progbar.htm","progress","toolbar=no,scrollbars=no,width=200,height=150,menubar=no,location=no,resizable=no"
end sub
I've tried this:
private sub... more >>
OT?: framesets, redirects, and URL address
Posted by David Shorthouse at 1/30/2005 1:05:25 PM
Hey folks,
I have my entire ASP-driven site in a one-frame frameset to preserve a
static URL in a browser's address bar. I also have a customized 404 page to
redirect a visitor to the top, default frameset. The redirect works, but the
called, nonexistent URL remains in the browser's add... more >>
Help with ASP server calls
Posted by Marek Krzeminski at 1/30/2005 12:02:14 PM
I am new to ASP and I am having some problems that I hope someone can help
me with.
I am using WindowsXP and a book to try to learn ASP.
The book instructed me to install IIS & .Net Framework v1.1 (which I did)
In the book they gave me the following code:
<script language="vb" runat="s... more >>
How to access Microsoft Outlook(Contacts) via ASP?
Posted by Barry Wang at 1/29/2005 11:40:19 PM
Hello, Every one:
Could you tell me how to access Microsoft Outlook(Contacts) Via Asp?
Thanks
Barry
... more >>
Code to return to calling page
Posted by qaz at 1/29/2005 6:37:02 PM
I have login links on a number of pages in my site. Some of the pages
expect variables on the querystring.
I want to be able to login from any of these pages. The login link
redirects me to a login page. I want to go back to the page I came from and
preserve the variables on the querystring... more >>
Country of origin
Posted by Mettá at 1/29/2005 11:58:45 AM
Hi
I am trying to set page content to reflect where the user may come from.
Is there a fairly simple way to tell where web page requests are coming
from? (Site is on a Win2003 server)
i.e. something like (I know it not real)
<%If Request.ServerVariable(".HTTP_USER_ COUNTRY")="UK" Then %>... more >>
How to debug? "No Symbols Have Been Loaded"
Posted by asdf at 1/29/2005 7:47:57 AM
Hello,
I was enjoying working in VS for half a year without any problems and
now I cannot debug anymore. Without any really reason my Studio tells me
that the page that I want to debug has - No symbols loaded. I use VS
v1.7.3088 and .NET framework v1.1.4322 SP1.
I work with ASP.NET using... more >>
Directory list sort order
Posted by Jake at 1/28/2005 11:41:20 PM
Im using the following code to display the contents of a directory:
<%
Set objFso = CreateObject("Scripting.FileSystemObject")
Set objFiles = objFso.GetFolder(Server.MapPath("."))
Set fileList = objFiles.Files
For Each i in fileList
response.write i.name & " - " & i.DateCreated & "... more >>
Mailmerge in ASP
Posted by Tapi at 1/28/2005 7:53:44 PM
I have an ASP program that automatically sends text by email to customers. I
would now like to improve it so that I can collect all the email text in a
mail merge document and have the possibility of it by post.
What's the best solution to mailmerge such info in ASP?
TJ
... more >>
Running ASP.NET 2.0 app on IIS on XP from VS.NET 2005 Help?
Posted by bcox at 1/28/2005 2:13:05 PM
Hello VS 2005 World...
I am making my way through VS 2005 Beta 1 and I'm having a problem getting
ASP.NET project to start in IIS running on an XP development machine.
I build a sample project in VS 2005 and it runs fine through the debugger.
Then I try using the new Publish Web Site feature... more >>
Help Turn IfThen mess into loop!
Posted by Jake at 1/28/2005 9:18:59 AM
OK Ive got a huge amount of If Then statements that Im sure can be stripped
way down to a simple loop or two but Im not familiar enough with them to
know where to start.
Basically this is a truck scheduling application which builds a layer for
each schedule of each truck from Monday thru Sund... more >>
How to Display the Current CPU Usage in an ASP Page?
Posted by MIMF at 1/28/2005 2:11:35 AM
Does anyone have working ASP code that shows CPU usage on the server
where it's running from?
Thank you.
... more >>
Please Wait page;)
Posted by Meelis Lilbok at 1/27/2005 6:40:20 PM
Hello
How to solve next problem?
On my web page i have 3 frames
Firs two are for parameters and in 3 frame is for webchart.
it may take max 10sec.to gen, and display the chart...
How to display on this time message like: "Please wait.."
and if the chart is completed, then draw the char... more >>
Problems with many Server.Execute - IISState Log Attached
Posted by Phil Grimpo at 1/27/2005 6:31:48 PM
I had previously explained this problem in a different thread, but now that
I have an IISState log, I figured I'd re-start the thred. My situation and
the log are following...
I have a very odd situation here. I have an administration page, where
based on a users permissions, a recordset i... more >>
External Search Engine Software for ASP pages?
Posted by Dan at 1/27/2005 3:36:15 PM
Are there any others external search engine software for asp pages
(database-driven pages) besides "dtSearch" (http://www.dtSearch.com)?
TIA,
- Dan
... more >>
Form Results
Posted by Shahid Juma at 1/27/2005 2:27:36 PM
Hi,
Is there a way to grab all the results from the querystring which are sent
via a form submit?
In PHP, you can just do something like $var = _GET; which will grab all the
fields on the querystring.
Thanks,
Shahid
... more >>
Identifying modified field?
Posted by A P at 1/27/2005 2:27:36 PM
Hi!
Is there a way where I can identify if the field sent was modified?
Me
... more >>
Check Querystring
Posted by Deepster at 1/27/2005 2:26:06 PM
Hi Guys
Here is what I am doing ... Have a page default.asp which looks at the
url and checks for querystring's. if there are none passed goes to a
function. if there are particular querystrings passed goes to the
respective function.
Now there can be only 2 valid querystrings that can be passe... more >>
IIS Included on Windows XP Pro OEM??
Posted by hstockbridge5 NO[at]SPAM hotmail.com at 1/27/2005 1:34:03 PM
Hi,
I am going to purchase Windows XP Pro in order to install IIS. Is IIS
included on the OEM version of the software, or is it only included on
the full retail version?
Any help you can offer would be appreciated.
Henry
... more >>
newbie question
Posted by Nick Thorley at 1/27/2005 11:55:06 AM
Hi all
I used to do quite a bit of asp programming years ago but have not kept
upto date and now want to learn again. I have use of an iis server and
sql server but wondered if you need visual studio to create pages and
apps or can your fav text editor be used - how tightly are they tied?
... more >>
Session State does not end after closing browser
Posted by David Lozzi at 1/27/2005 10:20:45 AM
Hello All,
I am having an issue with thus far one computer on my client's web site. =
If the user loads the shopping cart and then closes all browser windows, =
then opens them back up, goes back to the site, the shopping cart =
information is there! The shopping cart info is only loaded into ... more >>
Preventing concurrent logins - Classic ASP
Posted by BenM at 1/27/2005 10:19:01 AM
Description:
I would like to prevent a user from logging in with their user/password
combination on a different computer or even a different browser window, if
they are already logged in. I have a login page, from which I use a DB check
to verify user/password info. Also, I have a bit logge... more >>
default value in field
Posted by Lex Luthor at 1/27/2005 9:32:38 AM
with "select @@IDENTITY" i get the value of the last field insered.. i would
like to get also the field.name help me plaese
... more >>
open excel and run macro on button click
Posted by VbUser25 at 1/27/2005 9:08:01 AM
hi..
i have a form
i accept some user inputs in the form. there is a link on the form from
where i open the excel file in the same browser (not in a new
page...simply using a href. i am also accepting input from the user in
the excel.
now i want to save the data in excel as well as on... more >>
Problem with ASP after upgrade to IIS 6
Posted by Jason Blair at 1/27/2005 7:21:55 AM
I recently upgraded my server from win2k to win2k3.
I cannot run asp pages now. If the asp page is configured
as part of an application i get "The requested resource is
in use" If I remove the application i get the
error "HTTP/1.1 New Application Failed" . I made sure ASP
was enabled but ... more >>
strComp not doing what it should
Posted by steven scaife at 1/27/2005 3:35:04 AM
Ok i need to compare 2 values from my array but strComp no matter what
returns 1 even though my comparison values are the same
if i do this
str1 = "wed"
str2 = "wed"
strComp(str1, str2) 'returns 0
but if i do
str1 = code(0)
str2 = code(1)
both are "wed" but it returns 1
howeve... more >>
Where is my asp script?
Posted by R.D at 1/27/2005 1:19:01 AM
Hi
My asp script is getting deleted once if i open it with frontpage?
I observed the following scenareos
1.If opened with front page it is getting deleted permanently but HTML CODE
available. I cant open it again with even note pad
2.If opened with notepad I can see till it is again ope... more >>
Session Variables Cleared afer Server.Execute
Posted by Phil Grimpo at 1/27/2005 12:10:59 AM
I have a very odd situation here. I have an administration page, where
based on a users permissions, a recordset is called from the SQL server
which has a list of paths to "Module Menus". Each of these menus are then
placed into the page by calling Server.Execute(rs_Modules("ModulePath")).
... more >>
badly struck! how to pass values from asp to excel
Posted by VbUser25 at 1/26/2005 7:43:06 PM
hi
i am opening an excel file in the same explorer window as the form. i am
storing values entered in excel in database. while saving the field in
the db i need to save a field from the form also.
how can i get a form value inside the vba code or to put it like this
how can i refer the f... more >>
Viewing IIS sites over network
Posted by Mark Fisher at 1/26/2005 7:16:19 PM
I have three PCs connected in a workgroup, all have Windows XP. On one PC,
called MF1, I have IIS installed. In IIS I have a virtual directory called
dbsite, pointing to a folder c:\dbsite. In a web browser I can view the
site via http://localhost/dbsite, or http://MF1/dbsite.
My questio... more >>
DBMSSOCN General Network Error
Posted by James at 1/26/2005 4:41:19 PM
Periodically, our entire website will display the following error for all
users when requests are made to ASP pages:
DBMSSOCN General Network Error
HTML pages will load just fine, and I *believe* that ASP pages that don't
access SQL Server will also load. Someone suggested this problem has ... more >>
Window.open returns access denied
Posted by Murray Jack at 1/26/2005 3:32:58 PM
under windows 2003
I have a windows 2003 server with a "classic asp" application on it with
some com Dlls doing the business logic
my problem is when i add these DLLS to component services, all my buttons on
my web server start returning the error access is denied. it keeps this
problem ... more >>
Record Sets
Posted by Shahid Juma at 1/26/2005 3:23:50 PM
Hi,
Is there a way for me to determing if a column exists in the table? ex. I
have RS("var"), where RS is a recordset. My code is dynamic but some tables
will have "var" while some won't.
Thanks for the help
Shahid
... more >>
creating and sending html email from asp server script
Posted by Francois Keyeux at 1/26/2005 2:13:03 PM
hello everyone:
i have a web site built using vbasic active server scripting running on
iis (it works on either iis 50 and 60, but is designed for iis 50)
i know how to create a plain text email by creating a text file, with
content following certain format, and saving that file into the c... more >>
Javascript Caching Question on IIS6
Posted by Larry Neylon at 1/26/2005 1:21:28 PM
Hi,
I am having problems with our IIS6 server serving out of date javascript
files in our ASP scripts.
It appears to be an intermittent problem, but causes all kinds of headaches
when working on javascript code.
Is there any way of setting a Javascript file to always expired ?
Any id... more >>
|