I'm putting together a list of function names for a function which would return back a localized string for a website I am working on. I'm still undecided what would be a good name for this function. My two goals are two try and make it as short as possible as I will have to replace tons of hardcoded text embedded in HTML but make it i...
I am working on a code base which as VBScript code embedded in HTML. I've noticed the following two different tags around said lines of code
<%= MyFunc(val1) %>
and
<% MyFunc(val1) %>
What is the difference in using the "=" character at the beginning of these sections?
...
I'll admit, I am pretty new with ASP .NET programming and I have been asked to take all our gateway pages (written in classic ASP) and make one universal gateway page to the few C# .NET applications we have (that I wrote). I tried searching here and the web and couldn't find much of anything describing a great way to do this and figured ...
I have downloaded the Flot library and have been having a play around.
I understand how the Flot library works and how to draw simple graphs. The bit I am struggling with is pulling data from a DB and passing that into a Flot Graph so that the graph then becomes dynamic depending on the data retrieved.
I believe you can pass data from...
I have a small problem. I am busy trying to get messages from a classic asp website to twitter, but I can only find examples of how to do this using php and all other kinds of different languages except for classic asp. Is there anyone here that knows how to get it to work?
I have been looking on the net for over 2 hours and found nothin...
Hi,
I am using an Inline SQL statement Select * from table where column='' in classic asp application. This is a dynamic sql. Based on the return values in the recordset I am displaying some fields like checkboxes and text boxes. But this is working only if I put a breakpoint in specific / anywhere in the code file. while the code is ru...
We have extended a legacy app, however the existing login and user management mechanism doesnt seem to work with the new module.
Our module keeps causing the user to be logged out, when they navigate back to the existing application.
We've removed all pages which might force the session to be expired.
We have no code related to user ...
HTML is stored in the DB. £ sign is stored as £ and renders correctly in 1252 however when I change the page encoding to utf-8 renders incorrectly ?
I know its a simple issue.. ?
...
I have an asp-based website which I would like to add spell checking capabilities to the textarea elements on the page. Most of the pages are generated from an engine, though I can add JavaScript to them. So my preferred solution is a JavaScript-based one. I have tried JavaScriptSpellCheck and it works okay, though I would like to see...
I am getting Out of Memory errors in classic ASP, probably where attempting to access data. For example:
Microsoft VBScript compilation error '800a03e9'
Out of memory
(some file) Line 0
These errors only happen once in a while and they keep happening for a few minutes and then the webserver must be restarting the app pool because al...
Okay, this is the problem:
I am getting this error message when I am trying to run the following script
Dim rg
Dim match
Set rg = New RegExp
rg.Pattern = "Mod Read Access"
rg.Global = True
roles = Session("Roles")
Set match = rg.Test(roles)
it chokes at the rg.Test(roles) point.
I suspect that I may be doing something wrong sinc...
Hi, im moving a Dll (built in c++) from windows 2000 server to a 2008 server but im have some trouble to register it. In 2000 all you normaly have to do is a "regsrv32 name.dll" but this will not work in 2008 because you get a pointer error, iv also tried to use "gacutil /i name.dll" because someone told me this might work, but it didnt....
I'm rounding up my decimal values to integer values
ex:
I have 5 numbers whose % sum should end up being 100% but i get 101% my values are
11.11111, 80.55555, 5.55555, 2.77777
and on rounding them i get
11, 81, 6, 3 => 101
In above for example 5.555556 rounds up to 6 (correct value) but is screwing up my total for percentage wh...
In my real application, I have a VB6 DLL which is called from classic ASP pages. The application calls a non-standard database.
I want to have a connection pool class which will stay alive permenantly. I set the compilation flags to keep the DLL in memory but despite that, the pool is periodically destroyed.
I’ve already tried changin...
Hi and thanks for your help,
I am trying to select a radio button based on an ASP variable. This variable directly correlates to the value field of the radio button.
Any ideas guys/gals?
Thanks,
Will
...
Ok so I am trying to pass some string variables from a classic ASP page to an MSSQL2000 db thusly:
strSQL = "exec UpdateEvent " & xID & ",'" & xEventID & "'," & xEventDisplayName & "," & xEventType & "," & xEventStatus & "," & xStartDate & "," & xEndDate & "," & xSurveyTemplateID & ""
Yet I end up with the error (including writing out...
I'm trying to create and use a .NET StreamWriter object inside a classic ASP page (VBScript). Normally I would create the object like this:
Dim writer
Set writer = Server.CreateObject("System.IO.StreamWriter")
However, the constructor for StreamWriter takes a Stream object as a parameter, and the call to CreateObject fails. Even if I...
Hi,
The situation:
I have 2 webpages with 2 domains (backoffice.myurl.com & www.myurl.com).
The backoffice is written in classic asp, the frontend in asp.net 3.5 (vb.net)
When I hit a button in the backoffice, I want to set a cookie on the frontend.
I do this by calling a page on the frontend via Microsoft.XMLHTTP
Dim GetConnection
S...
Recently I had to get an old ASP application working in IIS 7.5 on a W2K8 server. Almost everything works fine, except that I can't seem to get it to accept uploads larger than ~200kB. I did find a setting, that from what I can understand should to the trick, in the applicationHost.config, I set the max request size to 100 MB like this:
...
My application consists of a VB6 DLL that is called from ASP. It needs to manage a pool of connections to a (non-standard) database. I implemented this by using a global variable, but this is being reset every 20 minutes due to an ASP setting causing the application to crash.
A previous poster said that DLLs in ASP are all created in th...