I am using this code to access files and folders:
<%@ Language=VBScript %><%
option explicit
dim sRoot, sDir, sParent, objFSO, objFolder, objFile, objSubFolder, sSize
%>
<META content="Microsoft Visual Studio 6.0" name=GENERATOR><!-- Author: Adrian Forbes -->
<%
sRoot = "D:Raghu"
sDir = Request("Dir")
sDir = sDir & "\"...
How to go from ASP.Net to Classic ASP; I have been assigned to new project which is in Classic ASP and I have never worked on Classic ASP but have exposure to .NET
...
I needed to run a development server for our Classic ASP intranet application on a Windows 7 machine at home, and managed to install it with no problems, except that session data does not seem to store on IE8 browsers, but works fine on other browsers.
If I write a simple script just to see the session ID and see what happens when I ref...
Hi,
I am getting the following error: Invalid authorization specification
I've narrowed down the error to my connection string. I have verified the server name, database, user & password are correct. Here is the string:
"Provider=SQLOLEDB;Server=xxxxx.db.12345.hostedresource.com;Database=foo;UID=fooUser;PWD=fooPW"
The SQL server is...
I have a classic ASP application that I've been constantly trying to modularize. Currently, almost all pages are divided in to two pages:
an outer page that contains the layout, header, sidebar, footer
an inner page that contains ASP code
The outer pages use dreamweaver templates so updating layout and replicating changes is easy. Th...
I've got a production site that has been working for years with a SQL Server 2000 default instance on server named MDWDATA. TCP port 1433 and Named Pipes are enabled there. My goal is to get this web app working with a copy of the database upgraded to SQL Server 2008. I've installed SQL2008 with SP1 on a server called DEVMOJITO and teste...
I'd like to detect a mobile user agent and redirect them when the session starts in a classic ASP app. Does anyone know a good way to pull this off?
...
Setup -- Create a simple COM addin through DOTNET/C# that does nothing but sleep on the current thread for 5 seconds.
namespace ComTest
{
[ComVisible(true)]
[ProgId("ComTester.Tester")]
[Guid("D4D0BF9C-C169-4e5f-B28B-AFA194B29340")]
[ClassInterface(ClassInterfaceType.AutoDual)]
public class Tester
{
[STA...
Is it possible to build some kind of Master page with classic ASP WITHOUT frames or iframes?
I'm thinking if there is a way to include content pages to the main page like in ASP.NET master pages. From what I have researched ASP classic does support include of other ASP/HTML pages on a page, but the value put into this include means the ...
Hi,
I am very new to asp and having following problem
I am getting 2 values from 2 column, from database and when i try to multiply them, its giving following error
Error Type:
(0x80020009)
Exception occurred.
This is my code
totalPrice = totalPrice + rs("ProductQunaity") * rs("ProductPrice")
Even if someone can tell me what shou...
How i can check if user has input null/empty string in classic-asp? Right now i am doing this.
If Request.Form("productId") == "" Then
'my code here
End If
But its not working.
...
Hi,
I have a check out form where number of products can be "n". So how i can know how many input fields are in the form and take input from it?
Thanks
...
i have the value polled from the db and if the user want to change it - i want the calendar to be set first to the date already in the field
im using asp
and this picker
http://www.kelvinluck.com/assets/jquery/datePicker/v2/demo/
...
When you add a link to your Facebook page, after some processing, Facebook presents you a next/prev button to choose an image linked to the url your are inserting.
Obviously, Facebook reads the html-page and displays the images found on the url you insert.
Does anyone knows what algorithm Facebook uses to decide what images to show ?
...
i am using this code to navigate through the folders available on a remote computer.
<%@ Language=VBScript %><%
option explicit
dim sRoot, sDir, sParent, objFSO, objFolder, objFile, objSubFolder, sSize
%>
<META content="Microsoft Visual Studio 6.0" name=GENERATOR><!-- Author: Adrian Forbes -->
<%
sRoot = "\\iflblw-bpd-12\Vercon_IP...
I have a one dimensional array in VBScript that I would like to run through but have the ability to advance by 2,3,4 etc. on each iteration of the loop. In C this would be trivial as...
for (int i = 0; i < 10; i+= 2)
...
Is it possible to implement a hilo generator in classic asp?
How would this be done?
...
Say I have a table like this:
Field1 Field2 Field3 Field4
fred tom fred harry
tom tom
dick harry
harry
and I want to determine what proportion of it has been completed for each field.
I can execute:
SELECT COUNT (Field1) WHERE (Field1 <> '') AS Field1Count
SELECT COUNT (Field2) WHERE (Fi...
I'm working on a Classic ASP (with VB Script) project where I'm instantiating an object from an ActiveX control like so:
Dim objHelper
Set objHelper = Server.CreateObject("HelperLib.HelperObj")
Visual Studio 2005 provides intellisense for the first "layer" of properties and methods, but it can't seem to see properties and methods that...
I can't find anything on how to create a store locator with google maps using classic ASP (not .net). Can anyone help me out with this? I have looked everywhere.
...