Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007


all groups > inetserver asp general > january 2005 > threads for january 8 - 14, 2005

Filter by week: 1 2 3 4 5

Help Coverting Access Function to ASP Function
Posted by James Leech at 1/14/2005 2:30:43 PM
Hi guys I am trying to use an Access function that I found on the web from within an asp page, but I can't seem to correct all the subtle differances between the two languages. When I run a number through my version, i (seemingly) get no output. I would greatfully appreciate any pointers or...more >>

Exporting data into a MS Word Serial Letter via ASP
Posted by peteyjr at 1/14/2005 1:30:08 PM
Hi I have a asp page with a database connection where I need to export adresses into a MS Word Serial Letter. Is this possible and if how?? Any help is well appreciated Peter ...more >>

CDOSYS AND CDONTS on W2K3 machine
Posted by tshad at 1/14/2005 12:09:20 PM
I have both cdosys.dll and cdonts.dll on my W2K3 server. We have been told by our web authors that their asp code won't work on our machine and that we don't have CDONTS installed on our machine. They're getting an error from: Set objCDOMail = Server.CreateObject("CDONTS.NewMail") I kn...more >>

Creating PDF From HTML (PDF2HTML)
Posted by lucianoc NO[at]SPAM gmail.com at 1/14/2005 10:46:47 AM
I need some tool to transform pages HTML to pdf, exists some tool of these some component of ASP for this? I need this for free, i mean, some free tool, or if not some form to create a pdf from HTML Thanks in advance....more >>

Stored procedure from asp help
Posted by Mike D at 1/14/2005 10:17:02 AM
I have a stored procedure that I am executing with this SQL osp_instrument_swap @InstrumentFrom = 'testname', @InstrumentIDTo = 37, @Schedules = '593, 594, 596, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 616' the @Schedules are ID fields in a table that ...more >>

Virtual browser?
Posted by jason NO[at]SPAM catamaranco.com at 1/14/2005 9:11:01 AM
I have heard there is something called a 'virtual browser' which allows me to check asp and html output on the complete range of browsers without having to download each browser and version (side by side)....I did a google search and see a variety of links but nothing conclusive. Is there a st...more >>

How to get user's first and last name from NT login using ASP?
Posted by GoCMS at 1/14/2005 8:15:03 AM
Hi, all: This might be a newbie question. How to get a user's name and email from his/her NT login? I know that in .net, we can user System.DirectoryServices to do so, but not sure if there's a corresponding mechanism to get info from active directory. Thanks! ...more >>

well, i can't
Posted by Nizaretto NO[at]SPAM gmail.com at 1/14/2005 7:41:13 AM
well mc, i can't do it because i have XP home edition cd and i paid for it a lot and i have no money to buy another cd for windows XP PRO....more >>



response
Posted by Vinaya at 1/14/2005 6:59:03 AM
Hi In my html page to update a table I am forwarding request to a ASP apge bys using form.action="test.asp", and form.submit(). In asp I am doing database update. Response of this I want to show alert box to user whether operation is succesful. I donot want ot redirect to some other page and ...more >>

asp page with browser sniffer doesn't work in Netscape
Posted by AMC at 1/14/2005 6:11:51 AM
Hi, I have the below code in an asp page. When I run this page in IE or Opera it correctly displays the header info and does not redirect me to 'test.html'. However, when I run this in Netscape it goes straight to the redirect page 'test.html' which indicates that javascript is not enabled and...more >>

Unable to install IIS on Windows XP Home Edition
Posted by Nizaretto NO[at]SPAM gmail.com at 1/14/2005 2:49:31 AM
Hi Mates, I red a tutorial for installing IIS on windows XP HE, I bought a new laptop with windows xp he, and i want to install iis on it, in the tutorial i enter the system and make some changes then i add the iis.dll and the iis.inf, anyway.. after some steps I reach to the control panel and ...more >>

