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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by gareth001

  1. gareth001

    Search and Replace email address within text file on command line

    I've a windows batch command that is being generated by an external product which inserts variables which will replace sections within a space delimeted data file. So below I'm searching for the value of "--d--" and replacing it with "email@domain.com" perl -pe "s/--d--/email@domain.com...
  2. gareth001

    Make results[i].getAttribute display a url from value

    Thanks - knew it was something simular to what I had. Now working. A quote is the epiphany of intelligence
  3. gareth001

    Make results[i].getAttribute display a url from value

    Afraid that just leaves me with an empty cell in the table with no boarders where the URL should be. A quote is the epiphany of intelligence
  4. gareth001

    Make results[i].getAttribute display a url from value

    I've got an xml file that I'm placing into a table, one field at a time with Java. I can happily place the values as string, but can't get the syntax correct to place as a URL. Simple string: document.write('<td>' + results[i].getAttribute("age") + '</td>'); Attempt at href...
  5. gareth001

    Logoff windows a nice way

    Hi All, I've got an application which I want to be able to logoff windows with. I currently use the following code: Dim MyProcess As New System.Diagnostics.Process MyProcess.StartInfo.CreateNoWindow = True MyProcess.StartInfo.UseShellExecute = True...
  6. gareth001

    Delete Defined Names

    Hi all, I'm wanting to delete all (about 60) the defined names within an excel workbook. I can delete the values of the defined names (end up with "=Sheet1!#REF!") with the below code, but not the name it's self even though I'm displaying it in the message box. For Each n In...
  7. gareth001

    Filtering Tables

    Thanks PH, thats great help. Works a treat.
  8. gareth001

    Filtering Tables

    Hi, I have a working filter which uses the required field [defined as Field] and record(s) [Defined as Node] within which are needed. with the below code: Set tbl = Screen.ActiveDatasheet tbl.Filter = Field & _ "=" & _ Node tbl.FilterOn = True...
  9. gareth001

    Access - Using list box to choose field to filter on.

    Hi, I've got a table (tblQuestionnaireComments) which contains fields numbered id_0 to id_50. Within a form (frmCommentReport) there is a text box which generates this number (TxtIDNo) from a list box as the list box only contains 0 to 50. What I can not work out is how to apply a dynamic...
  10. gareth001

    Access List Box value capture

    Thank you for both for your help, all working now. Gareth
  11. gareth001

    Access List Box value capture

    Hi, I've been trying to set a on Change command for a group of List boxes to enable a button when they contain data, but I can't seem to detect when they contain a null value. The code is as follows: Private Sub cboSchemeID_Change() If cboLevelID.Value = Null Then...
  12. gareth001

    Converting Excel Time

    Thanks John, thats exactly what I was after.
  13. gareth001

    Converting Excel Time

    Hi, I've got a time stored in seconds (eg 150 seconds), but how can I display the time in minutes and seconds (2:30)? Excel help surgests using: =TEXT(A2/24, "h:mm") but I can't get this to work with mins and secs. Thanks Gareth
  14. gareth001

    Email failing to send

    Hi, I've tried to send an email which has an attachement of 23mb. BTInternet or Outlook does not wont to send the file which is fine as i've sent it via cd now. But when i go to try and delete the email, it tells me that it can't be deleted as Outlook has started to send it. This has also ment...

Part and Inventory Search

Back
Top