If I have the following jscript code on a classic asp page, how do I supply the "eventArgs e" in the call so it will be available here in the jscript? The "eventArgs e" being an asp.net term, I am not sure what is used here.
response.write "<script type='text/javascript'>"
response.write "function onFormSubmit(e)"
response.write "{ va...
I am trying to achieve this but this is not working. I am sure i am missing something, please help me where i am wrong. I hope this is achievable. We should able to pass a string from ASP Page (using vbscript) to c# dll ( have this dll stored in gac and i have already registered it using regasm utility).
Below is my code:
Function GetO...
After exploring several different ways to pass web data to a database for update purposes, I'm wondering if XML might be a good strategy. The database is currently SQL 2000. In a few months it will move to SQL 2005 and I will be able to change things if needed, but I need a SQL 2000 solution now.
First of all, the database in question u...
Hi,
I have been trying for days to find a way to get the image width of .png files which reside on our server. I am trying to read the first 24 bytes of the file and parse out the width from bytes 17-20. I have found several routines on the web but have not been successful. Strangely enough, it seems I am getting the height from byte...
Hi all,
I've inherited a Classic ASP application that requires some maintenance.
What's the most up to date/capable IDE and Operation System that I can use to perform this maintenance?
I'll be setting up the Env in a VM - so won't be tied to it full time. Hopefully there's something newer than Visual Interdev for me to use. Ideally I...
I have a function TRANSLATE which reads value from the xml file based on a key. I wanna put
"http://www.google.com?search=" in the xml file and read it based on the key(SEARCHER)
I am confused in framing the link when it comes in Response.Write
<%Dim SearchQuery1
SearchQuery1="New"
Dim SearchQuery2
SearchQuery2=30
Response.Write("<...
I'm trying to access a soap webservice via classic asp over https but i get the following error.
MSXML3.DLL error '800c000e'
A security problem occurred.
mycode:
Function GetASPNetResources()
Dim returnString
Dim myXML
Dim objRequest
Dim objXMLDoc
Dim strXmlToSend
Dim webserviceurl
Dim webserviceSOAPActionNameS...
Sometimes users mistakenly redirected to ?Process=ViewImages&PAGEID=. When this happens, they get the following error.
Microsoft VBScript runtime error '800a000d'
Type mismatch: '[string: ""]'
/FLPM/cp/images.cs.asp, line 91
I tried to fix it with the following codes but still get the same error.
PAGEID = Request.QueryString("PAGE...
I am trying to take data to one page from another. The problem is here is, data may be too long and divided into multiple pages. When the user clicks on 1, 2, 3, ... links he is redirected to the other page. However, I want data to be reloaded on the same page. With SLaks's suggestions I came up with the following code but it is not work...
I have a classic asp page which allows a user to upload a file. I can retrieve the binary content of the file (verified this matches the original file exactly) but then I need to pass the data to a COM Visible .Net assembly. The data is marshaled across as a string object but when I decode it using the Unicode encoding there is some data...
What is more efficient - handling with case statements in sql or handling the same data using if statements in code. I'm asking because my colleague has a huge query that has many case statements. I advised her to take stress off of the DB by coding the case statements. I've found that it is more efficient...but why?
...
I am hosting an asp application on iis7, which give error 500 when i click on a button which calls an action asp.
Please let me know how to solve this?
is there any workaround this???
...
I'm trying to get a high-level understanding of ASP.Net MVC, and it has started to occur to me that it looks a lot like the original ASP script. Back in the day, we were organizing our "model"/business logic code into VBScript classes, or into VB COM components.
Of course, now we have the additional power of c# and the .net framewor...
I tried to control email address and reviewer's name with the following code but I received this error.
Microsoft VBScript runtime error '800a0005'
Invalid procedure call or argument: 'Mid'
Cant I compare Mid(REVIEWEREMAIL, InStr(1, REVIEWEREMAIL, "@", 1), 1) to "@"?
If Len(REVIEWERNAME) < 2 Then
with response
.write "Erro...
When my member registration form correctly filled in and submitted, server responds with redirect link. But my ajax does not redirect the website. I do not receive any errors, where is my mistake?
<script type="text/javascript">
$(document).ready(function() {
$("[name='submit']").click(function() {
$.ajax({
type: "POST",
...
I was wondering if its possible to add custom header with classic asp. In other words, I am looking for classic asp equivalent of .net's Response.AddHeader().
i.e.
HttpContext.Response.AddHeader("customheadertruefalse","1");
...
I request a website header, however, there is not Last-Modified info in this http header. I wanna creat a site map and get each file's date on the server. Don't understand why there is not this info for some websites. How did some softwares, such as Xenu, get the file's date.
...
There is a page on our server that's reachable via two different URLs.
http://www.spotlight.com/6213-5613-0721
http://www.spotlight.com/interactive/cv/1/M103546.html
There's classic ASP behind the scenes, and both of those URLs actually do a Server.Transfer to the same underlying ASP page.
The accents in the name at the top of the pa...
I see a lot of complete for gvim such as php, c , css, but I can't find any complete form aspvbs
...
I get "The ORDER BY clause is invalid in views, inline functions, derived tables, subqueries, and common table expressions, unless TOP or FOR XML is also specified." error with the following code. I initially had two tables, ADSAREAS & CATEGORIES. I started receiving this error when I removed CATEGORIES table.
Select Case SIDX
...