Hidden input can not be referenced by javascript
Posted by cschang at 1/13/2005 11:34:20 PM
I have a page created by using response.write. I just found out that if I put a <input type=hidden..> within a <div> section, this <input ..> could not be referenced in the javascript. Becasue when I used the document.form1.tageName.value, the system will respond as an undefined. However...more >>

ASP and 'webpage/site milling'
Posted by Si at 1/13/2005 7:00:01 PM
Hi there. Apologies in advance for the long post. and possible repetitions. Is there a way in ASP to process the output from an access database to generate html files using file system object. I found a link that goes some way there with .net (http://www.asp101.com/articles/matteo/urlre...more >>

Font problem
Posted by Rajani at 1/13/2005 4:49:03 PM
Hi, I am printing my webpage on dotmatrix printer(Epson LQ 580). The page contains only text(no graphics). But it is printing so slowly. I guess this is the font problem. I am using Courier with 13 px and normal style. How can i make it faster coz its a report generated from the database...more >>

Why would anyone DO this?? Am I missing something
Posted by Stephanie Stowe at 1/13/2005 4:28:33 PM
You have a page. On top of the page, there are some search criteria and other input elements and a submit button. The submit button is clicked, sending a request to the server. Server-side code is executed to write client-side vars. Based on these vars, divs are shown or hidden. Why not just w...more >>

Extracting Source Code
Posted by Keith at 1/13/2005 2:14:27 PM
Is there a way of processing an ASP page and placing the resulting HTML source code into a TEXTAREA on another page? I have a page that will be generated dynamically from database content. However, I want a form on another page to have access to the compiled source code for use in an electr...more >>

How do I use asp to protect framesets
Posted by Martin Franklin at 1/13/2005 1:49:39 PM
I have a simple 2 page frameset that I am trying to protect using asp. I've included the following code listed below at the top of each page including the frameset page in an attempt to protect each page from unauthorized access. When I open any of the pages in the frameset individually, I am pr...more >>

Checking for URL Parameter
Posted by Keith at 1/13/2005 1:28:59 PM
Is it possible to do a quick check to see if you were refered to the page with URL parameters and if so perform an action? ...more >>

Checking for Existence in RS
Posted by Keith at 1/13/2005 11:58:48 AM
I have a simple form where a user enters their email address, which then passed them to a 2nd page where the email address entered is used to filter a recordset. How can I set up an IF statement so it checkes every record in the recordset, and if the email address entered does not match any...more >>

File Searching
Posted by James at 1/13/2005 11:23:25 AM
We have a need to search through an entire drive for a specific file name. The process is currently written with recursive loops through each directory and the Scripting.FileSystemObject. Problem is, it takes forever. When I do a standard file search through Windows Explorer, it typically finds...more >>

include page based on week of year.
Posted by .:mmac:. at 1/13/2005 9:23:17 AM
I have to update a page every week. I get the page ahead of time so I used the "scheduled includes" webbot in Frontpage only to find that I would have to refresh the page every week to have it work. That is silly, it should run by itself. so... I asked the question in the FP group and I w...more >>

General ASP & COM Question.
Posted by Richard Gutery at 1/13/2005 7:34:51 AM
I have written a COM component who's purpose is to allow a user to change his Windows (NT/AD) password via a web page. Now the component works fine when I run it in VB 6, but not via the web page. The component also returns an integer value that contains a return code from the Component (and t...more >>

What's the use of hidden form?
Posted by GoCMS at 1/13/2005 7:29:04 AM
Hi, guys: I am trying debug other people(who has left company)'s ASP code, and had difficulty understanding the use of a hidden asp page. The application has an index page, like MyIndex.asp which has nothing but a couple of other asp files, like <frameset COLS="0,0,52%, *"> ...more >>

Doing 40 differnt things at once
Posted by colin.steadman NO[at]SPAM gmail.com at 1/13/2005 1:29:52 AM
I'm building a statistics page and would like to ping a server and show the result in ASP. This shouldn't be a problem, but I'd like to be able to get the same information for 40 other servers all at the same time. The only solution I can think of would be to put the list of servers into an ...more >>

Pass to two Frames
Posted by Dthmtlgod at 1/12/2005 6:48:19 PM
I want to pass the value to two frames and two pages after hitting the submit button If my form I have this <form method="get" action="search2.asp" target="fSearch2"> I want to pass crPN to below as well action="search3.asp" target="fSearch3" I am having a little problem figuring this out....more >>

Adodb.Commandset errror - value is of the wrong type?
Posted by jason NO[at]SPAM catamaranco.com at 1/12/2005 6:09:03 PM
A user encountered an error while attempting to re-log into our registration system: Adodb.commandset error value of wrong type According to his email this is what he go...a google search returns nothing specific on this. My code is basically checking to see whether a cookie exists and if...more >>

Trap errors - 2nd post
Posted by Eitan at 1/12/2005 3:11:15 PM
Hello, I want to emphasize a point for my prior posts : How can I trap a message in ASP (not dotnet), to a specific label. (I know : on error goto my_label ... but this does not work in ASP pages) Thanks :) ...more >>

