Hello, I have recently discovered batch Photoshop actions. They have literally changed my life.
However, I have a connundrum, there is one action that I do not know yet how to automate.
I have a large collection of images. None of the images are square shaped, they are all rectangular.
It...
Hello, I have extensive experience building Classic ASP websites and uploading them to a Server via FTP.
I am now looking to host my own website on my newly purchased machine (Windows Server 2012).
I know how to host a normal static website. You install Web Deploy, create the website in IIS...
Hello.
I have a booking form on my website (fake example below).
http://mywebsite.com/booking-page4.asp
When the booking form reaches page 4, the values are saved into a Session using the following:
Session("Variable1") = Request.Form ("Variable1")
Session.Timeout = 60
The customer then...
We have an 'off the shelf' Windows Application.
I'm using Classic ASP to post an XML string to my database and trying to induce a line break (to be seen in the Windows Application itself).
<%@ language="vbscript" codepage="65001"%>
stringXML = "<?xml version=""1.0"" encoding=""UTF-8""?>"...
Can somebody please tell me the best way to round up a number like so:
79 > 80
42 > 45
31 > 35
146 > 150
etc
My numeric value is held in a variable called MyVar.
Thanks
Hello I'm trying to check whether a given date is within the UK classifcation of Daylight Saving Time.
I have a function that was written in VBA and I need to convert it to VBScipt to use on my .asp page.
I basically have a date/time value in the following format: YYYY-MM-DDTHH:MM:SS
I need...
I need a function to check whether a given date falls within British Summer Time or Greenwich Mean Time.
For example:
24/10/2015 is the last day of British Summer Time
25/10/2015 is the first day of Greenwich Mean Time
In a perfect world, my function would look something like this:
MyDate =...
Hello, I have a date
dd/mm/yyyy
I need to convert it to standard XSD format:
yyyy-mm-dd
So:
01/12/2016 needs to become 2016-12-01
Have no idea how to change the order of characters in a string.
Thanks
Hello, I'm able to receive and display my XML message using the following (in my .asp file):
Response.ContentType = "text/xml"
Response.Write(httpRequest.ResponseText)
The message arrives in normal XML format:
<ChargeList>
<Charge>
<Name>Fare</Name>
<Currency>GBP</Currency>...
<%
var1="w1"
var2="e5"
if var1="w1" or var1="w2" or var1="w3" or var1="w4" or var1="w5" and var2="w1" or var2="w2" or var2="w3" or var2="w4" or var2="w5" then
response.write ("true")
else
response.write ("false")
end if
%>
I only want to display true if var1 is w1 or w2 or w3 or w4 or w5...
I have a variable which may or may not contain a , (comma).
If it does contain a comma it will always be in the centre of the two parts (without spaces)
I would like to do the following:
If Variable contains "," Then
Split variable into two parts
Before comma is NewVar1
After comma is NewVar2...
Hello all.
I have a formula that calculates a price based on the number of miles.
Here is the formula:
For the first 1 mile - charge £19 flat rate
For the next 29 miles - charge £1.50 for every 1 mile
For the next 20 miles - charge £1.25 for every 1 mile
For the rest - charge £1.00 for every...
Hello. On my website I receive an array of payment data.
The following code:
For Each queryStringItem in queryStringData
Response.Write queryStringItem
Response.Write "<br />"
Next
Produces the following (fake payment info):
VendorTxCode=83029
VPSTxId={20CED47D}
Status=OK...
I have some code which displays various HTML elements if certain conditions are met.
At the moment, if my SQL statements are met, the page will display SHOW PRICES.
If my SQL statements are not met, the page will display NO PRICES.
This all works fine, however I'm having a problem.
If my SQL...
I have a database that contains UK postcodes and prices. Each postcode record has a matching price (see below):
W1 £45.00
W2 £48.00
W3 £54.00
SW5 £48.00
SW1 £34.00
SW11 £45.00
You may or may not know, but UK postcodes are alphanumeric and between six and eight characters...
Hello, I have some working JS code on my website that shows/hides DIVs.
function show1() {
var div_num = $("#choosediv").val();
if (div_num == 0) {
$("#div1").hide();
$("#div2").hide();
$(':input', '#div1').each(function () {
this.value = '';
});
$(':input'...
Hello, I'm trying to install Google reCAPTCHA on my website.
I found a good example of Classic ASP installation here:
ASP Example
I have made a basic form:
My Form
The problem is, I tick the box, Google confirms I am not a robot and I submit the form.
On the resulting page it then asks me to...
Hello, my website is here:
http://londonheathrowcars.com/01input.asp"]http://londonheathrowcars.com/01input.asp[/URL]
It retrieves prices from an access database.
The form can give you a price TO or FROM any of the five airports listed.
For example, if you choose:
Heathrow Airport to London...
Hello all, first time poster.
I am trying to create a line break in an XML item id.
I'm using a popular 'off the shelf' software package and I am limited as to what changes I can make.
My website is hosted on Windows Server 2003.
The file is called CCBranding.config:
At the top of the file...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.