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 > august 2005

Filter by week: 1 2 3 4 5

images and buttons HTML question
Posted by abcd at 8/31/2005 4:03:15 PM
Very basic HTML question 1. I have image I want to display that to a button how can I do that. I want to fire the on click event too 2. if 1 is not possible then how can I set image to have oncclick event, currently I get object nbot found error code is like this <button ID ="Sel" nam...more >>

un/hiding textbox when dropdown changes
Posted by wk6pack at 8/31/2005 2:12:59 PM
Hi, I would like to know if this is possible. I'm using ASP with JSCRIPT. I have a dropdown box that when the use selects a particular value, I would like the textbox to become visible. also if they dont choose it, I would like the textbox to be hidden. I have this web input form with m...more >>

Capturing identity of the user
Posted by talk_positive at 8/31/2005 11:53:44 AM
Hi... I have made a asp page that accepts some data from user and stores it in MS Access database. Now...I want to identify the user who filled the form and store this information in database. About the enviornment....the server has Windows 2000 server installed. Clients have Windows XP. Se...more >>

problem accessing cookie values
Posted by Glenn Venzke at 8/31/2005 8:19:02 AM
I have a pdf form that is submitting to an asp 3.0 page. I am setting a cookie value at login time that I need to access in this processing page. For some reason, the cookie is not being detected on that particular page but is being detected on other pages on the same server when I test for it...more >>

ASP to EXCEL
Posted by DNKMCA at 8/31/2005 12:00:00 AM
Hi, Im creating an Excel file using ASP Versions : Office 97 The formattting is not working properly in Excel 97, but the same works fine in Office XP & 2000 Is there any additional code has to be added in my code to get a formatted output in Excel 97 version? Please help. Thanks. ...more >>

Multimedia - MP3
Posted by Al at 8/30/2005 10:38:30 PM
Does any know how to hide the audio media from the page or embedded file the way flash does? Explain. I have 5 MP3 or WMA files in hosting service and I want the user to select them for playing in the embedded windows media player in a asp page I know how to hide the control of the media ...more >>

Select DB Columns Dynamically!
Posted by Arpan at 8/30/2005 4:21:27 PM
A Form has a select list which lists all the column names of a SQL Server database table. Users will select one or more than one column from this select list & after submitting the Form, the records of only those columns that he had selected in the previous page will be displayed to him. This is...more >>

Need Help With QueryString & Password!
Posted by Arpan at 8/30/2005 1:01:14 PM
An ASP application retrieves records from a SQL Server database. In the first page of the application, the user has to enter a password & the columns retrieved from the DB table depends upon the password. For e.g. if the password entered is say, pwd1, then that user should be displayed the recor...more >>



checking for window existance
Posted by Lambuz at 8/30/2005 5:52:24 AM
Is there any way to check the existance of a window by the name ? I'm using this code: window.open("http://www.google.com",'targetWin1') If I open a window using previous code without getting immediatly return value of open method, can I get it in a second moment ? For example using the val...more >>

Performance problem when moving to new server
Posted by Brian Cameron at 8/30/2005 12:00:00 AM
Hi All, We need to move an old asp database application that I wrote to a new server. But when we do we start getting serious performance problems as more and more users connect. By old I mean old, its using a MS Acccess 97 database as the back end which is on the server also. There are ...more >>

£ to $ conversion
Posted by diablo at 8/29/2005 9:56:04 PM
Hi I want to be able to show prices in £ to UK customers and $ for every one else. Is there a way to do this. Thanks D ...more >>

Charset in XMLHTTP or an alternative solution?
Posted by Sune Christesen at 8/29/2005 8:24:25 PM
Hi, I'm trying to get some data from an external website using XMLHTTP, but my problem is that the data is with special danish characters in (ÆØÅ), which are being replaced with "?" due to UTF-8. I've tried to specify the charset using response.charset, but that doesn't seem to have any ef...more >>

Deleting blank lines from text file
Posted by Joey Martin at 8/29/2005 7:41:25 PM
I have a text file being create with the FileSystemObject. It's being built based on results from a SQL query. All this is working fine, but so that I have a carriage return VBCRLF at the end of each row, I have an empty row at the end of my text file. How do I delete this last line? Here is t...more >>