Response Buffer Limit?
Posted by Patrick Bates at 1/12/2005 2:47:15 PM
I have an ASP page which is returning so much data that I'm receiving a message that the Response Buffer Limit has exceeded its configured values. Any idea where to find this configured value so I can set it higher? Thanks, Patrick ...more >>

how to add items to a basket
Posted by nike at 1/12/2005 2:38:08 PM
please i need help. I am doing a wed site online shopping system for my school project, which requires some asp coding using vb script. I am new to asp and have no knowledge whatsoever on how to code what i need. Please please please could someone please provide me with help, or coding on ho...more >>

ASP Newbie question
Posted by Manoj at 1/12/2005 2:37:02 PM
Good Afternoon, I have a a bit of a problem understanding the root of this problem (apart fromthe fact that I'm very new to this). I'm trying to learn ASP at the very basic level to start. I'm doing this from the IIS server documentation. There are a few ASP tutorials and I'm trying to...more >>

To grab the name of the ASP page on the server
Posted by Andy Kasotia at 1/12/2005 1:53:24 PM
On the client once the user clicks the Submit button....in my code the following javascript function kicks off... onclick="return SubmitForm('frmCurrBuildings', 'CurrBuildings.asp', c_iLOADNEW, '_self')" function SubmitForm( FormName, ActionASP, ActionVal, TargetVal ) eval( "document." + Form...more >>

order by random
Posted by Christopher Brandsdal at 1/12/2005 1:12:53 PM
Hi! I'm not sure, but this might be a question not right for this group. Problem: I have a sql statement that selects all rows with a sertain criteria, an display it on a page. What I need to do is to order these by random... Is there any way to order by random? example: SELECT * ...more >>

Treeview control? Any recommendations?
Posted by roy.anderson NO[at]SPAM gmail.com at 1/12/2005 12:03:18 PM
Hey all, I need to create a treeview on a database management .aspx site that when the parent is clicked, it expands to display the many associated records with it. Aka, it pulls info from not one, but two sql server tables. Further, these rows must be editable. Any links, suggestions, recomm...more >>

asp based browser sniffer that detects if browser supports css
Posted by AMC at 1/12/2005 10:38:12 AM
Hi, I need to code an asp based browser sniffer. It needs to detect if a browser can support css and if not redirect to a different site. Does anyone have sample code that does this? thx ...more >>

vbscript, msgbox, delete confirmation
Posted by Asif Rahman at 1/12/2005 10:05:28 AM
Hi all! Please improve on the following code to make sure the record gets deleted only when the function returns false. Now I see the msgbox, but the record gets deleted no matter the user clicks yes or no. Thanks in advance. Asif ======================= Code: <script language="VBScrip...more >>

server.execute and constants
Posted by j1c at 1/12/2005 10:04:10 AM
Is it possible to server.execute a file that has a list of constants and then use those constants? I've tried, but the asp tells me the the variable is undeclared when I try to <%=const_name%> ...more >>

Trapping an errors to a fixed page (ASP)
Posted by Eitan at 1/12/2005 9:17:48 AM
Hello, I want that every error in every asp/javascript/ etc... will trappped to a central asp page (not dotnet), which I declare on my site. Also : suppose I have a dotnet site platformed - is the declaration for that may be the same for not dotnet declarations. Thanks :) ...more >>

response.writeLine
Posted by Eitan at 1/12/2005 9:02:18 AM
Hello, How can I write a line (with carriage return + line feed) to the client ? response.write("abcd"), continue the last line, and doesn't put cr+lf. response.writeLn is illegal syntax... Thank :) ...more >>

Visual studio and sessions (crossposted)
Posted by Stephanie Stowe at 1/12/2005 8:47:28 AM
Hi. The VStudio group does not seem to get much action. I think ASP folks may be able to answer as well. I have a situation that I cannot understand why it is happening. I have an ASP app which I am debugging in Visual Studio.NET. I am trying to duplicate a situation with 2 users. I open a brows...more >>

ASP - Exchange - AD login
Posted by Ron at 1/12/2005 8:39:32 AM
Hi all, We have a client who have exchange servers and they use active directory. From their intranet (asp) we need to have a link to the exchange server but we need to pass the window logon credentials, so they don't have to log in again on the exch server. How do I go about this? Thanx...more >>

examples of "post" and "get" methods of ASP
Posted by Eitan at 1/12/2005 8:29:04 AM
Hello, I would like to know about the methods : post and get of ASP. What is the difference between them. Need some samples, and explanation, please. Thanks :) ...more >>

