User Profile

Collapse

Profile Sidebar

Collapse
IanSD81
IanSD81
Last Activity: May 6 '08, 04:25 PM
Joined: Feb 8 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • IanSD81
    started a topic Problem with Arrays

    Problem with Arrays

    I am writing a program that takes a group of integers from a text file. There are 20 or them all between 0-9. I am trying to display the frequency of each digit in a list box. I thought I had the code correct but for some reason it’s off by one. Also I am drawing a blank when it comes to displaying the order of the numbers in the text file but only displaying each number once. My current code is listed down below. Any help would be awesome. Thanks...
    See more | Go to post

  • IanSD81
    replied to Problem with loops
    Hey thanks a lot!!!
    You defiantly helped me out.
    See more | Go to post

    Leave a comment:


  • IanSD81
    started a topic Problem with loops

    Problem with loops

    Hello, I have two problems I’m having trouble solving. The first involves a program that opens a text file with a bunch of random numbers out of order listed line by line. I have to list the Highest and the second Highest in a list box using loops and if statements. I had no trouble figuring out how to get the highest but how do I go about generating the second highest. The code is listed below.
    Code:
        Private Sub btnDisplay_Click(ByVal sender As System.Object,
    ...
    See more | Go to post

  • IanSD81
    started a topic How to start Math.Random at a specific number?

    How to start Math.Random at a specific number?

    This may be a stupid question but how can you start Math.Random() to start generating numbers after a specific number.
    Say the number is 53 how do you call Math.random() so that it will not generate a number lower than 53?
    See more | Go to post

  • I'm using Visual Basics 2005 Express edition.
    See more | Go to post

    Leave a comment:


  • How to assign a string a numerical value for a drop down box?

    Does anyone know How to go about having an item in a drop down box which shows up a string but holds a numerical value or to have a word selected in a drop down box and have it hold a value that could be used in a mathematical procedure with a txt box? How to set the results as whats selected in the drop down box as values?
    See more | Go to post
No activity results to display
Show More
Working...