User Profile

Collapse

Profile Sidebar

Collapse
donkeyparfait
donkeyparfait
Last Activity: May 21 '07, 02:39 AM
Joined: Jan 16 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • donkeyparfait
    replied to count click
    Exactly what i was looking for. Thanks dude....
    See more | Go to post

    Leave a comment:


  • donkeyparfait
    replied to Merging Arrays
    I tried adding the two arrays to the 3rd empty array like this:

    Code:
     Array.Copy(intY, intZ, 12)
            Array.Copy(intX, intZ, 14)
            Array.Sort(intZ)
    
            txtDisplay.Text = Convert.ToString(intZ)
    But my output is System.Int32[]

    Any Ideas?
    See more | Go to post

    Leave a comment:


  • donkeyparfait
    started a topic Merging Arrays

    Merging Arrays

    Does anyone have any idea how to merge two integer arrays into one sorted integer array without using any array methods? I am using VB.Net 7.1. Thanks.
    See more | Go to post

  • donkeyparfait
    replied to Listview: add new row
    THAT WAS IT!!!!!!! You can add subItems without declaring a variable for the ListViewItems. Here is the solution:

    Code:
     Private Sub btnMultiply_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnMultiply.Click
            Dim intMultiplicand, intMultiplier, intProduct As Integer
            Const strX = "X"
            Const strEquals = "="
            Dim objForm1 As New Form1
    ...
    See more | Go to post

    Leave a comment:


  • donkeyparfait
    replied to Listview: add new row
    You have been a great help. At least I am getting new results now. Thanks.
    See more | Go to post

    Leave a comment:


  • donkeyparfait
    replied to Listview: add new row
    Now I am getting 144 Items, but it is not displaying the subitems. Here is what I have changed.

    Code:
      Dim intMultiplicand, intMultiplier, intProduct As Integer
            Dim lviTable As New ListViewItem
            Const strX = "X"
            Const strEquals = "="
            Dim objForm1 As New Form1
    
            intMultiplier = 1
            For intMultiplicand = 1 To 12
    ...
    See more | Go to post

    Leave a comment:


  • donkeyparfait
    replied to Listview: add new row
    I was thinking the same thing, but I got this error when I tried that.

    An unhandled exception of type 'System.Argumen tException' occurred in system.windows. forms.dll

    Additional information: Cannot add or insert the item '' in more than one place. You must first remove it from its current location or clone it.

    What does that mean?
    See more | Go to post

    Leave a comment:


  • donkeyparfait
    replied to Listview: add new row
    BTW,

    The code is supposed to produce the multiplication table throught the 12's in the listview. It should look like this...

    1 X 1 = 1
    1 X 2 = 2
    1 X 3 = 3

    There should be 144 Items when it is finished, and it should all populate at the touch of one button....
    See more | Go to post

    Leave a comment:


  • donkeyparfait
    replied to Listview: add new row
    Good point. The loop is not adding any new Items. The assignment requires the subitems, but you are right. I need something that will add Items in the loop. Thanks. This gives me something to work with now. I have been staring at this code all weekend. You guys are great!...
    See more | Go to post

    Leave a comment:


  • donkeyparfait
    started a topic Listview: add new row

    Listview: add new row

    I am writing code to display in a listview. I have used a For/Next loop that should add a new line in the listview each time it loops. All i get now is one line when i execute the code. I tested the loop by sending the output to a message box and it showed a message box for every loop. So the loop works, but it is not displaying it in the listview correctly. I think I am missing something that would make the loop process go to the next row in the...
    See more | Go to post
No activity results to display
Show More
Working...