Know in ASP that it is the first time calling.
Posted by Eitan at 1/12/2005 8:27:17 AM
Hello, I want to know, wheter an asp (that call itself in "get" method, has passed any parameter to itself). i.e : in the asp : test_asp.asp : ..... <html> <body> <form action="test_asp.asp" method="get"> num : <input type="text" name="my_num" size="3"> <br> <input type="submit" value...more >>

Trapping errors in ASP
Posted by Eitan at 1/12/2005 8:06:52 AM
Hello, I need an example of "Trapping Errors" in ASP (not .net) Thanks :) ...more >>

how to add items to basket
Posted by help at 1/12/2005 7:13:33 AM
please i need help. I am doing a wed site online shopping system for my school project, which requires some asp coding using vb script. I am new to asp and have no knowledge whatsoever on how to code what i need. Please please please could someone please provide me with help, or coding on h...more >>

Image does not refresh
Posted by Oded at 1/12/2005 5:49:03 AM
Hi all, I have an ASP page which allows image uploading. When uploading is finished an image tag is refreshed to display the new image. It works well for the first upload, but does not refresh in other uploads, unless a substantial amount of time passes without viewing the image. I guess it h...more >>

Deploying a web service to windows Server 2003 issues.
Posted by Kalem at 1/12/2005 4:17:04 AM
Hi all. I've created a web service that runs fine on my development PC running W2K. The service is consumed by an ASPX page. (written using vb.net). I can deploy the webservice without any issues to another W2K production server and discover the service from the rebuilt ASPX application (now ...more >>

Is there any POP3 and NNTP component I can use as a ASP Component?
Posted by Miguel Minora at 1/11/2005 11:00:50 PM
What I want to do is to show always the latest post on our company NNTP and the newest email in my inbox as an activex background on my desktop. Thanks a lot Miguel...more >>

ASP Access stored procedure doesn't accept leading zero
Posted by Jeff Lowry at 1/11/2005 9:00:14 PM
I'm pasing a zip code as a prameter to an Access stored procedure. In Access the parameter is a text data type. It works for non-leading zero zip codes but, apparently access (or ASP) is converting it to a value first (dropping the zero) then sending that to my SP. Even if I use cStr() to be ...more >>

