• Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • At Work
  • CodenzHub
  • Coding
  • Deejaying
  • Donating
  • Drinking
  • Eating
  • Editing
  • Hacking
  • Hate Mailing
  • Jamin'
  • Lagging
  • Live Streaming
  • Lurking
  • No Status
  • Pawning
  • PC Gaming
  • PS Gaming
  • Raging
  • Reversing
  • Sleeping
  • Steam Gaming
  • Trolling
  • TwitchStreamer
  • Vodka!
  • Watching TV/Movie
  • Xbox Gaming
  • Youtuber
  • Zombies
  • Results 1 to 3 of 3
    1. #1
      Newbie
      L33T
       
      Coding
       
      Mikail601's Avatar
      Join Date
      Jan 2014
      Posts
      10
      Thanks (-->)
      0
      Thanks (<--)
      0

      listBox1 C# (CSharp)

      John Kittz
      Fixed, please close this thread!
      Attached Thumbnails Attached Thumbnails 5cd3206997ff30f6d84f9042ca3d453c.png  
      Last edited by Mikail601; 03-22-2014 at 04:40 AM.

    2. #2
      Global Moderator
      give me my colorz back
      FeelsBadMan
       
      Coding
       
      till0sch's Avatar
      Join Date
      Oct 2012
      Location
      Germany.
      Posts
      1,168
      Thanks (-->)
      179
      Thanks (<--)
      340
      Just to understand - you're having a "cshXXXX.tmp" process and wanna get the number?

      Why not getting all processes and then using .SubString() seeing if 0-3 is csh and using .EndsWith() ".tmp"? If that condition's true then .Replace() "csh" and ".tmp" with nothing and what you have is the code as a string

    3. #3
      Newbie
      L33T
       
      Coding
       
      Mikail601's Avatar
      Join Date
      Jan 2014
      Posts
      10
      Thanks (-->)
      0
      Thanks (<--)
      0
      Cheats'n'Trainers
      Quote Originally Posted by till0sch97 View Post
      Just to understand - you're having a "cshXXXX.tmp" process and wanna get the number?

      Why not getting all processes and then using .SubString() seeing if 0-3 is csh and using .EndsWith() ".tmp"? If that condition's true then .Replace() "csh" and ".tmp" with nothing and what you have is the code as a string
      Thank you, i really need to use my mind more while coding. I'll tell you if this worked or not!
      I'm getting very confused now about these strings and substrings, could u please write the code down in a post? Thank you very much.
      Last edited by Mikail601; 03-21-2014 at 05:19 PM.

    Tags for this Thread