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 > may 2006

Filter by week: 1 2 3 4 5

Switching Error Checking on and off
Posted by Chris at 5/31/2006 10:39:56 PM
I want to do some error checking using on resume next to determine whether to commit an ADO transaction. However we have a custom 500 error page which we use through out the rest of the site. Can I remove the on error resume next after I have rolled back the transaction and raise a normal error. ...more >>

Which is the better approach?
Posted by Rob Meade at 5/31/2006 9:01:12 PM
Hi all, I have a databse which I'm pulling the data from for my ASP page. I have 4 tables, Course, Feature, Objective, and PreRequisite. The last three all contain a course product code and a text column - the course product code links the row(s) to the Course table. So, I might have 1...more >>

Using ASP to open excel file
Posted by jnb0012 NO[at]SPAM unt.edu at 5/31/2006 11:20:11 AM
Can anyone help with this? Here is the code I am using. The problem is, where it checks if a file exists, it always goes to else. Even if the file is there, it won't open the file, goes straight to else part of statement. <% If Session("strLogID") = "" Then Response.Redirect("http://we...more >>

asp.net question
Posted by amjad at 5/31/2006 7:46:02 AM
Hi i need to create custom right click menu on each control mean if i click on text box righ click menu appear with have some options..........more >>

ASP, XML stuff...
Posted by Dirty Davey at 5/31/2006 6:28:20 AM
Hi all, I'm trying o get my head around XML and using ASP to parse documents. I've managed to kncok together the code below to send a request to an external server and then pop the response into a variable and format it a bit. What I'm trying to do is insert the data into a nice HTML tabl...more >>

Outer join problem
Posted by PW at 5/31/2006 12:00:00 AM
I've created an ASP application which uses an Access database. I've created an outer join query, but for some reason the "Property_Def" column is not aligning with the "ESPN" column. They should be aligned on the ESPI common columns. In this attached image, the first lines ESPI of 010471 ...more >>

refering URL
Posted by hugh welford at 5/31/2006 12:00:00 AM
Hi, Can anyone tell me how to grab the refering URL of a visitor to my site from another site ( I have tried Request.ServerVariables (HTTP_referer) which returns a blank value, although it seems to work fine for pages within my site) Thanks Hugh ...more >>

request stopping at first space
Posted by Col at 5/31/2006 12:00:00 AM
Hi all, I'm new at asp and there may be an obvious answer but I haven't found it yet. I have 3 pages on page 1 there is a select box, name="UD", containing "Data B" page1 submits to page 2 on page 2, <% USD=request("UD")%> results in USD = "Data B" USD displays in a text box as "...more >>



Home based Internet research Jobs
Posted by treeza at 5/30/2006 10:53:28 PM
Home based Internet research Jobs We are now hiring home based workers to complete simple online research assignments. No selling - no recruiting - no adplacing For details visit http://www.typeinternational.com/idevaffiliate/idevaffiliate.php?id=4909_33_3_69 ...more >>

