Search:

Type: Posts; User: EddieHoughton

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    445

    High-score table parameter error

    Hi, I'm making a game where it will ask the winning player their name and will put that and their score into a .txt file. I want it to take the top 5 players and sort their scores to display in the...
  2. Replies
    22
    Views
    3,994

    VS 2010 Re: Project using 2D array

    Sorry about that, I thought that using a screenshot would help you identify the errors better. Here is what I've put down:



    Public Class grid

    Private bombgrid(,) As Integer
    Public...
  3. Replies
    22
    Views
    3,994

    VS 2010 Re: Project using 2D array

    By taking your code, I now have this:
    154901

    154903

    Can you provide me with the correct structure and explain to me how you reached your solution please? Thanks.
  4. Replies
    22
    Views
    3,994

    VS 2010 Re: Project using 2D array

    How would I bind my grid of picture boxes to my 2-D array so that each picture box represents a number in the 2-D array? I get a data conversion error whenever I try so i'm asking if there's a...
  5. Replies
    22
    Views
    3,994

    VS 2010 Re: Project using 2D array

    Ok I'll take on that on board and see what I come up with thanks!
  6. Replies
    22
    Views
    3,994

    VS 2010 Re: Project using 2D array

    Ok so right now I am trying to populate a datagridview with the 2D array I've made and it's having issues. Here's the code i've made so far concerning this:



    Sub populategrid()

    ...
  7. Replies
    22
    Views
    3,994

    VS 2010 Re: Project using 2D array

    Ok I'll take all this in and see what I come up with. Thanks guys!
  8. Replies
    22
    Views
    3,994

    VS 2010 Re: Project using 2D array

    Ok Sitten Spynne so following your help I have managed to come with the following code so far:



    Public Class Form1
    Dim bombgrid(5, 5) As Integer
    Dim generator As New Random
    ...
  9. Replies
    22
    Views
    3,994

    VS 2010 Re: Project using 2D array

    This looks really promising and it has helped me understand what I'm doing a bit better. Thanks! I'll try it out and report back later!
  10. Replies
    22
    Views
    3,994

    VS 2010 Re: Project using 2D array

    Well, I stored the 2D array as a variable and populated it with randomly generated numbers between 0 and 3. I am a bit of a novice at coding so I'm not sure how to create a class. Is it possible for...
  11. Replies
    22
    Views
    3,994

    VS 2010 Project using 2D array

    Hi, I am currently doing a project in VB 2010 where I am making a game similar to Voltorb Flip. It involves using a 2D array of face down cards containing a randomly generated number between 0 and 3....
Results 1 to 11 of 11



Click Here to Expand Forum to Full Width