Groups | Blog | Home


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 > april 2005 > threads for april 8 - 14, 2005

Filter by week: 1 2 3 4 5

Retrieving AD user id from asp not asp.net page
Posted by Enqush at 4/14/2005 8:13:03 PM
What is the best way (most secure) to retrieve the user id from within an asp (not asp.net) page please? Existing web site being moved to IIS6 with windows authentication and user logged on to his PC using Active Directory domain ? ...more >>

iis question
Posted by Eduardo Rosa at 4/14/2005 6:08:53 PM
I've always same problem with localhost: path like http://localhost/mysite.com.br execute ok, when the path is http://localhost/mysite.com I get a error (below). HTTP 401.3 - Acesso negado devido à ACL no recurso Internet Information Services thanks a lot ...more >>

graphic report
Posted by Cris I. at 4/14/2005 3:52:03 PM
Hi, how can i create a graphic report based on database information. I have an asp page where i asked some questions to users on my intranet, and i have that data on a database, so i want to make a graphical report (i.e. a pie) where i can see the results. Is there any way to do that??? Tha...more >>

Making dates British....
Posted by Paul Mason at 4/14/2005 2:06:39 PM
Hi folks, We have two servers running ASP.NET systems. One is live and one is development. I have recently adopted an ASP system from a colleague to nurse it back to health. On the development server it correctly interprets dates as being british i.e. dd/mm/yyyy, but on the live server...more >>

Can you use ASP ADO "Like" to perform a "Not Like" search?
Posted by Adam Short at 4/14/2005 12:35:20 PM
I've never needed it before but now I do! Does anyone know if you are able to perform a NOT Like search using Classic ASP ADO? i.e. myData.Filter = "Ref NOT LIKE '*1234*'" by the way this doesn't work!! and neither does myData.Filter = "Ref <> LIKE '*1234*'" or myData.Filter = "NOT ...more >>

Prevent users from accessing files
Posted by JP SIngh at 4/14/2005 12:07:56 PM
Hi All We have an ASP application which links to various word and excel documents stored in a folder called attachments. The documents are extermely confidential in nature and we would like restrict the access to them through the application only. How can we prevent users from guessing th...more >>

Why does a class created in global.asa Application_Start get removed right away?
Posted by Grant Schenck at 4/14/2005 11:21:42 AM
Hello, I posted an this issue before but I'm clearer on what is going on. I have a simple web site with a global.asa and a single .asp file. In global.asa I handle both Application_OnStart and Application_OnEnd (see below.) The ShoreTelMakeCallTransfer object is a simple VB test object ...more >>

Log ASA and/or ASP activity?
Posted by Grant Schenck at 4/14/2005 9:17:43 AM
Is there an easy way to call OutputDebugString from and ASA and/or ASP file? Thanks, Grant Schenck ...more >>



table exists???(asp+javascript)
Posted by fad at 4/14/2005 5:24:50 AM
Thanks for you Aaron but this code works with VBSCRIPT and I don't Know how to convert it to javascript>>>I want it with javascript not with VBSCRIPT -- fad ------------------------------------------------------------------------ Posted via http://www.codecomments.com ----------------...more >>

DLLHOST.exe become large
Posted by venkateswarag NO[at]SPAM gmail.com at 4/14/2005 2:47:48 AM
Hi, The following is the error keep getting while running web application. Tools used: HTML, ASP, DLL's(written in Delphi). Application Error: dllhost.exe - Application Error --------------------------- The instruction at "0x00000000" referenced memory at "0x00000000". The memory could no...more >>

Request.ServerVariables("HTTP_REFERER") - What is going on?
Posted by Nicolae Fieraru at 4/14/2005 12:00:00 AM
Hi All, I try to use Request.ServerVariables("HTTP_REFERER") in a script and I discovered it doesn't work as expected. I use XP with SP2 and I created a link on a web site which points to an asp page which should show the referer. I placed a link on www.eleader.com.au/linkref.html and there...more >>

Apostrophe Errors Out Form
Posted by PinkBishop at 4/13/2005 11:03:17 PM
Hello All, Hope you can help. Below is the code I use to send data from form to database. Problem is if an apostrophe is entered in cQuestion field or any field for that matter the form errors out. Please Help. mySQL= mySQL & "(cEmail,cFirst,cLast,cStreet,cCity,cState,cZi...more >>

