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 > november 2003

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30

Write permissions using Scripting.TextStream object
Posted by George Hester at 11/30/2003 7:21:47 PM
In Windows 2000 I need permissions set so that I can write a text file = to the folder when the asp page is loaded. Right now I have only these = permissions set: Administrator: Full System: Full Everyone: Read and Execute, List, Read Network: Read and Execute. List. Read Is there some o...more >>

Listing Numbers
Posted by Oli at 11/30/2003 6:46:44 PM
Hi I have 2 textboxes - "from" & "to". Assume I enter number 1 in "from" and 10 in "to" - I want the ASP to return: 1,2,3,4,5,6,7,8,9,10 and insert this into an Access database over 10 rows into the 'number' field. Anyone got any ideas how to do this? TIA Oli ...more >>

Obtaining autonumber value after using recordset AddNew
Posted by Roger Withnell at 11/30/2003 5:44:12 PM
I'm inserting a new record into an MS SQL database table and I want to obtain the new records autonumber immediately afterwards, as follows: MadminRS.CursorLocation = adUseServer MadminRS.CursorType = adOpenKeyset MadminRS.LockType = adLockOptimistic MadminRS.Open "NavBar", objConn, , , adCm...more >>

Windows Domain Authentication
Posted by Zille Hassan at 11/30/2003 2:31:55 PM
Dear All Newbie question here. i design form to take input from user(username,password). How do i autheticate if the user is Windows Domain user and once it has authenticated successfully, how do i forward to the success page. Any help would be appreciated. Regards Zille. ...more >>

nt/windows user/password?
Posted by yabbadooGOAWAYSPAM NO[at]SPAM bigfoot.com at 11/30/2003 1:58:04 PM
Is there a way to supply a nt/windows user/password combo in a url for an automatic login to a nt user/password secured site? Something like http://mysite.com[?]user=me[?]password=mypassword [?] = some sort of marker like ":" is for the port # TIA ...more >>

IT IS NOT READONLY!!!
Posted by Bryce at 11/30/2003 11:30:21 AM
HTTP 500.100 - Internal Server Error - ASP error Internet Information Services ---------------------------------------------------------- --------------------- Technical Information (for support personnel) Error Type: Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC Mi...more >>

Form to email including image
Posted by David Ehmer at 11/30/2003 11:12:25 AM
Does anyone know of a form to email ASP script that allows the user to attach an image file from their computer to be sent as an attachment to the email, along with other data collected from the form? I've seen this on sites particularly for recruitment allowing resumes to be attached along wi...more >>

Can I put object of vbscript class into session?
Posted by cali8 NO[at]SPAM poczta.fm at 11/30/2003 9:54:36 AM
I've read about 'Threading model'. My question is - is it possible to put object of vbscript class into a session? Can I change threading model to 'free'? Steven...more >>



contecnt type error
Posted by Mosley Jones III at 11/30/2003 8:32:14 AM
I was trying to make a excel page as i have before using contenttype. but this time every time i open the page it opens in visual studio, what am i ding wrong, here is a simple test page i cant get to work <%@ Language=VBScript %> <% response.ContentType ="application/x-excel" %> <HTML> <HEA...more >>

Response.Redirect
Posted by Paul Marsh at 11/30/2003 8:00:40 AM
Newbie Question................. How do I use Response.Redirect to point to an interal private box/site? Thanx, Paul *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!...more >>

Include file in another included file
Posted by vojma NO[at]SPAM yahoo.se at 11/30/2003 1:26:54 AM
I have a problem At my site I have designed a framework with tabs as below (tabs_1.asp) +----+ +------+ +-------+ | MC | | Cars | | Boats | + +------------------------- then, into tabs_1.asp I include another page (tabs_1_2.asp) --------+ +-------------- | New | | Used | |...more >>

Changing this code to a function? (how do you make functions?)
Posted by Ken Fine at 11/29/2003 6:13:24 PM
I have a menu system that has nodes that can be opened or closed. In an effort to make my code more manageable, I programmed a little widget tonight that keeps track of the open/active item and automatically builds querystrings for my redirect URLS. The code for this follows. It defines an ASP D...more >>

