Results 1 to 6 of 6
  1. #1
    Sneaks's Avatar
    Join Date
    Nov 2008
    Gender
    male
    Posts
    73
    Reputation
    10
    Thanks
    12

    Index outside bounds of array

    Im using this in C#

    Code:
    string[] filePath = Directory.GetFiles(@"c:\Nexon\Combat Arms", "*.jpg",
                                                 SearchOption.AllDirectories);
                    File.Delete(filePath[0]);

    It says [0] has its index outside the bounds of the array -_-. How do I fix that?

  2. #2
    Crash's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    JAville
    Posts
    2,889
    Reputation
    163
    Thanks
    3,289
    My Mood
    Sleepy
    Try double \\s

  3. #3
    Sneaks's Avatar
    Join Date
    Nov 2008
    Gender
    male
    Posts
    73
    Reputation
    10
    Thanks
    12
    nvm I just transformed it into a try catch statement

  4. #4
    zmansquared's Avatar
    Join Date
    Oct 2008
    Gender
    male
    Location
    Kickin it at Microsoft
    Posts
    2,088
    Reputation
    36
    Thanks
    221
    My Mood
    Cheerful
    are you using c# to code a hack?
    Need Help With Coding or Something??? MSN me
    zmansquared@hotmail.com


    I am the one and only Microsoft Fag!!!

    Quote:
    Originally Posted by Arhk
    All games should be hacked, if we don't do it someone else will. Hackers force the progress, of better programming methods.
    ~


    Take this Pic everyone!



    next-

  5. #5
    mmbob's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    ja
    Posts
    655
    Reputation
    70
    Thanks
    1,156
    My Mood
    Bitchy
    Quote Originally Posted by zmansquared View Post
    are you using c# to code a hack?
    This is obviously for a cleaner/multi tool...

  6. #6
    zmansquared's Avatar
    Join Date
    Oct 2008
    Gender
    male
    Location
    Kickin it at Microsoft
    Posts
    2,088
    Reputation
    36
    Thanks
    221
    My Mood
    Cheerful
    probably the easiest thing to make...
    Need Help With Coding or Something??? MSN me
    zmansquared@hotmail.com


    I am the one and only Microsoft Fag!!!

    Quote:
    Originally Posted by Arhk
    All games should be hacked, if we don't do it someone else will. Hackers force the progress, of better programming methods.
    ~


    Take this Pic everyone!



    next-

Similar Threads

  1. [Request] No Bounds Address
    By Teh Sasuke in forum WarRock - International Hacks
    Replies: 7
    Last Post: 02-08-2008, 04:51 PM
  2. [Tutorials]Array of Bytes
    By Str8Soulja00 in forum Visual Basic Programming
    Replies: 3
    Last Post: 01-02-2008, 02:52 AM
  3. Its Warm Outside
    By radnomguywfq3 in forum General
    Replies: 31
    Last Post: 11-11-2007, 05:40 PM
  4. Tutorial Index
    By Bull3t in forum Tutorials
    Replies: 0
    Last Post: 07-22-2006, 11:13 AM