display problem
Posted by Andre at 8/29/2005 4:34:36 PM
Hi, I have a strange problem when i try to display my data on a web page. Everything's fine until i try to display a Date Value. If i try to display this, no problem : obj("data1") obj("data2") obj("data3") obj("data4") But if i try to display this, on...more >>

ASP Classic and .Net Components
Posted by Rhek at 8/29/2005 2:12:06 PM
Hello, I have just moved an ASP Classic website to a new hosting company that has a number of .NET components available. The website works fine after the move with one exception. We were creating PDFs using ASPPDF for ASP but now it looks like only ABCPDF.NET is available. My knowledg...more >>

LOGON_USER becomes null
Posted by Li Pang at 8/29/2005 12:40:02 AM
Hi, I create a web site in a Windows 2003 server/IIS6, and I used asp pages to get ServerVariables. After I set FrontPage Extension 2002, some ServerVariables like LOGON_USER become null. Any body has an idea? ...more >>

Importing comma delimited file
Posted by Elmo Watson at 8/29/2005 12:10:10 AM
I've been asked to develop a semi-automated type situation where we have a database table (sql server) and periodically, there will be a comma delimited file from which we need to import the data, replacing the old. I naurally know that we can use [truncate tablename] to kill the other data, b...more >>

Looking for mutliple file downloader
Posted by Jon Glazer at 8/29/2005 12:00:00 AM
Is there such a component that makes downloading multiple files easy? Thanks Jon ...more >>

Session Problems with Desktop Shortcuts in IE
Posted by headware at 8/28/2005 8:42:52 PM
I have an issue that I've been encountering in an ASP application I'm working on. Most of the application is written in ASP, but there is one page written in ASP.NET. The ASP.NET page needs to have access to the ASP Session data to run correctly. In order to achieve this I create my own HTTP req...more >>

Indenting HTML code in a textarea
Posted by martin.igle+ASP NO[at]SPAM gmail.com at 8/28/2005 10:35:15 AM
the question is simple... is there any way to indent HTML code inside a simple textarea?... tnx! martin ...more >>

100% height of a div inside a TD
Posted by Lamberti Fabrizio at 8/28/2005 9:45:07 AM
I've got the problem described in the table above. I've put a div red with some text inside a TD, but its height is less = than 100% of TD height as you can see. I've defined the following styles: div.test { background-color:red; height:100%; width: 100%; }=20 table.test { border: 1px so...more >>

asp component error
Posted by Bill at 8/27/2005 8:51:15 PM
Hi I am having a problem with a com object on WinXP Pro. It is properly registered, but gives me the following error: Server object error 'ASP 0177 : 800401f3' Server.CreateObject Failed /code/cgi-sec/upload.asp, line 3 Invalid class string I do not have windows firewall active and...more >>

Functions pass by ref or by value?
Posted by Joe at 8/27/2005 7:14:03 PM
I have a function called GetRS which takes in a SQL string and returns a recordset object. Does this mean that a copy of the recordset is returned or is it passed by reference? Obviously this could have a large impact on performance for large recordsets. ...more >>

ASP does not work
Posted by Bil Click at 8/26/2005 8:59:01 PM
We have a new installation of Win XP Pro, SP2 with IIS 5.1. None of the ASP pages will function - they just display ALL the code on the page, including code between script tags. ..asp is listed in Application Mappings for the Default Web Site properties. Seems like I'm missing something o...more >>

Displaying carriage returns in a memo field
Posted by lesjuby NO[at]SPAM anti-spam.iafrica.com at 8/26/2005 8:08:29 PM
Can someone please help with a suggestion as to how I can keep the formatting (carriage returns) that the user enters into a memo field and then display that later. I figured I might be able to use: 'replace carriage returns with BRs comment=Replace(comment, chr(13), "<br>...more >>

Best ASP 3.0 Editor?
Posted by Kevin at 8/26/2005 3:57:07 PM
I'm currently using Dreamweaver MX as my editor but continually have = problems with it. Any suggestion for a "lighter" weight editor for 3.0? Kev...more >>