input data in the table list
Posted by Agnes at 11/29/2003 11:36:52 AM
I use while-loop the show the table content in web page. e.g (bookingno, booking date,customer no) However, the client need me insert one column (confirmdate ) and allow the user input and update the date . It seems very hard to do . Any one know how to do ? Thanks a lot Miss. Agnes Cheng ...more >>

Multiple iFrames Loading Issue
Posted by GQ at 11/29/2003 11:25:55 AM
We have a Web page that at load time will execute and build: a DHTML Menu/Data Driven, an Iframe with Detail Data, an Iframe to display Progress Information and another iframe with totals information of the previous iframe with Detail Data. Everything works fine except during the initial ...more >>

Cookies -vs- DB Table
Posted by Scott at 11/29/2003 7:52:09 AM
On an Intranet Web application I'm working on, I need to display a Pop-up that shows the users what report changes have occurred. This may happen once a week or more and I need a way for the users to turn-off this Pop-up after they've reviewed the changes. Currently, I'm debating wheth...more >>

creating a domain search page in asp
Posted by shine at 11/29/2003 1:10:36 AM
Hai , I am shine from India, a web programmer. I want to know about how to create a domain search page using ASP. Any suggestions would be greatly appreciated. Thanx in advance regards shine...more >>

Returning formated date
Posted by Don Grover at 11/29/2003 12:16:34 AM
Hi I have to return dates formated in different ways in an asp page from sql server. What function can I use or how can I return dates formated like so I tried DATEPART ie.. but that does not work they way I would expect "dd/mm/yy" "dd/mm/ccyy" "mm/dd/ccyy" "mm/dd/yy" "dd mmm ccyy" "cc...more >>

Compressing - Zipping files in vb or javascript in asp file
Posted by Arthur at 11/28/2003 7:33:48 PM
Does anyone know if the new Windows 2003 built-in .zip compressor/decompressor is available to scripting? If so, can you kindly point me in the right direction? I've searched and searched MSDN and can't find a damn thing. TIA. Arthur ...more >>

ASP and AS/400
Posted by Jack at 11/28/2003 7:00:06 PM
Hi, Using VbScript in an ASP page, I want to access a database stored on the AS/400. Should I use ADO, ODBC or anyother way of doing it? And is it possible to have some sample codes? Thanks Jack ...more >>

Can I safely call Response.End in a server-side JScript constructor?
Posted by Vince C. at 11/28/2003 5:25:43 PM
Hi. I've got the following ASP server-side script: function MyObject() { if ( myCondition == true ) { Response.End(); } ... } Will it result in resource leakage or will the being-constructed instance be released properly? Thanks in advance, Vince C. ...more >>

Classes
Posted by Duncan Welch at 11/28/2003 4:40:46 PM
Hi, In trying to reduce database calls, I've created a class (we'll call it MyClass) which is created in the login page. I'm trying to store it in a session variable, and when I call the code: Class Security ... End Class SET objSecurty = new Security .... Session("Security") = o...more >>

response.redirect
Posted by Tim at 11/28/2003 4:26:50 PM
response.redirect seems to urlencode a querystring thrown across at it.. is there a way to disable this function that anyone knows of? ie.. response.redirect "http://www.blurb.com/default.asp?test=sweet+%26+sour" actually comes back after the redirect with the % urlencoded which obviously ...more >>

Lotus Notes
Posted by Scott at 11/28/2003 3:36:11 PM
Does anyone know how to capture someone's LotusNotes email address and not the domain email address? For example, I looking to capture someone's LotusNotes email which may be "John J Doe" or "John J Doe/ABCCompany@ABC" and not "john.j.doe@abccompany.com". I working on INTRANET applicat...more >>

ERROR! [ODBC Microsoft Access Driver] Too few parameters. Expected 2.
Posted by Miranda_Johnsen NO[at]SPAM hotmail.com at 11/28/2003 3:21:24 PM
Hello, could somebody please help me figure this error out. I'm at my wits end here. This is my connection & SQL statement: <%@Language="Javascript" %> <!--#include file="../../admin/adojavas.inc"--> <% var conn; var rs; var sSQL; conn = Server.CreateObject("ADODB.connection"); c...more >>

Get user and password
Posted by MeAndI at 11/28/2003 2:16:22 PM
Hi, it is possible to get the name and the password of a system user? E.g. I have a login page and I have one user on my server \\myserver\user1 which has the password "pass1" The web user iserts the username and the password in the login page: can I check these fields with the user on my ser...more >>

