Search results

  1. M

    Question Is it possible to test whether the key pressed can generate a character?

    I'm trying to make a class that produces a facsimile of the textbox from Winforms in Console. I have a loop within this class that is reading keypresses as ConsoleKeyInfo. What I want to do is to take a keypress and test whether it corresponds to an actual character. For example, the A key...
  2. M

    Question <- (Yet another) -- How do I run multiple functions at once in Console?

    Hey guys... sorry to keep bugging you, but you really are wonderfully helpful when it comes to VB, and I could much use your input again! Our Computing teacher is encouraging us to try making games with Console in VB, and I like the idea, but there's one big problem with a lot of games that I...
  3. M

    Question How to add more values to a 2D array

    Hey again! I know I keep asking questions but you guys are so wonderful and I need some help ^^'. I'm trying to make a program where you can move around a cursor on a 15x20 grid (the size can change dynamically,) and place coloured blocks (█) in any way you like to make a basic ASCII picture. I...
  4. M

    Question How to use multidimensional arrays

    Hey again guys! I've been working on an Ice Puzzle: you're a character (e.g. '*') in a grid (2D array) and you can move using the arrow keys - when you move, you keep going in that direction until you hit a surface. The aim is to pick up a key, which progresses you to the next level. There are...
  5. M

    Question What am I doing wrong? - Logic error

    Hey guys - I came across a programming problem that I wanted to solve, and I've almost got a program working that does what I want it to do, but not quite. What I want to do is to create a digital river - this is where you add up every digit within a number, and then add that result to the...
  6. M

    Question How to iterate through a List randomly and in order

    Hey there! I started VB just over a month ago, we've been working with console applications - no GUI - and I've been having great fun with it. Recently - with every bit of help from wonderful forumers - I experimented using Lists to create a Periodic Table quiz, and now I had some more...
  7. M

    Question Get user-input variables to match set values (no matter the order they are entered)

    Hey! I should start with a clarification: I'm new to the forums, and I'm also very new to VB. I started studying it at A-level Computing nearly three weeks ago. So please bear in mind that I'm nowhere near an expert and may need simple explanations :). Also, I'm working with a console...
Top Bottom