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 2007

Filter by week: 1 2 3 4 5

How to make ASP automatically print to a certain printer or all printers
Posted by itfetish NO[at]SPAM gmail.com at 4/30/2007 6:44:16 PM
I have made an electronic sign out book for my office in ASP using VBScript. Problem is, when there is a fire we need to check who is out and who is burning. I have been trying to think of how to go about this, perhaps the only way is by having an 'emergency print' button that quickly prints ...more >>


wierd error message in asp page
Posted by c676228 at 4/30/2007 1:38:00 PM
Hi all, I have a page when run in browser(firefox), it has some error message from from javascript console. It says Error: Expected ':' but found ';'. Declaration dropped. Source File: https://www.xxx.com/select2007_step1.asp Line: 0 Bu the first 10 line of code are: <% pStr = "privat...more >>

CDO.MESSAGE
Posted by rn5a NO[at]SPAM rediffmail.com at 4/30/2007 11:43:51 AM
I am trying to send mails through ASP using CDO.MESSAGE but I don't know why I am always getting the following error message: Cannot modify or delete an object that was added using the COM+ Admin SDK. This is the code: <% Dim strMsg,sch,cdoConfig,cdoMessage strMsg="Hello how a...more >>

Simple ASP MYSQL question
Posted by Lawrence at 4/30/2007 7:56:31 AM
Hey I have successfully been able to read from a MYSQL database using this: set rs = conn.Execute("SELECT Password FROM UserTable WHERE Username = '" & entuser & "' AND Password = '" & entpass & "'") Do while not rs.eof ' Do until it reaches end of db actualpass = rs("Password") rs.Move...more >>

Create Object in VBScript
Posted by Michael at 4/30/2007 12:00:00 AM
Hi. I have COM+ component installed on my XP. I have problem to create instance of it inside vbscript. How can I do it? The error I get is : ActiveX component can't create object. Thanks ...more >>

Viewing File
Posted by dhenderson NO[at]SPAM odysseylearn.com at 4/29/2007 4:58:05 PM
Hi - I inherited a site - www.highparkclub.com/curling.asp If you look at any of the schedules - and you don't have excel installed it gives you the option to view or save the file. For Mac users - this causes even more problems, as the link does not work at all. Is there a simple way to ...more >>

Verififying Image Characters
Posted by rn5a NO[at]SPAM rediffmail.com at 4/29/2007 12:10:00 AM
Nowadays, while registering at a site, an image with alphanumeric characters is displayed to users who are asked to enter those alphanumeric characters in a textbox to avoid automated registration. Are such images generated dynamically? Or is it something like the sites have thousands & thousa...more >>

CDONTS & Unable to bind to the destination server in DNS
Posted by Sin Precedente at 4/27/2007 3:30:09 PM
I have a win2k server with multiple domains on it many of which have a generic contact us page with a form that when submitted calls an .asp page that utilizes CDONTS. These pages have worked extremely well in the past until a couple days ago when all of a sudden every time that page is called ...more >>



DB Record As Comma Delimited String
Posted by rn5a NO[at]SPAM rediffmail.com at 4/27/2007 8:19:27 AM
A MS_Access DB table has 3 columns - ID, UID & Location. ID is an AutoNumber column, UID is a foreign key (the primary key UID column resides in another table). Each UID can have multiple entries under the Location column something like this: --------------------------- UID Location ----...more >>

How Can I Run Scripts to Get Client Info?
Posted by vunet.us NO[at]SPAM gmail.com at 4/27/2007 7:39:24 AM
Hi, My web application needs to retrieve some client's info, such as MAC address, IP, OS, etc. Java Applet does it well (with one time security warning). But if Java is not installed, I am unable to run applet. So, I need to find the equivalent in, perhaps, VBScript. The question is: how can I...more >>

Hide code in a pure ASP application
Posted by Gianp at 4/27/2007 7:24:01 AM
Hi at all. I have an old pure ASP application. Is possible to build a old ASP application in order to give to final user an application that hide its code? If not, how i do to reach this goal? Tanks, Gianp. ...more >>