Determine if user is in AD group
Posted by CJM at 5/30/2006 5:33:23 PM
I need to be able to determine if the user is a member of a given AD group. I have a method of doing this, but it is not suitable for 64bit OS's, so I need to find an alternative route. I actually think an alternative route might actually be a better route. I'm not an ADSI expert (frankly, ...more >>

COM object for image processing in ASP
Posted by Paul at 5/30/2006 5:33:20 PM
Hi all, I've been using ASPImage and it frequently causes IIS to crash. Do any of you have a good alternative to suggest? I need something to handle resizing and cropping. Any suggestions would be much appreciated. Thanks, Paul ...more >>

Write permissions??
Posted by Cam at 5/30/2006 4:43:11 PM
Can anyone help? I am running asp pages linked to an Access database (2000 file format) on a web site which works fine, both on the internet and on my local IIS. My client has downloaded all the files to his laptop and the site falls over whenever it tries to 'execute' update, delete or inse...more >>

(true = 1) returns false?
Posted by Jason at 5/30/2006 4:41:52 PM
I am fairly new to ASP--I have been using it about 2 months. I did these tests (below), and it doesn't make sense to me. False is equal to 0, and that's fine. True should be equal to 1, but it's not. Actually, True should be equal to anything but False, null, and 0. Is there a workaround ...more >>

Debug AS{ Referral
Posted by george at 5/30/2006 1:15:02 PM
How to do debug in visual studio a connection that comes in from a url referral? I cannot get visual studio to "boot" on the referral. IIS just runs the ASP directly....more >>

File Unavailable ASP code
Posted by jnb0012 NO[at]SPAM unt.edu at 5/30/2006 10:26:38 AM
I created a form and sent the inputs to an asp file where I use the entry to open an excel file by saying Response.Redirect("filename") I want to use this because I will be sending new reports everyday and don't want to update the list of available reports for the user to choose from. Th...more >>

Additional asp scripting help
Posted by freemann at 5/30/2006 10:06:01 AM
Wow, this has been some trip. I'm learning some asp scripting to apply toward some online forms and they are working really good. However I do have this one problem that I can't seem to get to work right. There are two radio buttons to choose from, one for individual,value is $25 and the ot...more >>

IIS 5.1 on XP Pro cannot serve ASP classic
Posted by spinkysam at 5/30/2006 12:58:22 AM
Hi all, I just got a new laptop, Windows XP Pro SP2. I installed IIS 5.1 using add/remove Windows Components. I installed Visual Studio 6 SP6 and Visual Studio .Net (I need both of them). Exact same setup was working fine on my old laptop. On the new laptop: IIS will serve .aspx and .html...more >>

Opening word 2003 from an ASP page`
Posted by asampath NO[at]SPAM hotmail.com at 5/30/2006 12:45:10 AM
When you open a word document within Internet Explorer, the only toolbar displayed is the Reviewing toolbar. Is there a way to force IE to display the standard toolbar by default (without needing to right click and select the toolbar manually). I need to have the save button visible by default a...more >>

Multiple colors on <select> list
Posted by PW at 5/30/2006 12:00:00 AM
Is it possible to make a select list item red based on a condition ? TIA, PW ...more >>

IStream
Posted by Gunnar Liknes at 5/29/2006 9:17:31 PM
Hi, I am trying to access COM component - method that takes a IStream (ByRef) parameter from ASP (Not ASP.NET). So far I have had no luck and google drowns my search with ASP.NET examples... I mange to create the object and call methods that returns strings (BSTR) like this Dim Sv...more >>

take hostname, look if folder exsist, if not create and copy files
Posted by Paw at 5/29/2006 3:25:45 PM
Greetings. I use asp. what I need is is when a visitor comes to the site, I need it to check the host name. if "www.hometowndigest.com" is the host, then check a folder named "something" and if the folder does not exsist, create folder "www" and then copy folder "temp" and its contents. If t...more >>

data access
Posted by Hugh Welford at 5/29/2006 12:53:23 PM
hi Running an asp site on win/IIs/MSACCESS with a database reaching 45 meg. Responses seem a little slow. Could anyone provide a checklist of things to look at to optimise data access on this platform, or point me in the right direction where I can read up on the subject. Thanks Hugh ...more >>

How can start to learn ASP?
Posted by webmastermuztagh NO[at]SPAM gmail.com at 5/29/2006 12:11:32 AM
Hi! I know something about HTML and no more but recently i really like to learn ASP but unfortunatly no body know ASP here. So is there any body can help! How can start asp and what should i know before i start learning ASP.I would very aprecieate if anybody could help me, and i am till tha...more >>

Non-ADO?
Posted by PW at 5/29/2006 12:00:00 AM
If I am using ASP and access an Access database, but I am not using ADO, what is the name of the database methodology I am using ? ...more >>

connecting to external xml file
Posted by Brian Quigley at 5/28/2006 3:41:47 PM
Hi, i am trying to write a script to parse an external xml file, but am having problems... the problem i think has to do with me trying to do Response.Write(xmlDoc.transformNode(xslDoc)) before the xml is fully loaded. The link to the xml file is valid. my code is as follows... xmlf = "h...more >>

Stored Procedure Parameters Generator
Posted by Chris at 5/28/2006 12:00:00 AM
Hi there used to be a script by Bob Barrows which generated the vbscript for a stored procedure. The web site isn't there any more. Can anyone point me somewhere else? Regards, Chris. ...more >>

No of users ?
Posted by PW at 5/27/2006 8:27:20 PM
Hi, I'm hosting a couple of ASP applications on my server. How can I tell the number of users currently logged on, and can I get any details about them ? Thanks, PW ...more >>

Capture IP on web form
Posted by Zen Masta at 5/26/2006 4:27:36 PM
I've been getting a lot of harrassment emails on a web form recently and I want to display/capture the users IP/host header(not sure if thats the right term... but I know you can do it in IRC) if possible. Does anyone know a free script for this? The form is in ASP not .net I want to amend ...more >>

How to get client IP ?
Posted by David Velazco at 5/26/2006 11:42:26 AM
Hello Everybody, I try to use script to get client IP <% dim IPAddr IPAddr = Request.ServerVariables("remote_addr") Response.Write("Your IP Address is " & IPAddr) %> but script return IP of Web site, not CLIENT and not null value! My site is hosted on W2003 server SP1, IIS, ISA I'...more >>

Intermittent database error
Posted by Dave at 5/26/2006 7:40:42 AM
I am getting an intermittent database error on my asp page. I am using Access 2003 with classic ASP. The error is this: Microsoft JET Database Engine Error 80040e10 No value given for one or more required parameters /subweb/search.asp, line 163 Line 163 is starred below: With rs ...more >>

How to reset input data on detailsview, after error on insert
Posted by jparlato at 5/26/2006 6:16:02 AM
I'm using the detailsview to perform edit and insert of new records via an object datasource. If an error occurs on the insert, I want to preserve the data the operator tried to input, along with my error messages. Currently, it appears that the detailsview is trying to rebind after the erro...more >>

newbie- What's needed to Run ASP pages on a Notebook
Posted by shall NO[at]SPAM uaex.edu at 5/25/2006 1:43:50 PM
Example, I'm waiting at the airport and I CANNOT get a connection to a server. What would I need to install on a Notebook computer to be able to edit my web pages? Is this possible? I'm currently using Visual Studio. I forsee I can make my changes DISCONNECTED from a server, like on my ...more >>

Forms Help
Posted by EA at 5/25/2006 12:23:43 PM
Apologies if this is the wrong newsgroup - if I could be directed to the right forum I will happily re-post. I am trying to create a page with a drop-down select upon it. When the user clicks on a selection I want a new frame to appear with a new URL (associated with the selection) appeari...more >>

Getfolder on the network
Posted by damezumari at 5/25/2006 10:13:27 AM
I use windows 2000, iis 5. When I run the following program in IE6 I get the screen below. --- Program: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <body> <% dim fs,f set fs=Server.CreateObject("Scripting.FileSystemObject") set f=fs.GetFolder("k:\test\") Res...more >>

Fre dynamic convert of HTML page to PDF?
Posted by Sugapablo at 5/25/2006 10:12:36 AM
Are there any free/open source ASP solutions that will allow you to dynamically convert an HTML page to a PDF? What I'd like to do is include a "Convert to PDF" button on a .asp page that will convert whatever is there to a PDF. Is there a free version that works well out there? -- Su...more >>

IIS 5 stopped serving pages
Posted by Jim Stools at 5/25/2006 9:40:28 AM
Server 2000 IIS 5 The server stopped serving pages on all the web sites: The Following error message: The page cannot be found HTTP 404 - File not found Internet Information Services I checked the web sites under IIS and they are running. I've re-booted the system and the problem co...more >>

Possible to write an image to a file?
Posted by nospam NO[at]SPAM invalid.invalid at 5/25/2006 9:39:39 AM
Using the HttpRequest object to gather material (potentially from an external server), is it possible to write the response stream into which ever file type is required e.g. I request not just text, but an image - is is possible to write the image to file? Or is this just not possible? I can ...more >>

getting data out of this xml file
Posted by trooperbill at 5/25/2006 7:56:11 AM
http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml i want to store the currency exchange rates out from this document into an access database. anyone know how to do it (all the tutorials ive found are in php :( ...more >>

How to send UDT from a ATL Server implemented in VC++ to ASP Client
Posted by Remo at 5/25/2006 7:53:14 AM
Hi, I want to know the possiblity and process of an ASP client, which needs to get some UDT from a ATL Server component implemented in VC++. The UDT is basically a C++ class consisting of a BSTR and a short. for eg., class CMyClass { BSTR myName; short myNum; }; and what actuall...more >>

Converting Access form to a asp form
Posted by Jack at 5/25/2006 7:45:02 AM
Hi, I have an Access application which need to be converted to asp-sql server application. This Access application uses a single form. This form has got a SS number with names and age. The form has two subforms. One of the subform uses a physical test score which is basically four different ...more >>

? for string, inserting a vbcrlf every N characters, or improving the behavior of MSXML
Posted by Ken Fine at 5/24/2006 2:45:58 PM
I'm using ASP VB. I want to insert a VbCr or a VbLf into a declared string every N characters. FWIW, I want to do this because of an apparent limitation in MSXML2, which I am using to "scrape" data from webpages that I control: I'm getting spurious exclamation points (!) where line lengths are t...more >>

Anonymous vs NT logon
Posted by Fred at 5/24/2006 10:08:57 AM
If I select Anonymous in IIS under Security for my application and provide a user other than IUSR which has permissions to create folders, etc. on another server, I am able to create the folder I need. However, if I don't select Anonymous, and my NT logon is a user with permissions to create fold...more >>

paging folders
Posted by Eugene Anthony at 5/24/2006 6:59:36 AM
The code bellow will display a list of folders in a directory. Now lets say I have 20 folders, I want to display the first 10 folders, then display another 10 folders just like the paging concept how is it done? <table cellpadding="3" cellspacing="0" border="0" width="420"> <tr> ...more >>

Strange error
Posted by PW at 5/23/2006 9:06:18 PM
I have an ASP that is gathering values (Activities) from the previous ASP. Depending on what Activities the user selects, dictates what will be displayed by the subsequent ASP. If you notice in the below code segment, if the response.end is commented then the javascript does not get proce...more >>

ASP Type mismatch error with SELECT...FOR UPDATE statement
Posted by Steve at 5/23/2006 5:36:39 PM
ASP error number 13 - Type mismatch with SELECT...FOR UPDATE statement I got ASP error number 13 when I use the SELECT...FOR UPDATE statement as below. However, if I use SELECT statement without FOR UPDATE, it is fine and no error. I also tried Set objRs = objConn.Execute("SELECT * FROM EMP U...more >>

A weird one...
Posted by nospam NO[at]SPAM invalid.invalid at 5/23/2006 4:09:01 PM
I need to download an rss feed on a regular basis that is embedded only in javascript (external website) and store it on my webserver's hard drive someplace. The code goes like this: <script language="javascript" type="text/javascript" src="http://www.feedroll.com/rssviewer/view_rss.php?ty...more >>

hyperlink in asp
Posted by Jeff at 5/23/2006 3:42:33 PM
Hey gang. i have this Response.Write Replace(Rs("Event_Details") & " ", vbCrLf, "<BR>") & vbCrLf coming from access db. how can i get that to make a hyperlink clickable as well?? Thanks ...more >>

Freeze Table Headers.
Posted by Nico VanHaaster at 5/23/2006 3:15:22 PM
Hello all. There is what i would like to do, I have a page that pulls all the hours for our staff over a given period calculated them and reports back on 15 different colums and is aproximatly 500 individual rows of data for a table. Now as you could imagine that is a night mare to look at fo...more >>

how to copy files from web server to client
Posted by zerbie45 NO[at]SPAM gmail.com at 5/23/2006 12:48:10 PM
Hi all, I need to know if, and how, it is possible to use ASP to download a file automatically from the web server to the client in a given path. Is that possible ? Ideally I want a page with a link that when pressed it will copy a certain file that exists on the web server down to the client...more >>

Process a CSV File in ASP.
Posted by MN at 5/23/2006 11:20:02 AM
Hello all - I'm hoping that someone knows the answer to this as I have not done this in ASP before. Basically, I need to select a csv file from my desktop through the "Browse.." button in my ASP page and upload the file and do further interrogation and extract the data to put into a dat...more >>


DevelopmentNow Blog