set qv = createobject("adodb.recordset")
q ="select * from tbl order by ID"
qv.open q,QuoteConn,3,1,1
qv.movelast
qid=qv("ID")
qv.close
EDIT:
awwww, y'all killed the joke. In year 2009, I am maintaining this piece of code...
...
Hi,
I enabled tracing in IIS7.
I set those properties to true in the ASP tab of the IIS management tool:
appAllowClientDebug,
appAllowDebugging,
errorsToNTLog,
scriptErrorSentToBrowser;
To test it, I wrote a small classic ASP test page in wich I voluntary include a bug (bad activeX name).
My asp test page is rendered until th...
I'm maintaining an old asp classic application.
It uses Response.AppendToLog as its sole debug logging system.
I only debug it on my localhost so the logging files are on my harddrive in the %SystemDrive%\inetpub\logs\LogFiles folder.
I'm looking for a tail-like program that shows these debug messages live.
Maybe with a possibility to ...
I'm having a bit of bother URL encoding a string of UTF-8 encoded text to pass over HTTP. I am using Server.URlEncode in classic ASP (vbscript) to do the encoding on the "é" character.
It produces the following string,
%C3%83%C2%A9
The system I am talking to over HTTP is PHP however and it cannot decode this string. Using a PHP encode...
I have the following code on an ASP page:
<%
QueryToJSON(conn, "execute WebGetEmployeesPlanned'"
+Request.QueryString("customercode")+"',
'"+Request.QueryString("lang")+"',
'"+Request.QueryString("date")+"'").flush
%>
There is no other code on this page except some includes, as I call this page with ajax from another...
Hi,
It is my understanding that for a VB6 COM object when it goes out of scope Class_Terminate is immediately called on the object to allow it to clean up.
Is it possible to have that same functionality for a .NET object that is being called by COM?
The background to the question is based on the MSDN article: http://msdn.microsoft.com...
I have a custom toolbar defined in a config.js file for an FCKeditor. I am not sure how to go about implementing this toolbar in asp. Any help would be great.
...
I am looking for a nice easy step by step "How To" guide for getting a classic asp application working under IIS 7.0.
It is on a 64 bit windows server 2008 machine if that makes any difference.
...
Hi there,
Usually i use SQL Server as database for my project, but one of my project deals with ESRI shapefile that use .dbf format as database (i think it was DBASE III or IV format).
I want to create some web interface for modifying value that already exist on dbf, example was make customer can edit street name if it were incorrect o...
I've installed IIS7 on my workstation and enabled IIS6 compatibility so I can test classic asp pages (for some old projects here at work).
Some pages work, but others don't.
I receive:
Serverobject error 'ASP 0177 : 800401f3'
Server.CreateObject failed
/master.central.be/master_connection.asp, line 55
800401f3
On that line i've g...
I'm using a web service for passing information from a bunch of old .asp pages to a database. Problem is that using httpGet, I need to encode the info so it can be safely passed.
Everything works like a dream, save for the fact that scandinavian letters such as ä ö and å for example come out as squares. Now I don't even know whether thi...
I'm using the Dundas.Mailer component to send e-mails. The user can send e-mails from within the application.
I'm using codepage 1252 for western Europa, as users use french with a lot of accents and such.
The body of the e-mail is just fine, but the subject does not get handled properly, and non standard ascii characters get messed up...
I'm working on some old .asp pages. I mostly do VB development so I'm a newbie to .ASP.
How can I run those pages locally for testing?
I'm running Windows XP Home SP2.
I'm guessing I'll need to install a local server, etc.
...
I am trying to upload files (.doc/.pdf) to a SQL database (2005) but I am really struggling to find any step by step guides.
This is what happens on my ASP form:
User selects a document
Document is currently upload to a temp file and sent to a email address
However it also needs to be stored within a database field.
I have set the ...
I am trying to migrate an old classic asp application to IIS 7.0 with win2k8 and I definately don't want to change the old code if I can help it.
I have set a date format in the Customise Regional Options in the Date formats
in the regional and and language options in the control panel to dd-MMM-yy.
I am still getting Conversion_failed...
Background
I am a bit of a newbie with asp, I worked on a classic asp intranet application in 1999 which I hated, I hated it so much I was convinced that smart clients was the future especially for intranet apps. I am more of a db guy and have a lot of access / sql server databases that I want to expose to the web so when heard about dy...
This is happening in one cookie with keys in one key only.
The value should be "ÅÙÏ‘‹„‰Š„‹".
...
I'm currently rewriting some PHP 4 code to Classic ASP (don't ask) and trying to work out if there's a better way to load a large Map into memory than just hard coding each pair in.
To give you an idea, there's around 300 unique key value pairs in the hashed array definition (or whatever it's called) in the PHP.
I'm tempted to just do t...
A developer posts their code from a staging site (which requires authentication) to the live public site (which should not) and suddenly the live site is requiring authentication (which is not good).
They don't have permissions to change any settings on the server(s) and there is no call from the code on the live site to anything on the...