asp-classic

option value from drop down list in classic asp

option value from drop down list in classic asp
Need helpI have following code with classic asp<select name="state" id="state"> <option value="NJ">New Jersey</option> </select>Now i want just "NJ" not "New Jersey" while entering

Retrieve string array from COM object using Classic ASP

Retrieve string array from COM object using Classic ASP
I have a .NET class which holds a simple array of strings available via an accessor method, which looks like this;namespace Foo.Bar { [ComVisible(true)] [Guid("642279A0-85D4-4c7a-AEF5-A9FAA4BE85E5")] public class MyClass { private string[] _myAr

Problems with 32-bit ActiveX DLL on 64-bit OS

Problems with 32-bit ActiveX DLL on 64-bit OS
I'm trying to move a classing ASP site to a 64-bit Windows 2008 server. The problem I have right now (there may be others if/when I get past this one) is that the site depends on an old VB6 DLL (32-bit), and I get the notorious "ActiveX component can

VBScript get MIcroseconds

VBScript get MIcroseconds
Does anyone knows how to get microsecond value in VBScript (Classic ASP) without using SQL QueriesI am still unabled to get micro precision but i can get milliseconds precision by using JSCRIPT<script language=jscript runat=server> function miliseco

FSO OpenTextFile with french characters

FSO OpenTextFile with french characters
Using ASP's file system object (FSO), I'm trying to read a txt file withOpenTextFilethat contains French characters (e and a with accents for e.g). Those characters come out wrong.I tried specifying theformattoTristateTrueto open the file as Unicode

Classic ASP 3.0 Create Array from a Recordset

Classic ASP 3.0 Create Array from a Recordset
I'm trying to fix an ASP Classic app and when I try to create an array from a Recordset Object. However I Can't get it to work correctly.This code gives me a single record (the last one), but as far as I can see it is correct:Dim Products Dim Product

why 500 Internal Server Error occurs? [closed]

why 500 Internal Server Error occurs? [closed]
Hi All,Actually I have a web application build using classic asp and vb script, along with MS-Access 2003 hosted on IIS 6.0. It is running fine.Now I have shifted it to on IIS 7.0 and database MS-Access 2003 to 2010.The Login Page is running fine, an

Issue with XML / SelectNodes using ASP VBScript

Issue with XML / SelectNodes using ASP VBScript
Got an issue displaying information from XML. I think it has something to do with selecting the correct Node (Company Name). Need a fresh opinion... got a feeling I am probably overlooking something really simple. Code as followsXML<GovTalkMessage>

IIS Express overly caching classic ASP pages

IIS Express overly caching classic ASP pages
I have this randomly occurring problem where IIS Express does not recognize when I make a change to an ASP page. It serves up the previous version of the page instead.I can work around this problem by re-editing the page, making a small change, then

Can we create threads in classic ASP?

Can we create threads in classic ASP?
My simple question is Can we create threads in classic ASP? If yes then HOW ?Please Help.There are not native methods in VBScript that allow you to spawn new threads. On the other hand you could call COM components written in some other language such

ASP Excel.Application objExcel.Range(“range”) freezing

ASP Excel.Application objExcel.Range(“range”) freezing
Whenever I use this code,Set oExcel = CreateObject("Excel.Application") Set oWorkbook = oExcel.Workbooks.Open(sPathToTemplate) oExcel.Range("shipping_name").Value = strShippingName oWorkbook.Close() Set oWorkbook = Nothing Set oExcel =

What is the difference between Dim and Public in Classic ASP?

What is the difference between Dim and Public in Classic ASP?
A question about scope was raised today and it got me thinking.I've always understood VBScript scope and how to declare Globally and Locally. It occurred to me though that I never usePublicvariables but tend to useDiminstead when declaring Globally.A

How to implement Website security based on client hardware or other solution?

How to implement Website security based on client hardware or other solution?
I have two websites (one asp classic and the other asp.net) which we would like to implement some kind of security based on the client's hardware. We want something other than a password which could be shared. The purpose is to be sure access to info

Writing JavaScript in ASP classic [closed]

Writing JavaScript in ASP classic [closed]
Is it possible (and how if so) to write JavaScript code directly into an ASP classic file?I want to create validation functions inside an ASP classic file.ASP is a tecnology, NOT a lenguage. You can write your ASP pages in any language which is regis

Cannot get classic ASP parameterized queries working when using Symmetric key encryption

Cannot get classic ASP parameterized queries working when using Symmetric key encryption
I have the key and certificate setup ok on the database and I can encrypt ok when entering queries directly using HeidiSQL. But the problem I am having is getting this to work using classic asp. I have setup a simple table for testing which contains

Event Capture in classic ASP (vbscript) - is this possible?

Event Capture in classic ASP (vbscript) - is this possible?
We have just purchased some software that provides an API into our phone system allowing us to dial, hangup etc.. The API was designed to be used client side (internet explorer / activex). We want to use this server side and execute the dial commands

Day/Month/Year date changed to Month/Day/Year in SQL

Day/Month/Year date changed to Month/Day/Year in SQL
i have an old Classic ASP application that was worked perfectly, recently it was moved to window server 2012 server with IIS 8.5 , the problem is that I have a form to add record with Day/Month/Year format, when the date entered as 23/06/2015 in SQL

IIS 7 to return Classic ASP as HTML

IIS 7 to return Classic ASP as HTML
I need IIS 7 to return a classic ASP request as basic text/html. This is for an internal application that will request the pages through ajax. The ASP code contains errors beyond the scope of this project, and prevents the request. I simply want to r

Classic ASP page without any HTML but only VBScript code

Classic ASP page without any HTML but only VBScript code
Is it ok and possible to have a classic ASP page that only contains VBScript server-side code with zero HTML?Yes. Not much else to say really, outputting HTML (or anything else) is entirely optional just as it is with most server side languages.Yes,

Classic asp null becomes DBNull.Value on COM call

Classic asp null becomes DBNull.Value on COM call
We have a big project of legacy classic ASP code, mostly in jscript Some of functionality was moved to .NET and called via COM from classic ASPI have just found out that js null from classic ASP is passed as DBNull.Value to .NET code.How do I pass "r
What Others Are Reading