Trying to create hyperlinks
Posted by laura at 4/13/2005 7:48:01 PM
I am writing some code for an intranet and I need to be able to list the files in folders and subfolders and display them in the browser window as with hyperlinks. I've picked up this very useful code on the internet from www.4guysfromrolla.com. It works a treat, but one problem! If there i...more >>

Another ASP Session problem with IIS6, somebody must have a definative answer!
Posted by Adam Short at 4/13/2005 5:13:18 PM
I'm having all sorts of problems with Sessions, I've been using them for years with out a hitch, all of a sudden the last 6 - 12 months since getting our new Win2003 server it's all gone shakey!!! Our development server started life as an NT4 machine and has been simply upgraded from one o...more >>

Programmatic test if an object is an array vs. a recordset?
Posted by kenfine NO[at]SPAM u.washington.edu at 4/13/2005 5:11:42 PM
Is there a method by which you can programmatically distinguish an array from a recordset in VBScript? I'd prefer to be able to make a general "object" method and have my code sort out whether it has received a rs or an array. Thanks. -KF ...more >>

Can VB Com object used by ASP get events fired by an internal object?
Posted by Grant Schenck at 4/13/2005 3:40:28 PM
I have a VC++ COM object which fires an event. I've written VB EXE apps against it and they receive the event notification. I've now built a simple VB COM object which uses the VC++ COM object internally. My question is, assuming the ASP page which loads the object does not immediately exi...more >>

help!!!! Access and Asp
Posted by Eduardo Rosa at 4/13/2005 12:08:53 PM
Somebody knows why a query don't return entire field (type memo)? There's no functions like Left, Subs etc. thanks a lot ...more >>

Time Zone Problem
Posted by Paul at 4/13/2005 12:06:28 PM
Hi All, I know this is probably simple, but I'll ask anyway. I have a form which when submitted to the database the field in the database automatically adds date and time which is fine. My only problem is that my site is for the GMT UK time zone, but the database resides on a American server, I...more >>

OutputDebugString not working for COM object called from ASP
Posted by Grant Schenck at 4/13/2005 12:03:40 PM
Hello, I'm on Win2K3. I'm trying to capture OutputDebugString output made by a COM object used from an ASP page but I don't get it. This appears to be due to debug output being generated from the system account before the output capture utility is run. This is described at the end of th...more >>

How would you go about creating recurring appointments? ASP/SQL Server
Posted by gil at 4/13/2005 12:01:00 PM
I initially tried building a coded system where numbers 1 through 10 referenced a certain type of recurring appointment, and would then call a specific function for each, but as more appointments were added things began to slow down quite a bit. I've taken a different approach since, and decided ...more >>

Debug VB based COM object from ASP?
Posted by Grant Schenck at 4/13/2005 11:58:37 AM
Hello, I'm trying to figure out how to debug a very simple COM object I developed in VB. I'm very new to VB and ASP so I have a lot to learn. That said, I found what I thought was perfect article which covers this: http://support.microsoft.com/default.aspx?scid=kb;en-us;299633#2 Howe...more >>

Add trusted zone from ASP?
Posted by Christian Perthen at 4/13/2005 11:36:08 AM
Hi, Is it possible to add a domain name to trusted zones from an ASP page? Thanks in advance Christian ...more >>

Code to search for files in directory
Posted by MP at 4/13/2005 10:48:25 AM
I was wondering if anyone can point me to some example code of searching for a file, like *.*, or *.pdf, much like the Windows search function. I am at a smaller location, away from the main office, and although I can map a drive or just use \\ to go to the desired location, the connection is...more >>

