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

Filter by week: 1 2 3 4 5

Client Side Component
Posted by Ambush at 7/31/2005 9:22:19 PM
I am currently working on one of those projects that we all dread. The type that keeps growing out of scope faster than you can finish the component to deliver what they've already asked for. Including maybe, needing to develop things in languages / ways that you have never developed before. ...more >>


ASPPop3 (Server Objects) fails to return email details
Posted by Rich_C at 7/30/2005 6:32:50 PM
Can anyone tell me why this code doesn't work? The original came from an example in this group, but was modified slightly when the original failed to return message details. I am able to connect to the server and see the number of messages on the server, but message details (sender, subject, ...more >>

SQL Where <> help with syntax
Posted by iam247 NO[at]SPAM gmail.com at 7/30/2005 4:51:46 PM
Hi I am fairly inexperienced with ASP, SQL and VB Script. In one of my web pages I am trying to search a table in access which has a number of integers (GroupID's) (1 to 5 at present) and find those which do not match another set of GroupID's already contained in a record set named rsGroups...more >>

Anyone have the pattern to remove Brinkster ads?
Posted by Phil Powell at 7/30/2005 2:52:55 PM
URL: http://www3.brinskter.com/soa/soa_samp.asp?refURL=valsignalandet This URL produces a nice page with form material to produce user-inputted band search information Problem is that Brinkster interferes with the HTML resultset by embedding their annoying ads all over the place. How on e...more >>

Code produces "sub" error: WHY?
Posted by Phil Powell at 7/30/2005 1:44:50 PM
[CODE] Dim brinksterAdRemoveRegexp set brinksterAdRemoveRegexp = new RegExp brinksterAdRemoveRegexp.Pattern = "(<!-{2,}[\s\t]*BEGIN.+[\n\r\s\t]*END.+PLEASE REMOVE[\s\t]*-{2,}>)" brinksterAdRemoveRegexp.Global = TRUE brinksterAdRemoveRegexp.IgnoreCase = TRUE brinksterAdRemov...more >>

Filter for blog comments spam?
Posted by Byron at 7/30/2005 3:19:43 AM
Hey, I've built a site that accepts visitor comments, but most of what I get from the form is automated spam from China. Anywhere from 80-100 spam comments every few days, a lot of it repetitive. I'd welcome ideas to filter this out. Filtering by character type (no Chinese characters?) w...more >>

CDO + CDONTS email routine?
Posted by Noozer at 7/30/2005 12:00:00 AM
Just curious... Some webapps that I develop could be deployed on older NT systems OR Win2K3... Is there a simple test for CDO/CDONTs that I can use in code so I could implement both routines and use the one that's existing on the server? Thx ...more >>

Debug code in ASP 3.0
Posted by DazedAndConfused at 7/30/2005 12:00:00 AM
I need to debug the code and get the value of variables in an asp 3.0 page where the javascript is being processed on the server side (i.e. within <% %. I can use Response.Write("window.alert(".etc")"); for text messages to tell me where i am in the code, but I cannot seem to figure out how ...more >>



Determine of var is String or Array
Posted by !TG at 7/29/2005 2:14:29 PM
How do I determine if a variable is an array or a string? I want to send a variable to a function, but sometimes it will be an array and sometimes a string. Each must be treated differently I assume. I want to write string to DB field and Array in as comma separated string to DB Field...more >>

'800a0046' Permission denied error with ASP sendmail script
Posted by Jason at 7/29/2005 1:31:13 PM
it works from my logon (domain admin account), but everyone else gets Microsoft VBSCript runtime error '800a0046' Permission denied path/patj/script.asp line 16 I looked at a lot of articles and gave the IIS accounts full access to the mailroot folder, along with the 'regular' domain user ac...more >>

Removing a Querystring Name & Value
Posted by scott at 7/29/2005 12:28:06 PM
Below, I'm trying to remove the querystring name& value of "catID=12". I mananged to isolate the RESULTS part, but I need to be able to strip the querystring name and it's value, no matter if the value is 1, 2 or 3 digits. I chose to isolate the part I'd be removing below because I know I can tak...more >>

how to fire automatically a script asp
Posted by Luc Dal at 7/29/2005 11:32:38 AM
Hello, Is it possible to fire automatically a script (in asp) every hour ? I want to clean and compact a database every 6 hours. Thanks for your reply. Luc ...more >>

ASP Processing - Performance Issues
Posted by JP SIngh at 7/29/2005 10:23:57 AM
Hi All Just wondering if you anyone can give me some tips on speeding up the asp page which has about 50 fields and 10 drop downs. The page loads up very slowly. Also I have couple of questions in relation to the performance of ASP Pages 1. I open up the SQL Server connection in a file ...more >>

Wscript.CreateObject error on ASP page
Posted by MacKenzie at 7/29/2005 9:35:08 AM
The statement in an asp page: dim objShell Set objShell = WScript.CreateObject("WScript.Shell") now gives this error: VB err= 424,Object required If I use setobjShell=Server.CreateObject("WScript.Shell"), I get the error VB err= 5,Invalid procedure call or argument I believe it s...more >>

Help! asp pg wont work with my javascript code
Posted by ms_mmswan at 7/29/2005 8:52:48 AM
I am trying to have multiple layers on a page that toggle on and off, i works on a htm file but when I use it as an asp file it doesnt sho anything. This is the javascript code that is hindering my asp page: function MM_showHideLayers() { //v3.0 var i,p,v,obj,args=MM_showHideLayers.argumen...more >>

Converting CDONTS to CDO to send mail from a guestbook to me....
Posted by DigitalRick at 7/29/2005 7:22:01 AM
I have been running CDONTS in my ASPpages to send emails to me sent from my guestbook. It had been working fine untill I upgraded to Server 2003 (I am also running Exchange 2003) all locally. I will include the code I originally used. I understand I should switch from CDONTS to CDO mail bu...more >>

Asp form filtering
Posted by jfancy-Transport Canada at 7/28/2005 12:39:02 PM
Hi, I'm looking for an asp page to detect if there are any characters in my contact form that shouldn't be there. For example, if there is a "<" character, then this may mean there is html in my contact form, which is not good. I want to build a string that has all the values of my textboxes ...more >>

scary spam--looking into my ASP code?
Posted by middletree at 7/28/2005 8:10:18 AM
On my personal web site, which gets maybe 2000 visits a month, I have an email form on several pages. It has ASP code in there which not only sends the email to me, but populates the subject line with the name of the page it was sent from. For example, send me an email from the form on http://ww...more >>

Redirect from asp page to a PDF causes the PDF to be downloaded as the ASP name
Posted by Steve Mauldin at 7/27/2005 6:20:27 PM
I am having an issue with Mac IE users that come to an asp page on my site. The page does a response.redirect to a PDF page. the PDF is downloaded onto the desktop and saved as the name of the ASP page. The PDF is then displayed in a separate window. If I maunally type the URL to the PDF then e...more >>

prevent duplicate submissions to a database from an ASP form
Posted by Sandra G at 7/27/2005 5:49:49 PM
I need help ASAP. I have a form where users can fill out the fields firstname, lastname, and emailaddress. When the user submits the form, I need ASP to call out to a SQL Server database to see if the firstname, lastname and emailaddress the user submitted already exists in the database. If they...more >>

Device Filters in web.config
Posted by Derek at 7/27/2005 2:52:03 PM
Hello, I was wondering if anyone can tell me the effect of having device filters such as for isnokia7110 in your web.config on IIS/ASP peformance? Is there anything to be aware of here? Thanks, Derek ...more >>

Compressed Zipped Folder
Posted by Roland Hall at 7/27/2005 1:09:52 PM
It appears what I'm reading is that Windows 2K3, like XP, supports what MSFT calls a compressed zipped folder. Is this exposed so I can effectively use FSO or a shell to create one of these and move some files into it and then offer it as a download on my web site? -- Roland Hall /* Thi...more >>

Response.Redirect in a loop?!
Posted by Malcolm Messiter at 7/27/2005 11:25:03 AM
Hello I have a question to while I hope someone has the answer! In order to send several SMS texts from a web site, I need to invoke a new URL with a query string containing the parametres. So I put: <% while (something) Response.Redirect www.xyz.com?p1=xx,p2=yy... etc. wend %> ...more >>

Text Color Based on DB Value
Posted by Chris Stanley at 7/27/2005 11:02:11 AM
I am using dreamweaver to make an ASP page. I have a table of data from a MSSQL database that is currently showing on the ASP page. I want the ability to change the color based on a priority number that's in the MSSQL database (same recordset that the data comes from). I don't have the priori...more >>

'800a000d' type mismatch
Posted by middletree at 7/27/2005 8:56:44 AM
I've been messing with this for hours, and have been to various sites, including Aaron's site, and am truly stumped. The short version: in SQL Server, the 4 fields in question are datetime. I have a page that allows users to type in the info (actually a calendar pop-up allows me to make sure t...more >>

asp Pagination Help
Posted by kelvinweb NO[at]SPAM gmail.com at 7/27/2005 12:40:57 AM
Hi All, I don't know how to reuse the following source code, please comment. iTtlTemp = iTtlNumItems \ iNumPerPage <--- How to get value iDBLocTemp = iDBLoc \ iNumPerPage <--- How to get value iDBLoc <--- How to get value ------------------ ' Print the numbers in between. Print them...more >>

Problem with ASP class which does not pass its variables
Posted by nicver NO[at]SPAM yahoo.com at 7/27/2005 12:33:43 AM
I am fixing a client's Web site and for some reason an ASP class does not want to use the variables it retrieves when it initialiases. This is an excerpt of the class and it is enough to show what is not working correctly: ------ Class clsAd private pintMyData1 private pintMyData2 ...more >>

My ASP Code won't work
Posted by Jacky Luk at 7/27/2005 12:00:00 AM
Hi, I have just installed IIS on my XP SP2 machine. This code (dreamweaver) doesn't work <%@ LANGUAGE="VBSCRIPT" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; cha...more >>

ISO to RFC822
Posted by John Smith at 7/26/2005 9:41:52 PM
Hi, I've been carefully storing my dates as ISO dates in a DB and now have to add an RSS feed to a website. Is there an easy way to convert these dates to RFC822 compliant dates ? I've had a look for a component of some sort but had no luck.Any Pointers ? Thanks J ...more >>

FSO Path Not Found Error
Posted by Matt at 7/26/2005 1:53:12 PM
I am migrating from NT 4.0 (IIS 4) to 2003 Server (IIS 6). Our Intranet has numerous applications that utilize the FileSystemObject (FSO) and each one is returning a "Path not found." error. These applications work fine on IIS 4. Here is the scenario: - Mapped Drives on server to anotheer netw...more >>

Find records with date field before today
Posted by !TG at 7/26/2005 1:27:00 PM
I have a table with a date field. All I want to do it get all the records with a date before today. I tried the following: "SELECT * FROM StateLicenses Where (Exp < #07/26/2005#) Order By BranchNo,Satellite;" "SELECT * FROM StateLicenses Where (Exp < 07/26/2005) Order By BranchNo,Satellite;"...more >>

Explain this (if you dare)
Posted by Jordan at 7/26/2005 11:48:03 AM
Let me just start by saying I'm a very accomplished ASP programmer. I need to rely on that becuase this error boggles the mind. Just today, I had to troubleshoot an error in one of my applications and I tracked it down to a single condition statement. Here it is (very complex code to follow...more >>

passing variables and screen scrape
Posted by Jason Steeves at 7/26/2005 6:18:02 AM
I have one .aspx form that my users fill out and this then takes that information and populates a second .aspx form via session variables. I need to screen scrape the second .aspx form and e-mail that off. I have figured out how to do the screen scrape but it e-mails a blank form with none of ...more >>

500.100 ASP Error (0x80004005)
Posted by Jo Winchester at 7/26/2005 1:51:09 AM
We are getting the following error message when trying to access an .asp page in IIS 5 on a Windows 2000 server. I have found that (0x80004005) is a fairly common error, but usually it is accompanied with more information. Can anyone point me in the right direction to troubleshoot this erro...more >>

sorting output
Posted by Milton Snider at 7/26/2005 12:00:00 AM
I have a table of about 20 Categories. I currently have them displayed accross the page in a table from left to right in 3 columns. like this: abuse cmecf credit/etc dismissal presumptions You will notice the sort runs from left to right. I would like ...more >>

asp/ado/xp_sendmail/return codes/brain dead
Posted by Beverley at 7/25/2005 4:39:44 PM
I think I've lost my mind. This worked earlier today. Apparently I = broke something but I have no idea what. I have a stored procedure that builds and sends an email using = xp_sendmail. It is called after the user makes a change to a form (it = tells the support centre that a change has o...more >>

"send page by e-mail"
Posted by Jason Steeves at 7/25/2005 9:20:14 AM
I need to replicate the code that is found in Internet Explorer File->send page by e-mail. Can someone tell me how to replicate this code or just call this function. I need to program it to be activated by a button on my .aspx page......Thanks, Jason...more >>

Redirect user with ASP code in <body> ?
Posted by Noozer at 7/25/2005 8:07:38 AM
Is it possible to redirect a user to another web page using ASP code located in page body? I have some ASP code that runs after generating some output to the browser. It checks for a condition that can only be calculated using the values produced in the output, so redirecting the user before t...more >>

to get some information about the web site user
Posted by Soha at 7/25/2005 5:23:09 AM
i building a website in a LAN which will not be published on the internet. but the users in the LAN are accessing the web site through an ISA firewall server. i would like to ask if there is a way to get the ip address of the users to monitor their access to the web site. i tried to use the serv...more >>

Using Microsoft.XMLHTTP causes all GET values to revert to "0"
Posted by Phil Powell at 7/25/2005 2:01:01 AM
[ASP] 'GET THE HTML CONTENT FOR DISPLAY BAND ORIGIN Dim bandOriginDropdown On Error Resume Next set scraper = Server.CreateObject("Microsoft.XMLHTTP") if err then bandOriginDropdown = "" else scraper.open "GET", path & "/includes/soa_form_element_plugin.inc.asp", false ...more >>

CDO.Message background image
Posted by nospam NO[at]SPAM nospam.com at 7/25/2005 12:00:00 AM
Hi - is it possible to set an image as the background body image (non-repeating too) in a message sent using CDO. I don't want to embed an external webpage (I have to insert user form related variables back in the body of the email) and the image is on the server the mail is being generated ...more >>

using asp page control problem
Posted by kelvinweb NO[at]SPAM gmail.com at 7/24/2005 8:32:59 PM
Hi All, I need help. I don't know how to using asp paging control function to display result pages format as like as yahoo.com or google.com. For example. 1,2,3,4,5,6,7,8,9,10 >> << 11,12,13,14,15,16,17,18,19,20 >> Please advised....more >>

web server for managed computers
Posted by barabba72 NO[at]SPAM hotmail.com at 7/24/2005 10:08:16 AM
Hi all, I deployed a number of managed thin clients running XP Embedded. These thin clients are located thousands of miles away and their management (consider they are very locked-down) is not trivial. I would like to install on each thin client a small web server so that I could connect to...more >>

Application Object Or Variable!
Posted by Arpan at 7/24/2005 2:16:13 AM
The following code exists in a Global.asa file: ---------------------------------------------- <% Set Application("Thing")=Server.CreateObject("THINGDOER.THINGY") %> ---------------------------------------------- Will the above code snippet create a non-object Application variable n...more >>

Sub-Types!
Posted by Arpan at 7/23/2005 7:50:42 PM
I came across the following question at a website but unfortunately the answer wasn't accompanying it: ---------------------------------------------- What are the special sub-types in VBScript? ---------------------------------------------- What's the answer to the above question? Thanks...more >>

CodePage!
Posted by Arpan at 7/23/2005 6:14:35 PM
What does the CodePage property of the Session object do? In general terms, what is code page or what for is it used? Thanks, Arpan ...more >>

Reading CSV into RecordSet using GetString() (MSDN)
Posted by Roland Hall at 7/23/2005 1:16:29 PM
Three times the charm? Sorry for the repost. Trying to get my account right. I have two(2) issues. I'm experiencing a little difficulty and having to resort to a work around. I already found one bug, although stated the bug was only in ODBC, which I'm not using. It appears to be in the ...more >>

Global.asa!
Posted by Arpan at 7/23/2005 9:03:20 AM
Is the Global.asa file resolved before parsing the 'Include' (files) or after parsing the 'Include' (files)? Thanks, Arpan ...more >>

Form & QueryString!
Posted by Arpan at 7/23/2005 7:48:38 AM
Is the only difference between the Form collection & the QueryString collection is that the Form collection is sent through the headers whereas QueryString gets appended to the URL? If not, then what else are the differences between the two? Thanks, Arpan ...more >>

Funky input methods...
Posted by Me at 7/23/2005 12:24:16 AM
Any of you guys got a clue of how to assign a value from one input box to another hidden input? What I'm trying to do is take inputs for names on a registration page. You've got first, middle, last, and maiden name inputs, but in the database you've got first, middle, last, maiden, and di...more >>


DevelopmentNow Blog