Using ScanLine
Posted by the G at 8/26/2005 12:09:42 PM
I'm trying to create an asp page for Scanline from Foundstone (http://www.foundstone.com/index.htm?subnav=resources/navigation.htm&subcontent=/resources/proddesc/scanline.htm) with the asp below. (for our network monitoring site) sl.exe starts on the web server processor goes to 50% but just ...more >>

Date Question
Posted by AGB at 8/26/2005 9:08:09 AM
Hi all, I need a script that tells the user what the date is for monday and what the date is for friday for the current week based on the current day. Any help? ...more >>

User Account Security
Posted by farsad nasseri at 8/26/2005 8:41:39 AM
Hi I'm trying to design a web application where people can create user Ids and passwords while signing up and then use that information to login to an account. (I know, very basic). I just can't get my mind around how to make this system most secure. the user id and password is verified at ...more >>

how do I upload files to server?
Posted by Neil Jarman at 8/26/2005 7:33:22 AM
Hi, I need to allow a user to upload images to my website. I can't use an asp.net solution, just asp 3.0. Please advise. many thanks, NEIL ...more >>

Odd "Invalid class string" error
Posted by verb13 NO[at]SPAM hotmail.com at 8/25/2005 2:04:40 PM
In an asp page in localhost I have this: Set x = Server.CreateObject("Scripting.Dictionary") And I get this error: Invalid class string If I omit Server like this: Set x = Server.CreateObject("Scripting.Dictionary") I get this error: ActiveX component can't create object: 'Scripting.Dictionary...more >>

server application error
Posted by middletree at 8/25/2005 6:10:54 AM
I use to always be able to view my local ASP pages at http://localhost, but a few days ago, it started giving me the following notice: =================== Server Application Error The server has encountered an error while loading an application during the processing of your request. Please refe...more >>

runat=server!
Posted by Arpan at 8/25/2005 5:24:28 AM
The following code snippet ---------------------------------------- <script language="VBScript" runat=server> <% a=1 %> </script> <%= a %> ---------------------------------------- throws the "Expected statement" error pointing to line no. 2. Why? Thanks, Arpan ...more >>

Request.BinaryRead()!
Posted by Arpan at 8/25/2005 12:30:35 AM
Under what circumstances can Request.BinaryRead() be useful & when should it be used? Assume that the value of Request.Form("anyvalue") is "a" (without the quotes). The output of <% Response.Write(Request.BinaryRead(10)) %> is "??a" (again, without the quotes). How does ASP compute...more >>

Global.asa good practice?
Posted by Andyza at 8/25/2005 12:06:15 AM
In my Global.asa file I have the following 2 subs for opening and closing my db connection: Sub OpenConn() Dim conn Set conn = Server.CreateObject("ADODB.Connection") conn.Open Application("ConnString") End Sub Sub CloseConn() conn.Close Set conn = nothing End S...more >>

Date/Calendar query
Posted by Si at 8/25/2005 12:00:00 AM
Hi all, I have an events database (Access) that contains 2 fields, StartDate and EndDate. The fields are set as Date/Time long date. The server is UK date format (dd/mm/yyyy) I have a small calendar that changes the day of the month to a link if an event exists for that day. I start o...more >>

Under High IE Security buttons don't work
Posted by Gary D. Rezek at 8/24/2005 2:34:24 PM
Hi All, I've got a set of asp pages used to register students into the ResNet database. Testing things out under different browser security settings I ran into a problem. The following buttons.... <INPUT type=button id="EditInfo" name="EditInfo" value="Edit Information" class="ButtonBlue" styl...more >>

String Gets Truncated: VBScript End of String Character?
Posted by Mike at 8/24/2005 2:01:30 PM
Help, I am using an encryption routine that occasionally will encrypt a string using some extended ASCII characters (ASCII code > 128) I am wondering if there is a reserved character in VB that signifies the end of a string of characters. Here is what happens: I am encrypting certain fields...more >>

Response.Status, force 404 return from ASP
Posted by Lucvdv at 8/24/2005 11:04:22 AM
I want to return a 404 response from an ASP script (IIS 5). Response.Status lets me set the response string, but if I don't include any HTML text myself, the result is an empty page. Is there a way to 'redirect' it to the server's default 404 response, as if the URI really doesn't exist, but...more >>

