tlhIn`toq's Profile User Rating: ****-

Reputation: 5676 Overlord
Active Posts:
12,431 (7.47 per day)
02-June 10
Profile Views:
Last Active:
User is offline Today, 06:02 AM

Previous Fields

OS Preference:
Favorite Browser:
Favorite Processor:
Who Cares
Favorite Gaming Platform:
Who Cares
Your Car:
Dream Kudos:
Expert In:
Icon   tlhIn`toq There are very few software issues that liberal application of Mt.Dew and M&Ms wont fix!

Posts I've Made

  1. In Topic: Console App wont close

    Posted 22 Dec 2014

    I have not idea what that is supposed to mean for the state of the actual code you are running. You showed us a block of code that you admit has meaningful lines removed. So I don't know if we are looking at the real code or not.

    Simple question: Are you running this from Visual Studio so you can debug the variables at run-time? Show us a screen shot of the AUTOS pallet showing us the real runtime values of SourcePath DestPath and newPath.

    Try adding some console.writeline statements so you can actually see what the program is doing.

    This all ultra-basic debugging techniques that are described in the debugging tutorials I linked to you already. Have you worked through those tutorials?
  2. In Topic: Alternating itunes(any player) playlists... need direction

    Posted 22 Dec 2014

    No worries mate :cowboy: . If it *did* do that it would solve half the OP's issues.
  3. In Topic: Console App wont close

    Posted 22 Dec 2014

    You have no attachment.

    I don't think you understand C# variables. @"Sourcepath" is a string literal, not a variable. So when your code tries to make a path of "Sourcepath" that's going to fail. Same of course with @"DestPath". I think you're trying to apply the syntax of SQL to C#.

    You should probably try debugging this in Visual Studio before you assign it to a batch file to run. As a batch you're not going to see the exception errors when it fails.

    See FAQ # 2 below

    TOP most asked:
    What does this error message mean?
    FAQ 2: How do I debug
    FAQ 6: How do I make Class1/Form1 talk to Class2/Form2

    FAQ (Frequently Asked Questions - Updated July 2014

    Working for myself/Deploying/Selling software:

    [*]So you want to be a game programmer...

    [*]Q:How do I become a freelance coder for a living?
    Recent thread with active discussion on this very question.

    [*]Q: How do I become a better coder?
    Read this, and practice a lot.
    How to be a better coder

    [*]Q: Are there any resources for small C# projects a novice to become a better coder?
    A: [spoiler]There is a novice projects thread here on DIC. But here's my advice whenever this comes up:

    Look around. Anyone who can't find a dozen projects a day by just walking through life, is doing so with their eyes closed to the world.
    • Do you like the weather? What about a program to get the various weather reports from different web sites?

      Or to integrate with one of the numerous USB weather station hobby kits on the market?
    • Do you like the run? What about a program to log your runs, routes and progress?
    • Do you like movies? What about a program to catalog all your DVD's and AVI's?
    • Do you like photography? What about a program to browse your images, assign tags and GPS?
    • Do you like shooting? What about a program to track your aim and improvement?

      What about every time you walk into a business and someone says "Oh, I'm sorry. The computers are slow/suck. This is going to take 10 minutes and 25 screens." Sounds like an opportunity to make and maybe even sell them a new program. So go home and make it first before you open your mouth.

      If you succeed in something great. If you fail, then you know where to study more and you haven't embarrassed yourself.

      Go to any of the on-line coder for hire sites. Read the new contract descriptions. DON'T BID ON THEM. Just read them. This will tell you what is requested by employers so you know where you have the potential to make money, and tell you where you should study. Then pick a project and build it. TRACK YOUR TIME. If you don't know how long it takes you to build a project then you won't be able to bid on contracts. If you bid $50 for 50 hours of work you're going to starve to death. Again, building projects just to learn the technology and learn your own speed and weaknesses is something we all do/did and you need to do too. Once you can build a project just for the learning experience, fast enough that you could have made a competitive bid... Now you can start considering actually bidding on new contracts that are in your skill set.

    • Q: How do I sell the software I've developed?

    • Q: How do I decide how much to charge for my application?
      A: Read this
      A lot of questions about freelancing were covered in the Q&A with the Experts thread

    • Q: How do I deploy my program / Make an installer?
      A: C# application deployment project
      Include the smallest .NET possible
  • In Topic: Alternating itunes(any player) playlists... need direction

    Posted 21 Dec 2014

    How is that any different than when I said iTunes randomizer will reset? In either system if you leave PlaylistAlpha and go to PlaylistBravo and back they will both reseed: Change order, change start point, reset the playlist as 'nothing yet played', etc.
  • In Topic: Alternating itunes(any player) playlists... need direction

    Posted 21 Dec 2014

    If you tell iTunes to switch between playlists the randomizer will start over. Which means a song already played will get played again, and neither playlist will ever reach an end.

    You could do something along these lines:

    A - Ask user for a list of two or more playlist names.
    B - Programmatically add them to a new playlist
    C - When the new (merged) playlist is done, delete it.

    So in your research of the iTunes API you'll need to find how to (at minimum):
    • Read a playlist
    • Add a new playlist
    • Delete a playlist
    • Add songs to a new playlist
    • Detect with a playlist has completed (versus stopped by user)

    Where to start? Well that depends on your skill level. One of the first things new programmers want to do is make a program. The problem is they generally don't know enough about design/architecture to be able to plan how the program works. This is akin to saying "I don't know anything about cars. I'm going to order a bunch of random parts and sheet metal then build a car, as a way to learn about auto mechanicing." They then start with UI because that's easy drag and drop, when in reality UI is the last thing you do after getting all the underlying logic working. So in our car metaphore they build the dashboard before engine. Later they write a question here asking


    "My dashboard is done, but it doesn't work right, the speedometer shows -40mph, none of the lights go on, and is missing gauges I need but I can't figure out how or where to add them. I've Googled 'backwards speedometer' but couldn't find a tutorial I could copy/paste from for my exact situation. I also built the doors, but they are 5 inches taller than the chassis and the hinges don't line up. I don't understand how an internal combustion engine works, but I've cobbled together some parts that I found in a catalog however they're no place for the air filter to go. What should I do now?"

    So where would I suggest you start? With this tutorial list. If you breeze through it and there's nothing new to learn in any of them that's great and you'll only have lost an hour or two. If you spend a week on them, that's good too because you will have picked up vital skills you require for this (and most any) project.

    Then the list of rookie projects pinned at the head of the C# thread. They are introductory projects that will help you evaluate your skills, and build them up. If you can't fly through self-contained projects then be honest with yourself and realize you're not ready to take on a project that interacts with someone else's software. If you do fly through them and you don't find anything in these tutorials that is new to you, then the next step with this project should seem pretty clear.

    Tutorials I recommend:

  • My Information

    Member Title:
    Please show what you have already tried when asking a question.
    Age Unknown
    Birthday Unknown
    United States of America
    C#, Photography, Camping/Hiking, Travel
    Years Programming:
    Programming Languages:
    C#, WPF, MVVM

    Contact Information

    Click here to e-mail me
    Website URL:
    Website URL


    Page 1 of 1
    1. Photo

      tlhIn`toq Icon

      19 Aug 2013 - 20:28
      Ah - I *am* blind.
    2. Photo

      Michael26 Icon

      19 Aug 2013 - 15:53
      Yes there is, you have Awards, About me, Posts and Blog. That is right under your status.
    3. Photo

      tlhIn`toq Icon

      18 Aug 2013 - 10:16
      Am I just blind, or is there no link on a person's profile page to their blog? That's silly.
    4. Photo

      tlhIn`toq Icon

      18 Aug 2013 - 10:13
      Yep. They are coding on a "Whole 'nother level" above my last employer. Makes me feel like like I'm in the special slow learners group. But that's a nice side effect of new environments: They make you stretch past your comfort zone and learn new techniques.
    5. Photo

      Michael26 Icon

      05 Aug 2013 - 06:17
      At least you found job :)
    6. Photo

      tlhIn`toq Icon

      04 Aug 2013 - 12:53
      01aug13: I've changed employers and no longer working at home. So I won't be answering posts in real-time through out the work day. Don't take this as disinterest in the site. Its just I can't do that from a new office as a new employee. So its nights and weekends for me.
    7. Photo

      tlhIn`toq Icon

      12 Jul 2013 - 06:55
      Thanks! I've only just gotten on the computer this morning and saw it myself.
    8. Photo

      Michael26 Icon

      12 Jul 2013 - 06:39
      Congrats on 5000 :)
    9. Photo

      tlhIn`toq Icon

      05 Jun 2013 - 11:15
      I need to run through them and clean them up, stitch panoramas together etc. Shot about 700 frames. I'll keep maybe 50 at most. 10% or little less is about average.
    10. Photo

      Michael26 Icon

      05 Jun 2013 - 10:28
      Post some pictures, will you?
    11. Photo

      tlhIn`toq Icon

      05 Jun 2013 - 09:20
      Back from vacation. I was away for nearly a month (if anyone noticed). But Alaska was beautiful.
    12. Photo

      tlhIn`toq Icon

      31 Dec 2012 - 08:56
      Thanks! I see the voting is closed.
      I had to laugh when I saw I was even on the "nicest member" list - Everyone knows I'm the brutally honest old man LOL.
    13. Photo

      lucky3 Icon

      31 Dec 2012 - 02:28
      Congratulations for the "Most Helpful- Programming" shared 1st place award!
    Page 1 of 1