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 Wanet Telecoms Ltd 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: rkckjk
  • Content: Threads
  • Order by date
  1. rkckjk

    Delete certain files in folder based on modified date, but not others

    I have the following module that I delete old files based on how old they are: Sub Main() Dim First_Date As String = Date.Today.AddDays(-7) Dim Archive_Files() As String = System.IO.Directory.GetFiles("C:\Turnover") Dim Filtered As New ArrayList For x As Integer...
  2. rkckjk

    How to search and delete elements from a XML file?

    I want to be able to delete and search for elements in a XML file, I'm using the code below for adding elements which works great: Public Sub cmdAddElement_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdAddElement.Click Dim doc As New XmlDocument...
  3. rkckjk

    Sub totals for the month: First, Second, Third and Weekend

    Thanks a lot lbass, the formula works great, I was trying to create sub totals for each of the four groups(First, Second, Third and Weekend) to be placed at the end of the report. The current formula does total the amount for each group per day - I'd like to have the total for each group for...
  4. rkckjk

    Filter by time and dayoftheweek?

    I'm using the following formula that I was given to an earlier question I had: if time({table.opendatetime}) in time(0,0,0) to time(7,59,59) then "Third Shift" else if time({table.opendatetime}) in time(8,0,0) to time(15,59,59) then "First Shift" else if time({table.opendatetime}) in...
  5. rkckjk

    Newbie needs help on how to setup CR formula using VB .Net

    Being sort of new to using Crystal Reports in VB .Net...I need help on how to setup and use formulas in CR with VB .Net. I have a sample of a CR I setup in VB .Net. The field name is 'Open' in my test.rpt. It's basically a date and time in the 24 hour(military format). The formula I need is to...
  6. rkckjk

    Delete files in folder based on modified date.

    Let's say I have the following folder: C:\Archive\Data\Logs\ and within this folder are many files in this format: Cycle Run of Tuesday, February 01, 2005.html Cycle Run of Wednesday, February 02, 2005.html . . . Cycle Run of Monday, February 28, 2005.html The folder gets larger every day...
  7. rkckjk

    How to compare military time and doay of the week?

    How would I check to see if the current time(military format) is greater then 07:30AM and the day of the week is Monday-Friday. Pseudo code: If Current_Time > 07:30AM and Current_Day = Monday or Current_Day = Tuesday _ or Current_Day = Wednesday or Current_Day = Thursday or Current_Day =...
  8. rkckjk

    Date Comparison problem.

    Here is my XML file: <?xml version="1.0" standalone="yes"?> <MSR> <Info> <TODAY>Saturday, January 29, 2005</TODAY> <SSEC>4:00 pm</SSEC> </Info> </MSR> My XSL file: <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"...
  9. rkckjk

    Need to check for additional text in an element

    What I'd like to do is to check the values in an element if they're greater than a certain time and if they are, then change the font color of the time. I have about 10 elements that I will check against a different time for each element, I'm just showing one element below in my XML file. The...
  10. rkckjk

    Outlook folder problem??

    Basically, I'd like to know how to delete all my emails in an Outlook folder called: "Previous Month's" and then move, not copy all the emails from "Current Month's" to the "Previous Month's" folder.
  11. rkckjk

    How to view details instead of icons in a folder/directory?

    When using the axWebBrowser to look at a folder/directory is it possible to set the view to 'Details' programmatically rather than having to keep using the context menu? Currently, the user has to right-click his mouse and select details to select a view. Any ideas?
  12. rkckjk

    Check for a previous instance of an app on a network?

    Public Sub CheckForExistingInstance() 'Get number of processes of you program If Process.GetProcessesByName _ (Process.GetCurrentProcess.ProcessName).Length > 1 Then MessageBox.Show _ ("Another Instance of this process is already running", _...
  13. rkckjk

    Open Word doc. and append to text file

    Currently. there is a Word doc. that the staff update throughout the day. I want to open this Word doc. and paste it's contents into a text file. This text file would be like a log or archival file which would grow everyday.
  14. rkckjk

    How to ad an element and remove an element?

    Basically, I would like to know how to add or remove an elemet from the XML file below using VB .Net: <?xml version="1.0" standalone="yes"?> <RECORD> <TYPE> <TIME_STARTED>4:44</TIME_STARTED> <TIME_ENDED>6:33</TIME_ENDED> </TYPE> </RECORD> When the 'TODAY' element is added the XML...
  15. rkckjk

    Help with a couple of ??? using sed?

    First, I have the following tab delimited file: 155.66.220.46 NTADTH0791M00 None wst None "Smith, Scott" 3786 123.66.201.12 NTADTH0802M00 None WST None "Smith, Scott" 4607 "Thomas, John" 166.67.201.13 NTADTH0803M00 None WST None "Smith...
  16. rkckjk

    Update a txt file wioth another txt file.

    I have the following tab delimited master.txt file which has about 1000 records and looks like this: NTADPH0853M00 Premier WST None "Lee, Tom" 4607 "Lee, Tom" NTADPH0892M00 Standard; Prime Shift Monitoring WST None "JOHNSON, DON" ntadph0919m00 Standard; Prime Shift Monitoring wst None "Lee...
  17. rkckjk

    Expand IP address range

    I have an input file listed below which contains IP addresses with other information tacked on after each address. Some of the IP address are set up in ranges with a '-' and some of them have the wildcard ('*') within them. I need to do is read the file and create a new file that has...
  18. rkckjk

    VB 5.0 Outlook application

    I currently have a VB 5.0 application that uses Outlook 97 on a PC running Windows XP. I'm trying to pull off the CurrentUser from the Outlook object and display it in a txtbox in my VB application. I was told that MAPI is unavailable with Windows XP and that you have to use CDO. Is this true...
  19. rkckjk

    comparing two files

    I have two files with each of them containing two columns(fields) of data separated by a space. I need to read in both files into an array I guess and compare the first column(field) of the first file with the first column(field) of the second file. I have an example of the two files below...
  20. rkckjk

    Compare two files or arrays

    I created two arrays or files that I want to compare. I want the output to show what's different from fileA vs. fileB and what's different from fileB vs. fileA. I would like this be done without using temp files. Here is what I have coded thus far: #!/usr/bin/ksh typeset -i x=0 typeset -i y=0...

Part and Inventory Search

Back
Top