CDONTS Issue
Posted by Eddie Price at 8/24/2005 10:01:47 AM
I have a web database that just keeps users info for clients uploading/downloading files. Whenever someone uploads a new file this script sends out an email to notify the company. Script only works for a short time once I change my email adddress, then just stops. Can't figure it out, any he...more >>

Jear function
Posted by Robert at 8/23/2005 8:58:31 PM
Hello, i have a function, thet show me the jears, from now until 5 jears later. That happens with this function: Function JaarArray Dim sJaar() redim sJaar(Year(Date)+6-2005,2) i=1 For p = 2005 to Year(Date)+5 sJaar(i,1) = (p) ...more >>

with (NOLOCK) vs. SET TRANSACTION ISOLATION LEVEL
Posted by Eddie at 8/23/2005 7:17:46 PM
I wondering which one of the following I should use to get the best performance. 1. "SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED" OR 2. "WITH (NOLOCK)" I notice that when I use the #1 "SET TRANSACTION..." it sets a lock Mode type of "Sch-S" (Schema stability Lock) which described by SQ...more >>

Looking for ASP application that interfaces with a Newsgroup
Posted by Tony at 8/23/2005 2:01:05 PM
Can someone point me to an ASP application that interfaces to a Usenet newsgroup? FOR EXAMPLE, I'd like an application that would display the posts here in microsoft.public.inetserver.general, on a webpage in a forum format (I wouldn't use an actual Microsoft webpage, it's just an example). ...more >>

Reflect Changes to Code Behind Page
Posted by paulmac106 NO[at]SPAM hotmail.com at 8/23/2005 10:50:58 AM
Hi, I just inhereted a website. I made a change to a simple SQL string in a ..aspx.vb page. If I don't have Visual Studio, is there a way to "publish" the pages and show my changes? thanks very much, Paul ...more >>

date formatting
Posted by the other john at 8/23/2005 10:32:50 AM
I have a client that wants a time field to resolve to 7:00 PM rather than 7:00:00 PM (wants the seconds gone). vbLongTime provides the later but vbShortTime produces a 24 hour version or 19:00. Any suggestions? Thanks! ...more >>

browser 4K limits
Posted by shank at 8/23/2005 10:17:00 AM
I've been reading where browsers can limit cookie sizes to 4K. I have a cookie-based cart and one customer that wants to put 50+ items in the cart. It works fine down around 30 items. Is it possible to raise that limit? thanks ...more >>

upload file to remote computer
Posted by Alban55 at 8/23/2005 9:00:25 AM
Hi, I'm looking for a method to upload a file from a site to the Unix server running my database. How can I connect this computer to create a file on it ? and can can I read and write the files on it ? I'm able to upload to the server running IIS but that's not what I want. Thanks, Alban...more >>

ScriptEngine threw exception 'C0000005'
Posted by David Lozzi at 8/23/2005 8:40:58 AM
Hello, I'm receving the following on my webserver (Windows 2003 Server SP1) Event ID: 5 Source: Active Server Pages Error: File /KQShopping/ordercomplete4.asp Script Engine Exception. A = ScriptEngine threw exception 'C0000005' in = 'IActiveScriptParse::ParseScriptText()' from = 'CActiveS...more >>

Any cool solution to save ENTIRE screen content and state?
Posted by FlashMerlot at 8/23/2005 5:59:16 AM
We have an ASPX (C#) webform which hosts dropdownlists, textboxes, grids, checkboxes, etc. The users want to: #1 - "FREEZE" the entire webpage contents (and state) #2 - move IE browser to another URL (possibly several URLs ... maybe even terminate the session and restart another...more >>

Iframe Inside a form
Posted by Jay Villa at 8/22/2005 2:59:50 PM
I have a form which consists of Iframe <Form method="pst" action="test.asp"> <iframe src="testingframe.asp" id="testfram" frameborder="1" scroll="auto"> </iframe> </Form> testingframe.asp has <table> <td> <tr> <input type=checkbox id="checkedName" name="c...more >>


DevelopmentNow Blog