all groups > inetserver asp general > september 2004 > threads for september 15 - 21, 2004
Filter by week: 1 2 3 4 5
Passing variables from Javascript to ASP
Posted by Consuelo Guenther at 9/21/2004 4:29:05 PM
Hello,
I am having problems with passing variables between pages. I have the
following:
First asp page has the function:
-----------------------------------------------------------------------
<script language="JavaScript">
function addProcess(addPName,addSProcess,addPIndex)
{
var ... more >>
Passing Variables or Querystrings?
Posted by JA at 9/21/2004 2:06:07 PM
I have this little tell-a-friend script that will send out a link back to
the site. I want to put a link on my product pages that will go to the
script, and have the script display the product name, and have the product
name in the email that goes out, along with a link back to the product page,
... more >>
Mailed form doesn't contain all the carriage returns
Posted by Guy Verville at 9/21/2004 1:46:29 PM
I'm perplexed, I have several forms that seem to be ok, but what is sent by
email doesn't contain all the Carriage returns sent.
The form contains many fields and is sent as follow:
Destinataire=gv%40guyverville.com&Sujet=Calendrier+des+concerts&Date=2004+12+22&R%E9gion=15--Bas-Saint-Laurent%2... more >>
Posting to another server and end up there?
Posted by John Dalberg at 9/21/2004 10:50:28 AM
Hello
I have a login form on a page that should post the data to a non Windows
server and upon successful authentication, the browser needs to show the
secodn url.
I did the form post, got the successful results back but the browser is
still showing at the same url. Which method needs to ... more >>
Error 800a0046 when trying to run a program
Posted by Patrice FRITSCH at 9/21/2004 9:20:41 AM
I'm trying to run a batch file from an asp page using WScript.Shell object.
Dim oWSH
set oWSH= Server.CreateObject("WScript.Shell")
call oWSH.Run("cmd.exe /c " & szCmd , 0, true)
szCmd contains the program to execute (fop.bat with several parameters).
But I'm getting the following error m... more >>
Sending Page via Email
Posted by James at 9/21/2004 9:16:44 AM
Is there any simple way of doing this? I want to redirect my end users to a
"results" page that lists the details of their order, but I also want to
e-mail them the exact same think (not a link). All of my end users have
HTML e-mail enabled, and I know that I could just create an e-mail manuall... more >>
Last line in paragraph has extra space - cannot get rid of it
Posted by nomail NO[at]SPAM ascendhosting.com at 9/21/2004 2:52:04 AM
http://www.naveur.navy.mil/default_test.asp
I have tried with some success reorganizing the code and putting it
all on one line. However for some reason I cannot get rid of the
space on the last line.
<!--#INCLUDE FILE="include.htm" -->
<%
' Get News Table Left Info
Dim NLConn
Set N... more >>
problem with commas when parsing xml file
Posted by proflicker NO[at]SPAM hotmail.com at 9/20/2004 3:33:13 PM
Hi All,
I am having a problem parsing an xml file I am getting from another server.
This is the portion of the xml I am getting I am interested in:
<DestinationAddress>
<City>Leawood</City>
<StateOrProvinceCode>KS</StateOrProvinceCode>
<PostalCode>66209</PostalCode>
<CountryC... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Content Management System - have serious ASP programmers contemplated using out the box solutions?
Posted by jason NO[at]SPAM catamaranco.com at 9/20/2004 1:15:56 PM
Do any of the ASP programmers on this form utitlize ASP Content Management
Systems for any of their customer (or own sites). If so, I would be grateful
for any feedback and thoughts on using CMS in a hybrid static or asp web
page environment. We are reaching the point where our site content and
... more >>
Forbidden IP address, 403.6 error
Posted by Mortimer Schnurd at 9/20/2004 1:09:57 PM
Hi,
I'm just getting started with ASP.Net and have run into a security
issue and I am hoping someone on this NG can help shed some light on
this problem. My Google searches turned up numerous hits but nothing
seemed relevant to my particular problem.
I recently installed the QuickStart applic... more >>
800a005b error behind SSL
Posted by Mark at 9/20/2004 1:01:08 PM
Hi - I have a problem with the code below - I get the error message:
Scripting error '800a005b'
Object variable or With block variable not set
...on the server.createobject line.
if FileName<>"" then
'**** next line causes error
Set objFSO2 = Server.CreateObject("Scripting.FileSyst... more >>
Showing Field Properties of a Database
Posted by Gram at 9/20/2004 12:45:48 PM
Hello,
Can anyone help with the following:
I wrote an ASP script with allows me to select an MS Access database
from a folder, and it shows the tables in this database. If I click a
table, the fields are displayed. And then I have a button to create a
HTML form to suit this table.
My ... more >>
ASP or ASP.NET
Posted by uh6uj at 9/20/2004 10:18:02 AM
I have a rather general question regarding choice of language.
I stumbled on ASP.NET a little while ago when I first started learnin
JavaScript. I thought .NET was great and have started to learn it bu
am still a beginner.
However, I have had problems finding relativly inexpensive hosters
Al... more >>
Help with connection to dababase.
Posted by admin NO[at]SPAM wirelesscybercafe.com at 9/20/2004 9:59:08 AM
Error Type:
Microsoft OLE DB Provider for SQL Server (0x80004005)
Login failed for user 'kingkong'. Reason: Not associated with a
trusted SQL Server connection.
/samples/db_paged_search.asp, line 84
below is my connection string.
cnnSearch.Open "Provider=SQLOLEDB;Data Source=192.168.1.100;... more >>
Verifying Active Directory Authentication
Posted by at 9/20/2004 9:29:27 AM
What is a good resource for integrating ASP applications with Active
Directory? I want pages that will allow operations on AD. A prime example is
that I want to have an ASP page that would ask users for their AD password
and verify...
Thanks In Advance!
... more >>
Help Looping Through Survey Questions
Posted by Colin Steadman at 9/20/2004 6:40:24 AM
I've create a simple survey using ASP. Its finished and
works, but one aspect of my coding is annoying me and I
cant figure out a better way of doing it.
Basically the questions are stored in an Access 2000 table
like this:
QUESTION_NUMBER QUESTION
1 Question 1 text....... more >>
Dynamic catalog with unlimited category levels?
Posted by Travis Pupkin at 9/20/2004 12:06:17 AM
Hey,
I've done a number of product catalogs/galleries with one or two
category levels (Category > Subcategory). The straightforward way to do
this, of course, is to use database fields for Category and Subcategory
and query off of those fields.
I have a client now who is interested in wh... more >>
Asp call java class file.
Posted by Ethics at 9/19/2004 10:55:05 PM
Hi,
I would like to use asp to call a java class file with arguments in methods
for a web database application. May I know how to call the following class ?
say :
package wkflow;
//all the imports here
public class clsMail(){
public void sendMail(String subject, String Content, Stri... more >>
Ref Database Field name with Variable
Posted by Consuelo Guenther at 9/18/2004 11:43:03 PM
Hello,
I have an asp page that has a function that connects to an Access database.
I am using Javascript. Is there any way to reference the field name in the
database through a variable in a sql statement?
For example, in my function I have:
var dayofWeek = "Friday";
var sSQL = "";
s... more >>
Stop IIS Service
Posted by Max at 9/18/2004 5:57:39 PM
I must stop IIS service from asp page.
I think that use a vbs file that execute from asp page :
asp page:
<%
set wshell = server.createobject("wscript.shell")
wshell.run "cscript d:\inetpub\wwwroot\stopservice.vbs",2,true
set wshell=nothing
%>
vbs :
strComputer = "localhost"
strService... more >>
Custom 404 page on IIS
Posted by Joe at 9/18/2004 1:03:05 PM
Hello:
I asked my hosting service to setup a custom 404 page for me. They
did, but when purposely calling a non-existing page with XMLHTTP, the
new 404 page returns a 200 / OK status.
They seem to be taking their time trying to fix this, so I wonder if
a custom 404 page that truly returns ... more >>
add HTTP headers for authentication
Posted by Matt at 9/18/2004 10:27:17 AM
If I want to have a username/password dialog in my page, how can I add
http header in ASP for username/password dialog? I want to hardcode
the username/password in my page and check the authentication.
Please advise. thanks!!
... more >>
Single sign on
Posted by Stephen Rossberg at 9/18/2004 7:28:19 AM
Can someone point me to resources that will tell me more about enabling a
web application to integrate with windows security for single sign on
Thanks
... more >>
asp tidy
Posted by Anthony at 9/17/2004 11:26:33 PM
I love the HTML Cleaner-upper Tidy... http://tidy.sourceforge.net and I use
it ALL the time after running my .asp's... however (As you can imagine)..
this is a longer process then I want... :
For example :
Run .asp save source, run tidy, examine html source determine where the
error is (IN... more >>
Online Videos
Posted by DavidM at 9/17/2004 8:57:06 PM
Hello - I recently purchased Camtasia for our training folks to begin
recording videos on how to use various inhouse applications both for our
customers and internal users that access our Extranet website.
If anyone is familiar with Camtasia, they should know that it can output
files in var... more >>
My Intranet Website
Posted by DavidM at 9/17/2004 8:51:40 PM
Hello - I have an Intranet website that our corporate users and customers
access to pull up information on various things. I now have to publish
content that should only be available to corporate users. I do not want to
create another website or use host headers... there is no login page or... more >>
https and file downloads
Posted by jaydonnell NO[at]SPAM gmail.com at 9/17/2004 5:18:02 PM
I have a asp script that creates a text file for download. It works
perfectly under http but breaks under https. Here is the error I get
in IE when I try to download it.
Internet Explorer cannot download (the url of the page is here) from
(the
website is here).
Internet explorer was not ab... more >>
Stored Procedure Output Parameters
Posted by Bari Allen at 9/17/2004 3:32:52 PM
I have a Stored procedure in SQL, that works, when tested in SQL, with one
input & several output parameters, as follows:
CREATE PROCEDURE myProcedure
@MyID int
, @First varchar(80) OUTPUT
, @Second varchar(80) OUTPUT
, @Third varchar(80) OUTPUT
, @Amount as numeric(18,0) ... more >>
displaying data in columns
Posted by Jennifer Smith at 9/17/2004 12:33:03 PM
I want to be able to display my recordset as follows:
a e
b f
c g
d h
Instead of :
a b
c d
e f
g h
Any links to some examples?
... more >>
ASP Animation
Posted by google_groups3 NO[at]SPAM hotmail.com at 9/17/2004 6:12:05 AM
OK Folks, a quick question, I hope someone knows the answer!
On the Windows Update site, when you select an update a outline box
animates from the selected update to the total in the top corner. I
am hoping to be able to recreate this animation in a similar way using
VB and ASP. Anyone know... more >>
Using Performance Monitor for ASP apps
Posted by dw at 9/16/2004 3:30:41 PM
Hello, all. We've been having some issues with our web server, which has
Win2K SP3, IIS 5, 2GB RAM, 2.4 GHz processor, and 130+ GB of storage
available. The apps with problems hit our SQL Server 2K across the network.
We've had occasions where we get Timeout Expired errors in some of our ASP
app... more >>
custom error 404 page - sometimes it does not work?
Posted by Samuel at 9/16/2004 2:59:01 PM
I set up a custom error 404 page as URL and it works sometimes but not
always. The problem is when the URL contains special characters, like [ or :
, it produces the error message:
The system cannot find the file specified.
and nothing else. The response code is 404, and it does not conta... more >>
Get Hotspots And ImageMap Dynamically - Any Idea !
Posted by Lovely Angel at 9/16/2004 1:11:11 PM
Dear Friends
Hope you all doing great.
There is this thing which to me looks possible, but when I searched over
the net I couldnt find anything. Any ideas about this please do let m
eknow.
I want to create a page where I can upload an image using any upload
function and then display it.
... more >>
ASP errors
Posted by Steven Scaife at 9/16/2004 11:29:25 AM
Is there a better way of handling errors than err.number, err.description
and err.source.
What i want is to be able to get the line, file etc that you get in the
error message when you dont trap for errors so that i can email it back to
myself whenever an error occurs.
err doesn't seem to g... more >>
looking for an example of a page that adds another pulldown as user selects from the first
Posted by mike_newsgroups NO[at]SPAM yahoo.com at 9/16/2004 10:34:48 AM
Hello,
I'm looking for an example of doing a page with pulldown menus, where
the user selects a choice from the first pulldown, then based on that
input, another appears, then the user selects from that one, and based
on that input, yet another appears, etc...
Thanks,
Mike... more >>
CDO Bulk Email Help - Need to make it faster
Posted by Brent Patroch at 9/16/2004 8:11:13 AM
Hello,
Novice here, I am doing bulk emails using CDO, connection to a smtp
server at another location. I am trying to streamline my script, or
through it out and start over to make it faster.
I know that I am doing something wrong and that messages should be
sending much faster. Any hel... more >>
What can I do to replicate files among load balanced servers?
Posted by Samuel at 9/16/2004 4:59:05 AM
I am building an web application that will be hosted on load balanced servers
(multiple front and one backen db). The application will have to allow users
to upload files onto the server. For performance reasons, I do not want to
store binary files in the db (cuz there will be frequently retri... more >>
Retrieving Output Parameters and Recordset
Posted by pinkguava NO[at]SPAM gmail.com at 9/15/2004 10:47:52 PM
Hi,
I have a T-SQL stored procedure that returns both output parameters
and a recordset. How do I retrieve them in my ASP script? As far as I
know, the ADO Command object can be used to retrieve the output
parameters, but will I be able to retrieve the recordset using the
Command object as we... more >>
file exists on remote server
Posted by Jennifer Smith at 9/15/2004 4:47:22 PM
Currently we have a site that allows users to listen to mp3 files. It
is creating bandwidth issues. So we want to move the mp3 files to an
ISP that caps bandwidth usage. Ours is currently burstable.
Now I am able to do the following:
Set fs = CreateObject("Scripting.FileSystemObject")
If ... more >>
text column in mysql returns a null or "" value with ASP
Posted by simianphile NO[at]SPAM hotmail.com at 9/15/2004 3:48:31 PM
Ok, I have a page that queries a database and retrieves values to
create a custom report in ms excel format on the fly so that it can be
downloaded. I can use the following sub to generate the report just
fine. It works correctly for every field in the database and creates
the report as desire... more >>
Getting Infor from Active Directory
Posted by Keith at 9/15/2004 3:04:20 PM
How would I go about extracting information from Active Directory using an
ASP page so I can display things like the phone number, name, address etc.
which are stored there?
Thanks
... more >>
Border color of Select element
Posted by Susan Cranford at 9/15/2004 2:31:14 PM
I am trying to change the border color of certain select elements. I
have tried inline and on my style sheet to do 'border-color: red' and I
cannot get this work. I can change the background and font colors but
not the border colors no matter what I try! Can someone help me with
this one?
... more >>
\\share\directory and FileSystemObject
Posted by Ed at 9/15/2004 2:16:00 PM
Is it possible to use FileSystemObject across two servers? For example, my
web application is on \\Web1 and my files are on \\Files1.
Could my ASP application on \\Web1 use Scripting.FileSystemObject to check
if FileExists() and GetFile().size ?
I'm mapping the \\Files1 as a virtual directo... more >>
GPS info from mobile browser
Posted by andrew NO[at]SPAM floatingbear.ca at 9/15/2004 11:30:53 AM
Some of the newer cell phones have a built-in GPS. What I was
wondering was if when a mobile browser from that phone opens a
web-page on my server is there any location information that I can
use? Presumably it would be stored in the request.servervariables
collection somewhere.
Thanks
A... more >>
Is a dictionary garbage collected automatically?
Posted by Sam Sungshik Kong at 9/15/2004 10:36:28 AM
Hello!
I'm trying to use a dictionary.
I know how to create it.
Do I have to destruct it by myself?
For short-hand, I made a function to create it and didn't do anything for
destruction.
Function dict
Set dict = createobject("scripting.dictionary")
End Function
Set di = dict()
'u... more >>
asp upload file size
Posted by Joe at 9/15/2004 10:11:32 AM
Hello,
I have IIS 6.0 running on w2k3 Enterprise.
I have three upload forms
1 to have restricted uploads .asp
2 to upload plain .asp any extension
3 a FP form upload non .asp
The problrm I am having is with files larger thatn 2MB's
I have edited the metabase to enlarge the
aspma... more >>
'KEY_CURRENT_USER\Software\Microsoft\Office\9.0\Excel\UserData' does not exist.
Posted by Michael at 9/15/2004 9:14:17 AM
Hi All,
I am using win2k advance sever, IIS + ASP + Office 2000 +SQL server 2000
I have a internal web site, running on IIS. it is for internal reporting =
purpose.
All the ASP web pages are written in VB script, working with background =
SQL server 2000.
The asp pages accept user input fi... more >>
email problem
Posted by Wei.Huang NO[at]SPAM slps.org at 9/15/2004 8:22:44 AM
I have an ASP automatic email confirmation code on Windows 2003 Server. My
problem is that the message can be submitted to only some email accounts
such as hotmail or yahoo, but cannot to my office account. Why? Also, for
hotmail accounts, the email is sent to junk mailbox instead of inbox. Wh... more >>
Copy files on Network
Posted by m.weber NO[at]SPAM megalith-software.de at 9/15/2004 7:08:18 AM
Hallo!
I have created an VB-ActiveX-Componente that copy files on network.
This works on one my development computer when I install application
on other IIS servers (files to copy on same server with same rights) I
get error message "Invalid filename or number". So what can cause this
problem... more >>
Meta-Search the Search Engines
Posted by SROSeaner at 9/15/2004 5:03:02 AM
I am trying to meta-search the search engines.
At the very least, I am trying to capture the results returned from any
search engine (doesn't matter which one), and pick out the results I find
relevant based on a parser I would write in ASP.
I know google has an API, but it's for personal ... more >>
Newbie : pull-down menu with on-click feature
Posted by Alan at 9/15/2004 3:54:07 AM
How to create a pull-down menu with on-click feature, I mean when I simply
pull down the menu and click the selected item, it goes direct to the
destination page. At present, I pull down the menu, select item and then
click the "Submit" buttons to complete.
... more >>
|