Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: axLW
  • Content: Threads
  • Order by date
  1. axLW

    Batch Photoshop Action. Increase Canvas Size based upon Width and Height

    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...
  2. axLW

    Newbie Question

    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...
  3. axLW

    Session Variables Being Lost

    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...
  4. axLW

    Line Break in XML String (Classic ASP HTTP Post) for Windows

    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""?>"...
  5. axLW

    Round Up Number To Nearest 5 or 0

    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
  6. axLW

    Is DATE BST or GMT. DST Daylight Saving Time Check

    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...
  7. axLW

    Check if date is BST or GMT, timezone help

    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 =...
  8. axLW

    convert date function

    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
  9. axLW

    Split XML data in VBScript

    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>...
  10. axLW

    And Statement

    <% 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...
  11. axLW

    Split variable if contains comma

    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...
  12. axLW

    Mathematical Formula

    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...
  13. axLW

    Identify string within array item

    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...
  14. axLW

    IsNull assistance needed

    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...
  15. axLW

    trim long postcode to retrieve matching short postcode record

    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...
  16. axLW

    Reset input and select form values

    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'...
  17. axLW

    Using Google Recaptcha

    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...
  18. axLW

    reduce number of sql statements and set EOF parameter

    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...
  19. axLW

    Line Break in Item ID

    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...

Part and Inventory Search

Back
Top