Textarea maximum exceeded
Posted by RICHARD BROMBERG at 4/12/2005 1:26:48 PM
I have a small ASP program ( http://www.dickbrom.com/aspsend/ ) that accepts data from a Form and e-mails it. The form has a Textarea ( <TEXTAREA NAME="MessageBig" ROWS=10 COLS=50> </TEXTAREA> ). If you enter too many characters in the textarea the Submit button does not function. ...more >>

AWESOME MOVIE! << This free movie is about real situations and I give it a big thumbs-up!! °º·._._.·º°`°º·._._.·º°`°º·._._.·º°`°º·._._.·º°`°º·._._.·º°
Posted by JavaDude_MSN230 NO[at]SPAM yahoo.com at 4/12/2005 12:43:43 PM
http://www.moviefever.com/movie121 << Awesome Movie! You can reply with your comments about the movie if you would like. ...more >>

add folder name to navigateUrl
Posted by New User at 4/12/2005 12:32:38 PM
asp.net framework 1.1, C# I am trying to create thumbnail images dynamically and load them on a web page. When I click on a thumbnail image it opens the large version of it. I use DataList to display the images. All my images are in a folder call ‘CocoaImages”. I have the following co...more >>

how to add folder name to navigate url
Posted by New User at 4/12/2005 12:32:37 PM
asp.net framework 1.1 and c# I am trying to create thumbnail images dynamically and load them on a web page. When I click on a thumbnail image it opens the large version of it. I use DataList to display the images. All my images are in a folder call 'CocoaImages". I have the following cod...more >>

Name Redefined
Posted by James at 4/12/2005 12:03:42 PM
Should be a simple question...not sure why this ISN'T having a problem: For x = 1 to 5 Dim y Next Shouldn't that fire a "Name Redefined" error the way this does: For x = 1 to 5 Dim y Next Dim y ...more >>

asp date format question
Posted by Lin Ma at 4/12/2005 9:46:02 AM
In my asp page, I have a date value from SQL database and I would like to be formatted like: yyyy,mm,dd. Such as 1/22/2005 to be 2005,1,22 Is there a simple command I can use? Thanks, Lin ...more >>

email using CDONT component
Posted by Rajiv at 4/12/2005 6:01:04 AM
hi all , i have to send the mail to all the employees of the company , e-mail address is stored in a table . i m using cdont component to send the mail , what are the basic requirement of cdont how to install cdont on server 2000 and is it necessary that smtp server shoud be insta...more >>

generating excel sheet
Posted by Rajiv at 4/12/2005 5:59:06 AM
HI ALL, actually , i m working in a company having large number of employee , i have two userid and password . on id is from admin group(id given to me by technology manager) of the server and other is simpley the user . my software is based on Lan authentication based i.e. when a user works ...more >>

recordset paging
Posted by sara at 4/12/2005 4:04:09 AM
Hi all, I have a strange problem. I have a page where I am creating a recordset that can handle paging and the query for it was originally selecting from only one table. This was all working nicely, including the paging. I have now changed the query to select from two joined tables and su...more >>

table exists???(asp+javascript)
Posted by fad at 4/12/2005 3:54:05 AM
How can I check if a table exists in an access database using (asp with javascript) Thanks for you all -- fad ------------------------------------------------------------------------ Posted via http://www.codecomments.com ---------------------------------------------------------------...more >>

Dates in ASP SQL Select Statement....
Posted by david NO[at]SPAM scene-double.co.uk at 4/12/2005 1:37:37 AM
Hi, I have part of my SQL statement in my asp page as follows: WHERE ((pcbforecast.ShipETA < '31/12/2005') and (products.BBProductName = ....... The problem I am having is that I want the selected records only with a ShipETA less than 31/12/2005. My asp pages are running via MySQL on o...more >>

looking for auto form creator
Posted by AirYT at 4/12/2005 12:00:00 AM
Howdy, I've done lots of sites in ASP and i'm still bored/tired of creating Add/Edit/Delete form & processing pages for Product tables, Customer/User tables, etc. I'm looking for a script/package that will make these types of pages easily and automatcially given a table from my (access or o...more >>

Three tiered Apps
Posted by Chris Kennedy at 4/12/2005 12:00:00 AM
Can anyone point to some good resources on develop multitiered web applications with ASP. I have been looking using XML and XSLT to work as the preasentation layer and have a data layer which converts recordset to XML and then passes them to the presentation layer. This, howver is only two l...more >>

Check if object a recordset
Posted by Jason Chan at 4/12/2005 12:00:00 AM
I am writing a function to take a recordset as parameter, and print a HTML Select element according to the record in the recordset. I would like to check if the input object a RecordSet before processing, how can i acheived that? Thanks in advance (Sorry for my poor english) Jason ...more >>

ASP scripts won't run after installing SP2
Posted by owen_meany NO[at]SPAM rocketmail.com at 4/11/2005 8:51:12 PM
I just installed SP2. now my .asp scripts won't run. .aspx scripts run fine. It's just .asp for some reason. I keep getting the following error: "Either a required impersonation level was not provided, or the provided impersonation level is invalid." I've tried deactivating the windows...more >>

Name anchor
Posted by Chris Kennedy at 4/11/2005 3:48:23 PM
I am passing a querystring e.g. http://office.cybase.co.uk/placeadvert/addimages.asp?maximage=3&officeid=118#subimages I want to use a named anchor. but this confuses my asp as it thinks officeid is 118#subimages not 118 ...more >>

Detect Visitor's Town and Country
Posted by Victor at 4/11/2005 3:13:16 PM
I've been to a few websites where it displays the town, state (if USA), country I'm browsing from. Now, I know that detecting country is easy, but how do you determine the town? What ASP components do this? Thanks, Bill. ...more >>

run VBS files with ASP
Posted by Dimple at 4/11/2005 11:37:40 AM
Anyone think of a better way to run a VBS file from in ASP than this example? (Goal is to run VBS files that use 'wscript.echo' without having to re-write to use 'response.write'.) <script language="vbscript" runat="server"> class wscript_class function echo(s) response.write(s &...more >>

running VBS files
Posted by dimplewathen NO[at]SPAM hotmail.com at 4/11/2005 11:20:49 AM
Anyone think of a cleaner/nicer/eleganter way of running VBS file in ASP than this example? (Goal is to re-use typical VBS code that uses 'wscrip.echo' without having to re-write everything to use 'response.write'.) <script language="vbscript" runat="server"> class wscript_class funct...more >>

ASP - Email - Exchange server for SMTP?
Posted by Rob Meade at 4/11/2005 12:00:00 AM
Hi all, I have no knowledge of Exchange server, and have always used CDO to send emails from ASP in the past. My problem now is that the server in question doesn't have SMTP installed alongside IIS, it has Exchange installed which apparantly does have SMTP capabilities but not like the def...more >>

ASP, read registry key
Posted by fabrice at 4/11/2005 12:00:00 AM
hello, Is it possible to read a registry key in ASP, and use the value in an application via a session variable. I'm using II6 on windows server 2003. I'd like to create a key in the registry (under HKLM) and store a value (connection string for example). In the ASP application, read the...more >>

Site Access
Posted by SAB at 4/11/2005 12:00:00 AM
Hi, I am using Windows 2000 server and set number of websites and ftp sites and all seems working just fine. One site had an asp codes like the one below: const MYSITE="http://www.domain.com" The strange things is that it suppose to be like the shown above, but the results comes as an e...more >>

A good, FREE editable grid
Posted by PW at 4/10/2005 10:25:16 PM
Sorry to multi-post, but does anyone know of a good FREE editable data grid for ASP ? (ASP classic, not .NET). ...more >>

VBScript class Q: Self-assignment of an object to a property from within the same class?
Posted by kenfine NO[at]SPAM u.washington.edu at 4/10/2005 5:46:59 PM
This is a semi-advanced question about ASP VBScript 5.0 classes. If you're knowledegable, please lend a hand! VBScript class instances can have properties that have objects assigned to them. Borrowing R.Quinn's example from ASP101: Public Property Get Authors() if not isobject(m_Authors...more >>

THE GREATEST NEWS EVER! °º·._._.·º°`°º·._._.·º°`°º·._._.·º°`°º·._._.·º°`°º·._._.·º°`°º·._._.·º°`°º·._._.·º°`°º·._._.·º°`°º·._._.·º°`°º·._._.·º°`°º·._.
Posted by RonGrossi_38209 NO[at]SPAM yahoo.com at 4/10/2005 2:34:37 PM
The Greatest News Ever! click link http://groups-beta.google.com/group/alt.politics.bush/browse_thread/thread/= 9b420fd9fc320e49/0215b46e845a8553#0215b46e845a8553 =B7._._.=B7=BA=B0`=B0=BA=B7._._.=B7=BA=B0`=B0=BA=B7._._.=B7=BA=B0`=B0=BA=B7= .._._.=B7=BA=B0`=B0=BA=B7._._.=B7=BA=B0`=B0=BA=B7._._....more >>

Nested subroutines
Posted by joe at 4/9/2005 10:43:20 AM
Hello: I am using IIS 5.0, ASP and VBScript. I am puzzled by recurrences of errors when I nest subroutines, and I'd like to know if there are rules for that which I don't know. Would functions work better instead? I am not much of a coder, so forgive my ignorance. ...more >>

Syntax to check on input boxes.
Posted by dhepworth NO[at]SPAM bigfoot.com at 4/9/2005 8:18:11 AM
Hi I am in the process of writing a website which has an access database and uses asp to access it. Part of the site is a search facility. I have heard that it is possible for hackers to gain access to the database by entering SQL in to the search box. First of all is this possible? Secondl...more >>

how to create a dsn by codding?
Posted by padmanaban at 4/9/2005 6:14:27 AM
i need help to create a DSN by asp coding if any one knows pls help me. -- padmanaban ------------------------------------------------------------------------ Posted via http://www.codecomments.com ------------------------------------------------------------------------ ...more >>

Sessions Problem
Posted by Paul at 4/9/2005 1:23:59 AM
Hi all, I seem to been having a problem with sessions. I have a session in the login page Session("UserLevel") = (MM_rsUser.Fields.Item("Accesslevel").Value) which doesn't seem to be visible through out the site. If I use <% Response.Write(Session("UserLevel")) %> on the login page then...more >>

include a file outside the Web path?
Posted by Fabrice at 4/9/2005 12:00:00 AM
Hi, Is it possible to include a file in a web application which is outside the web path (without virtual directory). Language is ASP with IIS6. for example : physical web path application: e:\myapplication. = http:\\www.myweb.net other directory, outside d:\securitypath how to...more >>

Internet Explorer creates temp file from an asp page.
Posted by James_101 at 4/8/2005 5:43:02 PM
My training piece is in Authorware. The user logs in with last name and a four-digit number. Authorware sends this user identifier to an asp page called db_read.asp. This file sends a SQL SELECT command to a Microsoft Access database. The database returns either the record that was selecte...more >>

search engine ASP script - GET vs POST
Posted by Kevin Blount at 4/8/2005 3:02:35 PM
I love Google groups, you can find answers to ALL your questions here.. right? :) I'm building a search script in ASP (not progressed to ASP.NET just yet) and everything works. The problem I was having though was when users move through the different pages of a set of returned results, and th...more >>

convert OleColor into RGB
Posted by Lamberti Fabrizio at 4/8/2005 12:21:54 PM
Hi all. I've got an ActiveX Object that gives me OleColor codes for its graphical components. I need to convert these OleColor codes into RGB codes using JScript or VBScript, becuase I have to using that color inside color style attribute of some HTML components. Anyone can help me ? ...more >>

create an access database using asp+javascript
Posted by fad at 4/8/2005 11:24:09 AM
Thanks for all your help>>> Can you help me if I want to check if this database is exist so I avoid the error that appears when I try to create it another time and also I want to know how to delete this database Thanks >>vary much -- fad ---------------------------------------------...more >>

securing pages without windows login
Posted by Dan August at 4/8/2005 11:04:15 AM
Hi all, Does anyone know of a way to, programmatically with script at the server, reset the current user's security context from the IUSR_ account to a different one? Ideally, what we'd do is anyone who is already logged in as a customer through our ASP page login (setting customer-specific s...more >>

Session Timeout
Posted by Jim at 4/8/2005 7:01:04 AM
The dreaded Session state :-) All, Just to give a little background this is reagarding an ASP 3.0 application running on IIS6 using the default app pool. I have set the session timeout to 540 minutes in IIS (under options tab in Application configuration). There is no code in the Session_O...more >>

JavaScript return values accessible to ASP.NET
Posted by phil at 4/8/2005 2:45:04 AM
Is there an elegant way that I can return a value from a JavaScript function to ASP.NET? I want to have a popup confirmation dialog using JavaScript and only have a button control execute its ASP code if the confirmation is positive. I can associate the JavaScript with the button using the Att...more >>

Triggering Session_OnEnd when user close window
Posted by petterharnes NO[at]SPAM hotmail.com at 4/8/2005 12:22:46 AM
We have a solution where we want to control the number of users logged in at the same time. So when the user log in we check number of currentusers agains allowedusers and increment a currentusers (in the database). On Session_onEnd or when a user logout (actually I abandon the session on l...more >>

Wrong forum perhaps but..
Posted by Bob The ASP Builder at 4/8/2005 12:00:00 AM
Can anobody give me a hint where I sholud start looking for this: I want to make it possible for my sitevisitors to send an SMS to my site that automatically converts it into a database post - accessable thru my regular website. Im thinking of making a set of codes for members that i can convert...more >>


DevelopmentNow Blog