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 Mike Lewis 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: *

  1. Zippeh

    Killing processes

    Hi there! I'm writing a script that is supposed to kill a single process if the memory usage gets too big. I'm using the Win32::OLE library to do it. Thing is, the process I want to kill is running as a different user to what the script will be running as. Is there any way I can kill this...
  2. Zippeh

    Editing an XML file

    Hi there, What's the easiest way for me to edit a couple of attribute values of an XML file using Perl? Thanks!
  3. Zippeh

    Date comparing

    I need to find all the files in a directory that havent been modified in the past 7 days. I've got my script to so far find the last modified time using the following: use File::Find; my $age; @ARGV = qw(.) unless @ARGV; #Darllen o'r current directory os dim paramedr find(\&nolFfeil, @ARGV)...
  4. Zippeh

    Regular expression help

    Haha I would, but it's in VBScript (flame away!) Just posted in here cos it's where I thought the regexp experts would be residing ;)
  5. Zippeh

    Regular expression help

    Yeah I got a big function that changes them all, first thing it does it do & -> & :D
  6. Zippeh

    Regular expression help

    Not when the & is contained within the querystring part of an URL :)
  7. Zippeh

    Regular expression help

    Got it! :D &(?!amp;) cheers!
  8. Zippeh

    Regular expression help

    Hey! I want to write a small regular expression to replace "&" with "&" in URLs. Some of the URLs already contain the "&" so I want to skip these ones. So I need a regular expression that will ignore any "&" followed by "amp;". Any idea how I'd get about this?
  9. Zippeh

    Looping between dates

    Hi! I want to be able to loop between two dates. Say the two date are 2006/01/01 and 2006/02/01. What I want is to be able to access each day in the range so I can pass that day, and the day before it into a function. Hmm that doesn't make sense... My function is defined as follows...
  10. Zippeh

    Using a column name in the select

    Here is the SQL I need to use and I'll explain the problem underneath it! SELECT a.attachment_id, '"' + a.description + '"' as teitl_atodiad, '"' + d.title + '"' as teitl_dogfen, '"' + a.filetype + '"' as math_atodiad, 'http://www.gwynedd.gov.uk/' + a.filename as cyswllt_atodiad...
  11. Zippeh

    Hash->Hash->Array!

    Working on the same problem, There are going to be occasions when the index into the hash doesn't match anything in there. I.E. sequence number isnt in the first one or sub-sequence isnt in the second one. How can you check for this? What does it return if you try to access an invalid key?
  12. Zippeh

    Hash->Hash->Array!

    That's spot on mate! Thanks so much. You can have a star for that :D
  13. Zippeh

    Hash->Hash->Array!

    I've got this XML file that I'm trying to parse to take out some values to put into a CSV file. One part of the file is some "tax_lines" that are associated with some invoices. I need to take out the tax_lines so that I can put them with the invoice lines in the CSV. To do this I have decided to...
  14. Zippeh

    Incrementing a string??

    Am indeed mate! All variable names, comments, programme names, filehandles! Anything that needs naming is in welsh :D
  15. Zippeh

    Incrementing a string??

    Ignore this! Just realised the the increment is happening after I print it out! Doah!
  16. Zippeh

    Incrementing a string??

    Hi there :) I have a reference that I read from a file that I want to increment. The reference is of the form: xx0001 where xx are letters and 0001 is a number between 0001 and 9999. What I want is to increment this number. I'm not concerned about what happens after 9999 at this moment in...
  17. Zippeh

    error '80020009' with DatePart

    Thanks for that! Funny that, isn't an empty recordset error usually different?
  18. Zippeh

    error '80020009' with DatePart

    If only it was that simple! :D
  19. Zippeh

    error '80020009' with DatePart

    Hi there, I get the following error message when executing my ASP: error '80020009' /corystadegauelk/includes/ffwythiannau.asp, line 90 and line 90 is as follows: datAmserFynu = DatePart("YYYY", rstAmserFynu("test_time")) & "/" & DatePart("M", rstAmserFynu("test_time")) & "/" &...

Part and Inventory Search

Back
Top