Search results for query: *

  • Users: Gomo
  • Content: Threads
  • Order by date
  1. G

    Read multi-line txt file

    Hello there fellas, I was wondering if anyone could help me out with a small project of mine. In short, I'm trying to read a multi-line .csv file, and only add specific numbers from each line together. (basically I'm working with a log file) This is how it looks: 9/6/2017 11:48:40 PM,251,233...
  2. G

    Set focus on minimized window

    Hello, I'd like to re-target a running (minimized / in background) CMD.exe so that I can send input to it. I've tried different versions of code so far (which I found online), but none of it seems to be working, or it partially works. Following code is the one I find to be the best, out of the...
  3. G

    Copy files and folders - UI is unresponsive

    Hello, part of the program which I'm working on should copy all files and folders from the selected path to the destination path (do a backup). And this the code being used: foreach (string dirPath in Directory.GetDirectories(from_directory, "*", SearchOption.AllDirectories))...
  4. G

    Question Deleting directories and subdirectories

    Hello there guys, I've been trying to figure out a way to delete all folders & sub-folders which are older than "XX" amount of days .. but without luck. I've googled my ass off and still cannot seem to get it working. I'm still new at C# so hence why I'm here, asking for your help! Here are my...
Back
Top Bottom