Random selection
Posted by Jamie Fryatt at 11/28/2003 2:07:17 PM
Hi all, im a little bit new to all this so i you could help me a little i would be greatful. How do i select a completly random record from a database? sql = select (random) from tbl, sort of thing. Thanks for any help you can give Jamie ...more >>

Passing Data with Hidden Fields
Posted by fianna_sidhe NO[at]SPAM hotmail.com at 11/28/2003 11:10:11 AM
Hello. I am creating a form that has 5 steps/pages. Each page contains about 20 fields. But I don't want to write them until they submit on the last page. I figured out that I can use hidden fields to carry the data from the previous forms forward. If should bascially work like this: Page ...more >>

(PHP/C++) Struct in ASP
Posted by gameral NO[at]SPAM hotmail.com at 11/28/2003 10:55:24 AM
How can I make a simple Struct in ASP ? I saw a other post and it sound like "PAIN!" struct s_my_table { $name, $sexe, $age, } and I DON'T wanna do something like : <% Dim x Set x = New Something Response.Write x.Name & "<br />" Response.Write " - not ye...more >>

Regular Expressions..
Posted by Graham Mattingley at 11/28/2003 10:14:44 AM
Hi, I have an issue where by when I use XMLHTTP to get data from another web site, all of the '£' symbols become '?'. I have try for hours to stop this happening but have been unsuccessful so far. The numbers I have for example should be £9.57 and become ?9.57. I am by no means an ASP exper...more >>

Passing variables between ASP and Javascript
Posted by Gung Ho at 11/28/2003 9:20:56 AM
I am using ASP to open a text file on the server and I want to pass variables to Javascript. Any suggestions? For example - I have a text file on the server defining a set of pictures. I open the text file to retrieve the list of files. I want to pass the list of files to the Javascript wh...more >>

client-side check script for a list of "banned words"?
Posted by Ken Fine at 11/28/2003 8:49:27 AM
I need a client-side check against a static list of "banned words" before a form is submitted. Can someone point me to a script that does this? ...more >>

easy syntax q: for each record in recordset
Posted by Ken Fine at 11/28/2003 8:45:36 AM
Suppose I've built a recordset. I want some code to run for each record in the recordset in a "loop." In ASP VBScript, how would you express the following: For each [record] in [recordset] [run some code] next The only thing I'm really fuzzy on is the syntax for describing each recordset ...more >>

Need advice/experiences concerning mass e-mail components
Posted by Ken Fine at 11/28/2003 8:39:55 AM
I'm going to have a need to send out about 30,000 e-mail messages regularly to addresses that reside in a list/database. (not spam :) Because of insitutional infrastructure issues on the +receiving+ side, I need to space out the sends: say, send 500 messages, pause ten minutes, send another 50...more >>

auto download csv file
Posted by Don Grover at 11/28/2003 5:25:35 AM
How can I force a download of a csv file by user clicking on hyperlink. Don ...more >>

display records in several TDs per TR?
Posted by btopenworld at 11/28/2003 12:15:14 AM
Could someone point me in the right direction for writing, say, three records into three table cells and then starting a new row for the next three records. (I've used While not EOF and MoveNext for writing each new record to a new row - hope several records per row isn't too complicated) T...more >>

displaying recordset in columns.....
Posted by bryan.bedford NO[at]SPAM excite.com at 11/27/2003 8:36:31 PM
I have a results table that is 5 columns wide. the recordset is returned with 48 items. I have no problem displaying 5 per row until I hit the last row where i get a ADODB.Field error '80020009' Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a c...more >>

How to send mail using ASP through proxy server
Posted by Edward at 11/27/2003 8:18:25 PM
My computer is at intranet,I want to use following code to realizing function of sending mail.But this program only can send mail between intranet.If I send mail in internet,I need to through proxy server,the proxy method is HTTP(proxy server:xx.yyyy.com,port:8080,username/password),I want to us...more >>

Aaron - CDO..(again)
Posted by Rob Meade at 11/27/2003 6:47:33 PM
Hi Aaron, Soz to start a new thread, wasn't sure if you'd have spotted another entry to the last one... Regarding your post .. "CDO is by far the better option. The only reason it wouldn't work is if you are running NT 4.0 server anywhere - CDO was first included with Windows 2000." ...more >>