Multiple Select List
Posted by rn5a NO[at]SPAM rediffmail.com at 4/26/2007 6:15:43 PM
A Form has 2 select lists. The 1st one whose size is 5 (meaning 5 options are shown at any given time) allows multiple selection whereas the 2nd one allows only 1 option to be selected at a time. When an option is selected in the 2nd select list, the ASP page posts itself. Assume that the 1st ...more >>

Concatenating Data Items
Posted by OutdoorGuy at 4/26/2007 2:38:37 PM
Greetings, I have the following code in an .aspx web page and am receiving the error: "Compiler Error Message: CS1026: ) expected". I can't see where it is expecting an extra parenthesis. The line of code it fails on is the following: <asp:Label id=lblName runat="server" Text='<%# DataBi...more >>

Regular Expression help
Posted by Rob at 4/26/2007 12:26:19 PM
Hi, I need to convert our word documents to html for our website. I've used MS Word's "Save as HTML" feature and ran "Microsoft Office HTML Filtrer 2.0" to clean up the code but I am stuck with a lot of additional code and I want to write a script that will do a custom cleanup. The Word docum...more >>

best timing for clean the session variables
Posted by c676228 at 4/26/2007 11:24:01 AM
Hi all, I usually clean the session when the result page is presented to the user. At this time, say an email confirmation was sent to the user and a pdf file they can becdownloaded from the result page. But if the user click the refresh or back button etc. for some reasons, they pdf file is...more >>

asp datatypes converted to JSON
Posted by michal at 4/26/2007 9:30:49 AM
hi guys, i thought you might be interested in a nice JSON class which converts ASP datatypes (basic datatypes, dictionaries, recordsets, ...) into JSON so that javascript can easily understand it ... you'll find the demonstration and the download here http://fabiankoehler.de/wdb/2007/04/26/gene...more >>

Return an Array that contains only the diffrent items from 2 arrays
Posted by Erv at 4/26/2007 8:42:18 AM
<% ' Return item that are NOT duplicated in either array function ShowDiff(array1, array2) dim d, item, thekeys, build_arr ' Build Array - a command that will be Execute build_arr = "anArray = ARRAY(" ' Loop through the first array, add to output for x = lbound(array1) to ubound(arra...more >>

asp time function
Posted by munusoni NO[at]SPAM yahoo.com at 4/26/2007 8:21:55 AM
hi, i wanna know is ther any function in ASP that i can use to masure the time like stop watch or something.As if i want whenever client opens my page it will show to him for 20min.If anybody knows any function that i can use please tell me. ...more >>

Update and Delete
Posted by Brett_A at 4/26/2007 6:07:33 AM
Any reason why this code doesn't work? It doesn't generate any errors but it doesn't update the data. <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <% on error resume next 'request variables report_id = Request.querystring ("report_id") ad_id = Request.querystring ("ad_id") report_count = ...more >>

Simple if...else asp/html question
Posted by Lawrence at 4/26/2007 4:11:45 AM
Hi I have only begun to look into ASP due to an assignments requirements (I usually code in PHP), one feature in PHP is to be able to do an if...else statement, where if a certain statement is true then a chunk of HTML can be outputted... Basically I want to be able to do this in ASP to use...more >>

Javascript question
Posted by Man-wai Chang at 4/26/2007 12:00:00 AM
I have a form formABC that has a textbox plus a button. On clicking the button, window.open() a popup window for user to select a value. The value will then be passed back to formABC's textbox. Now I want formABC to submit itself *AFTER* the textbox got a value. How could I do it? -- ...more >>

Execute program and redirect
Posted by Christian Schmelzer at 4/26/2007 12:00:00 AM
Hello, I'm not very familar with ASP, normally I'm using PHP. I am looking for a small script which: - executes a program on the server with given request parameters - waits until the program finishes - sends a http redirect header I know how to do it with PHP but the server supports ASP...more >>

unable to load msvcm80.dll webservice
Posted by Smart Software at 4/26/2007 12:00:00 AM
I have a webservice and iis webserver if i open de asmx file i get errors saying Unable to load DLL 'msvcm80d.dll' i added the modules to the path directories and the directorie containing my webservice.dll file still get the same error. any help would be appreiated. N. Karademir ...more >>

Forgotten Password script
Posted by Andrew Murray at 4/26/2007 12:00:00 AM
I'm a novice at coding and cannot get the script below to work I'm receiving an Error 500 in the web browser when trying to run this script. The site is www.murraywebs.com and the link is 'Retrieve Password' under the logon form. the idea is to submit an email address and the password is e...more >>