Consuming Web Services with ASP 3.0
Posted by dave_young80 NO[at]SPAM hotmail.com at 1/11/2005 3:15:47 PM
Hi, I have been asked to write a client application for consuming a web service for a cms written in ASP 3.0. I have very little experience of developing on a microsoft platform, and very basic skills in ASP. I am a java programmer by trade, and have used java for achieving the same thing i...more >>

Subscript out of range: '3' Need Help
Posted by andy.rich NO[at]SPAM earthlink.net at 1/11/2005 9:26:16 AM
I am getting the following error and I do not know why. Can anyone help? -------------------------------------------------------- this is what appears on the screen -------------------------------------------------------- 2Sports 'trouble shooting illustrated 'troub...more >>

Is that passiable to write unicode data from SQL to text file?
Posted by mika NO[at]SPAM doublegreen.com at 1/11/2005 1:20:39 AM
I have a problem DB:SQL Server Field type is varchar and some data is unicode like this "&#23791;" It is a chinese. How do I transfer the data I retrive from DB and then I can write it into an text file with its proper chinese word using FileSystemObject Or any other way ? Thanks a lot...more >>

Insert Into - Using Numerics
Posted by Earl Partridge at 1/10/2005 9:03:22 PM
It has been a while since I've worked with this... I have an Access database with Numeric fields. In my ASP code I'm trying to use a variable to enter those numbers, such as Insert into MyTable (Item, N1, N2) Values ('NewThing', v1, v2) I have set v1 and v2 previously with numeric values but...more >>

A beginners question about Session.abandon
Posted by What-a-Tool at 1/10/2005 7:43:03 PM
I've got a bit of experience coding in VB.Net and VBA, but as I don't have the software to debug an ASP web application, I'm having a bit of trouble figuring out exactly how my code is performing/behaving on the server. Because of this, I'm kinda unsure about the performance/function of Sessi...more >>

Pausing execution of an ASP Script
Posted by Dr. Know at 1/10/2005 5:26:45 PM
I am working on an ASP page that writes to several databases, ranging from MDBs to x-base. One of the tasks involves using an existing highest value from the DB and incrementing it before inserting a new record. I am using Application.Lock and .Unlock together with an application variable...more >>

Update multiple records at once
Posted by A P at 1/10/2005 4:32:24 PM
How can I go about updating multiple records or deleting multiple records from a DB at a time? ...more >>