IP address
Posted by David at 11/27/2003 5:32:15 PM
Hi I'm trying to get remote ip address and local ip address of the user (i.e. machine name) but i couldnt find out it. however i can see the public remote ip address.here is the little code that i have written.. <% For Each Item in Request.ServerVariables %> <tr> <td><%= Item %></td> ...more >>

XMLHTTP - trying to replace incorrect displayed chrs with the correct ones
Posted by Graham Mattingley at 11/27/2003 4:17:42 PM
Hi Group, I have used xmlHTTP to grab a page from a server.. The page has the '£' symbol in it, when it get to my site it is displayed as a '?'.. I have tryed replace every way I know and it does not swap back.. I have tryed replace "?" , "£" I have tryed chr(63) , chr(163) I have tryed ...more >>

How to upload file in asp.
Posted by news.online.no at 11/27/2003 2:09:15 PM
Hi, I'm working on a asp-application where I shall upload a xml-file from the user, and then process til file (xml) for insert into a database. I'm currently using a "INPUT-field of TYPE=file" to browse for file, and a extra submit button to perform the actual transfer and start file-proces...more >>

Encoded and Textarea
Posted by Joel at 11/27/2003 11:57:34 AM
Hi there, Is there a simple way to get the content of my textarea not encoded !? My text area has comments in it and right now, I have to replace all encoded characters... what a pain. Thanks...more >>

XMLHTTP POST DATA HELP !
Posted by Graham Mattingley at 11/27/2003 11:01:35 AM
Hello I had this idea that I thought was going to be really simple, and I just cant get it to work.. I have use an affiliate link on my site, and I did not like it because it did not have my sites banners on it, so I asked the permission of the other site to change the display and they aggreed...more >>

Help,I can't merge word document in the server
Posted by lee_j at 11/27/2003 10:34:35 AM
Hi, I want to merge a word document in the server to display in the client side.The merge code is in a dll.In the asp server script, I invoke the dll to merge.It raise an error when I use the default IIS user.When I change the IIS user to administrator,It work well. I don't know how I shoul...more >>

Help, I can figure this out at all..
Posted by Graham Mattingley at 11/27/2003 1:47:47 AM
Hi am trying to send POST varables using XMLHTTP and for me it just dont = work... this is the code below, can anybody see anything wrong. My page = that I have called quote123.asp will display posted varables as I have = tested it with another form ??? The weird thing is I got this code for 4...more >>

How to send a form with binary data to another server?
Posted by ij at 11/26/2003 10:04:55 PM
Hi, I'm trying to submit an image object, along with some other text fields to another web server from within an ASP page but am stuck on getting the image to be submitted with the form. In a bit more detail: 1. When this particular page is executed, I want the server to pull an image from...more >>

Migration to Windows 2003, Error Messages not shown in Browser
Posted by Michael G. Schneider at 11/26/2003 7:44:30 PM
I recently upgraded my servers to 2003. Since then the error-information shown in the browser has changed. For example, if under Windows 2000 I executed an SQL statement from within an ASP, and the SQL statement was syntactically incorrect, the error thrown by ADO would finally show up in the ...more >>

quick one--how do I know how many rows returned?
Posted by middletree at 11/26/2003 4:37:41 PM
When I do a query that I know has 2 rows, I get rs.recordcount equals -1. Same thing when it's just one row. I need something that gives me the number of rows. ...more >>

DropDownList Looses Items when Browser Page is Refreshed
Posted by m_evergreen NO[at]SPAM yahoo.com at 11/26/2003 3:22:38 PM
I have a drop down which is pulling its values from a table, populated by database which is behaving very strangely. If the browser page is refreshed it becomes empty and will never repopulate. The box is populated on load with the following code, which I've added some likely useless commands ...more >>

How are cookies named when stored on a client machine?
Posted by Vince C. at 11/26/2003 3:22:04 PM
Hi. I'm trying to work with cookies from ASP and I've noticed cookies are stored on my machine in two distinct forms. the first form is "Cookie:<user name>@<web site>", which is a combination between my current logon ID and the visited web. The second is "<name>". I get the second form when...more >>


DevelopmentNow Blog