gzip and binarysend
Posted by .nLL at 4/25/2007 5:25:53 PM
hi. i have recently enabled gzip compression on my server and it works fine. but i have noticed something wierd. To protect my self from hotlinking i use a simple code to send my download with binarysend method. here is the code for an image download. Set objStream = Server.CreateObject("AD...more >>

atomic transaction
Posted by c676228 at 4/25/2007 5:18:02 PM
Hi all, In asp.net, there is an object sqltransaction we can use to garantee the data will be written to database either completely or none will be written into database. I am not sure if there is a similar thing I can use in classical asp. Can you provide some info? Thanks -- Betty...more >>

post xml data back to external resouces in B2B solution
Posted by c676228 at 4/25/2007 5:14:03 PM
Hi all, When an external resouce programmatically post the XML document as content of http post request, and at server-side, I can read the XML data from http request's body. Just like this example provided by Steven Chen: #Happy Days Are Here Again: Posting XML to the Server http://m...more >>

Create Rss feed from data in database
Posted by Billy Barth at 4/25/2007 4:10:52 PM
I would like to create a RSS feed from my Access Database. I have an Access table for news which has the article title, date, and story in it. What I would like to do is pull the data from there into an xml file to create the RSS feed, so when users upload a news story it automatically update...more >>

share session data between asp and asp.net
Posted by Nayana Thara at 4/25/2007 4:23:10 AM
We have a web site where we have asp and asp.net. how can we share session data b/w the two environments. ...more >>

share session data between asp and asp.net
Posted by Nayana Thara at 4/25/2007 4:22:57 AM
We have a web site where we have asp and asp.net. how can we share session data b/w the two environments. ...more >>

Data mining?
Posted by Tom at 4/25/2007 1:31:53 AM
Hi all, I wonder if anyone can give me some help here. I have permission from a colleage to use some data from his website, now I need to take the data and intermingle some of the information with data from my database. I only have access to the HTML of the external site, there's no XML fee...more >>

Tool for converting Access Queries & Forms to ASP for Web ?
Posted by MyEmailList NO[at]SPAM gmail.com at 4/24/2007 1:32:47 PM
We have an Access data base with severl tables, queries and forms. We want to put it on the web. Is there a tool that will convert the Access queries and forms to ASP? Sorta like "splitting" the database... but instead of an Access Front End... have an ASP front end? Thanks for any help...more >>

using recordset object through session object
Posted by munusoni NO[at]SPAM yahoo.com at 4/24/2007 6:06:35 AM
Hi everyone, i am using ASP 3.0 to create web pages for a college project and i am having problems in using recordset object through session object to pass data to all web pages.Anyone tell me how to make recordset and connection objects sessional.please i have a project to finish. thanks in ad...more >>

asp file upload question
Posted by will.smothers NO[at]SPAM gmail.com at 4/24/2007 4:51:53 AM
All, I have two Windows Server 2003 boxes running IIS 6.0 webservers that host our proxy pac file. These two servers are behind a network load- balancer and house our corporation's Proxy PAC file. I am working on developing an ASP-based file upload solution for our Proxy team so that when they ...more >>

Recordset paging headache .....
Posted by David at 4/24/2007 2:52:11 AM
Hi, I have always wanted to get the following working, but have never yet mastered it :-( I have an asp page which displays a list of records depending on what was selected via another form. I want to have these results broken down, displaying only 10 records, with links underneath to dis...more >>

error handling - rolling back changes
Posted by brendan.wong NO[at]SPAM gmail.com at 4/23/2007 9:49:42 PM
hello. i'm trying to incorporate error handling into my application, but i've run into a dilemma. i've already performed 10 successful INSERTS, but on the 11th INSERT, the application fails for some reason (say for example, i tried to perform an INSERT into a table that doesn't exist). logic...more >>

ASP Double click in buttons designed in dream weaver
Posted by Erik Adas at 4/23/2007 2:52:03 PM
Somebody can help me with the next problem. In an application with ASP pages and SQL Server 2000, there are buttons developed with dream weaver, in customer instalations those buttons work with double click and open the respective page, in our instalations, the same application, the same bu...more >>

Dynamically Creating repeating tables with ASP and CSS
Posted by marijuanated NO[at]SPAM gmail.com at 4/23/2007 8:39:02 AM
Hi All, I am generating a series of tables in CSS. The tables should repeat themselves for a number of times governed by a counter that is calculated at runtime by the ASP code. The problem is that I have used top margins to position the tables in the ASP page. So the tables when repeated s...more >>

asp page that query Exchange ldap attributes (Error 70 with External account)
Posted by ouistyty NO[at]SPAM gmail.com at 4/23/2007 7:59:11 AM
Hi We have a simple asp page that query LDAP attribrute. Everithing is working fine using a native domain account. but when using an external account we have an error 70, acces denie. Here's some basic info on our structure. - Domain/Forest A with Exchange - Domain/Forest B with external ...more >>

AJAX
Posted by vinodkus NO[at]SPAM gmail.com at 4/23/2007 12:53:50 AM
hello Friend I dont know more about AJAX. Just I wan to know if I want to use AJAX. What I have require to install it. Can i use it with ASP? ...more >>

Dim inside Select case executes in any case?
Posted by aa at 4/23/2007 12:00:00 AM
Code like this ======================= Select case q Case "a" Dim arr(5) Case "b" Dim arr(2) end select ===================== returns an error saying variable arr redefined. Should it be like that or an I using Select incorrectly? Perhaps...more >>

inserting a footer at a regular inteval
Posted by aa at 4/23/2007 12:00:00 AM
If I have a set of documents on a letterhead with a header and footer and I want them in HTML look as they look on the paper - i.e. if a document is longer then one printed page, the footer and then the header are inserted - how do I do it in ASP? I.e. is there a way to monitor page length d...more >>

VB ASP and SQL
Posted by Joe at 4/22/2007 1:28:55 PM
Hi, I am converting a VB .ASP using an Access Databese program to a VB .ASP using a SQL database, I am almost done There is one problem, I have a field which is a ntext (memo field in Access) that won't display in a HTML table: "<td><font size="2"><%=MRMTitle%></font></td>" It will...more >>

LIMIT REGISTRATION
Posted by new2asp at 4/21/2007 9:30:55 PM
I am new to ASP, and I am trying to figure out how to create a registration form that can limit that amount of people who are signing up for an event. The form has to take in consideration the number of guests the attendee is bringing table seating location. How can interact with the database in...more >>

Parse elements in XML feed
Posted by glbdev NO[at]SPAM gmail.com at 4/21/2007 2:56:19 PM
I need to pull items out of an XML feed. Here is an example of the XML file: - <TopNode> - <XmlFeed> - <GetListInCategory> - <Data Count="937"> - <Table> <EventID>567343</EventID> <Event>NHL playoffs</Event> <Date>2007-04-21T00:00:00.0000000-05:00</Date> <Time>10:00 PM</Time> ...more >>

ASP Not working
Posted by Paul W Smith at 4/21/2007 12:06:52 AM
I have a laptop running XP Pro (SP2). IIS is installed, but when I am using Frontpage I cannot get the ASP pages to run on localhost. Anyone any instructions on problems solving where my problem is? PWS ...more >>

can i run asp in iis 6 with asp.net dll ?
Posted by keyser soze at 4/20/2007 3:30:58 PM
hi i have 2 sites running on w2000 ad server on IIS 5 can i run the sites "as is" on w2003 server on IIS 6 with asp.net dll ....or because the programming style do i need asp.net dll i have this question because some messages of IIS 6 alerts about "security risks" on classic "asp" pages ...more >>

Bill
Posted by Bill at 4/20/2007 3:18:54 PM

post to newsgroup
Posted by vinodkus NO[at]SPAM gmail.com at 4/20/2007 1:28:13 AM
How can I post to newsgroup for quicker response ...more >>

Parse a string from field CORRECT EMAIL
Posted by Dan Somdahl at 4/19/2007 1:38:10 PM
Hi, I am new to ASP but have what should be a fairly simple task that I can't figure out. I need to parse a string from a single, semi-colon delimited, 60 character field (el_text) in a recordset and display the results in a table on a webpage (ASP) I can retrieve the recordset from the datab...more >>


DevelopmentNow Blog