Sorting Question
Posted by SASRS at 1/10/2005 12:19:55 PM
Here is my code. I am trying to see if I can put a %@ LANGUAGE="VBSCRIPT" %> <% FieldA = Request.QueryString("A") FieldB = Request.QueryString("B") FieldC = Request.QueryString("C") response.write("<TABLE ALIGN=CENTER>") response.write("<TR bgcolor=#990033>") response.write("<TD align...more >>

Sending email via localhost
Posted by dave at 1/10/2005 9:42:31 AM
Is there a way to send email generated from asp scripts run on localhost for testing purposes? Running XP pro, but would like to test client pages on //localhost first before transfering to the domain. (using CDOSYS and localhost for testing) What setup is possible with the SMTP server of X...more >>

' Symbol in uploaded filename - not working
Posted by googlenews.30.jondodds NO[at]SPAM spamgourmet.com at 1/10/2005 6:31:18 AM
I have a form which enters a URL into a file field in my database: E.G. R:\Confidential\Controlled\Work.txt goes into field file_path_complete However if the file name contains a ' character E.G. r:\confidential\jon's work.doc Then it will not work correctly on my display page, as any te...more >>

Global ASA Issues
Posted by MDW at 1/10/2005 5:41:01 AM
I would like to start using the global.asa file on an ASP app to store information like connection strings, contact e-mail addresses, etc. However, the person I report to is nervous about this, mostly because he's never been exposed to it. He is of the opinion (because he "thinks he heard ...more >>

Installation problem CMS2002
Posted by Thomas at 1/10/2005 2:47:02 AM
Hi, When I try to install developer tool I got a message saying "VS.NET not found (needed by Dev Tools)" I have VS-NET 2003 (Microsoft Visual C# .NET 69586-335-0000007-18067) installed and it works fine when I develop other web applications. Any suggestions? ...more >>

Get text from SELECT into hidden text?
Posted by Marco Krechting at 1/10/2005 12:22:12 AM
Hi All, I have a thing that I can't get to work. I have a SELECT box of which I want the text to be copied to a hidden text. <SELECT NAME="GetUser" SIZE="1" > <option> --- Select your Username --- <option> <% Do while NOT rs.EOF %> <option value="<%= rs("EmailAddress")%>" ><%...more >>

Re-sorting an array?
Posted by Travis Pupkin at 1/9/2005 10:09:41 PM
Hi, Can anyone point me to a good online tutorial (preferably for slow learners) about advanced handling of arrays, like re-sorting the data, etc.? Thanks....more >>

ASP App Hangs.
Posted by Richard Gutery at 1/9/2005 9:53:28 AM
G'day. Slight problem that has me perplexed. We have an ASP app running on Win2K IIS 5.1, devloped on WinXPpro. Up until the other day, the app worked without problems. Now, the app hangs on an FSO request. I've inlcuded the relevant code below for referrence. Basically, the code will ...more >>

File Downloads in ASP.NET
Posted by Tony at 1/9/2005 8:31:05 AM
Hello I want to provide the ability to download files from a web page based on whether a user has paid for the file. I therefore need to hide the URL from the user. How do I write code to download a file and hide its URL? TIA Tony...more >>

ASPNET Account
Posted by Robert at 1/9/2005 5:33:50 AM
I was just looking things over and I noticed a new account under my users. It's and ASPNET user, (account used for ASP.NET worker process....) I hadn't noticed it before. What is is? What does it do? Should it be disabled? Should I make any changes? Have been out of the loop for a while, co...more >>

CreateTextFile deny on IIS
Posted by Séverine Donnay at 1/8/2005 6:45:41 PM
Hi, I develop a website on my local computer in ASP/SQL SERVER 2000 in XP PRO OS. The CreateTextFile, DeleteFile and OpenTextFile (for appending and also just for reading) functions doesn't work. I had done all security rights from IIS (read, write, execute) and I shared the folder with all r...more >>

IIS6 and ASP Problem - Critical - PLEASE HELP!
Posted by thowle at 1/8/2005 5:01:01 PM
Okay, I used to be able to run ASP scripts on IIS and then I installed MS SQL server 2000, and EVERY page I go to that has an .asp extension (even if the code inside is BLANK) will return a error labeled "The requested resource is in use. ". I've tried many things like re-installing IIS 6, ...more >>

how can I change the http_referer when using response.redirect
Posted by alex p at 1/8/2005 2:53:47 PM
I have create a website that links to other websites, using a response.redirect("URL_OF_WEBSITE") For some reason I have managed to get on top at Google, with these pages that only redirect to a website of an affiliate program of mine. The problem now is that the affiliate program thinks that...more >>

ASP File Transfer System
Posted by Brian D. McGrew at 1/8/2005 2:29:53 PM
Good day all, I'm looking for an ASP (dotnet is alirght too) File Transfer system for use by internal employees and customers. I need to be able to control access to the system on a user and group basis and allow people to upload and download files. The fancier, the better. Anyone know of...more >>

Security of ASA file?
Posted by MDW at 1/8/2005 8:17:02 AM
I'd like to start using global.asa to store things like connection strings to databases and the like. As I understand it, you have to save the file in the root of your app. My concern is that storing the location of databases within the ASA file might be a security issue. Is there any way f...more >>

Permissions in FTP Root - IIS5.0 with NTFS
Posted by Lars at 1/8/2005 1:15:03 AM
How do I setup perrmissions in my FTP to allow anonymous access where you can only upload to and download from a separate folder but not create sub folders or change any permissions etc. I have my trusted users with extended permission in like c:\ftproot\name1, c:\ftproot\name2 etc and would l...more >>


DevelopmentNow Blog