Search:

Type: Posts; User: davebold370

Search: Search took 0.06 seconds.

  1. Re: [RESOLVED] List Box and Mouse Click Event While missing Selected item

    So, Selecteditem = ""
  2. Re: List Box and Mouse Click Event While missing Selected item

    It's referenced as a null object. How do I make a test for that null object with a list box? I'm not to sure how to do that.

    Never Mind, I found a try catch. :D Thanks for the help.
  3. [RESOLVED] List Box and Mouse Click Event While missing Selected item

    Ok, I have a listbox that has a double click event on it. If you strike the items in the list the program works perfectly without a problem, but if you hit white space, the program blows up.
    The...
  4. Re: somestring.chars() not yielding correct results

    I did what .paul. said to do. vb had a hickup.
  5. Re: somestring.chars() not yielding correct results

    I think I found the problem. I am using a menu strip text box. It works fine when I use a normal text box. Learned that I can't use menustrip text boxes the same way today.
  6. Re: somestring.chars() not yielding correct results

    I guess I can chock this one up to the visual studios.


    txtMenuMakeIt.Text = "aaaaaaaaaaaaaaaa"
    Dim pos As String = txtMenuMakeIt.Text
    Dim pol As Char
    pol = pos.Chars(0)
    ...
  7. [RESOLVED] somestring.chars() not yielding correct results

    Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    txtbox.text = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
    dim pos as string = txtbox.text ...
  8. Re: File.ReadAllLines() with resources are rejected each time.

    Thank you. So far, it's pulling from the file like I want it to, but the problem is it's pulling with new lines which breaks up how the program works.


    Dim rand As New Random
    Dim...
  9. Re: File.ReadAllLines() with resources are rejected each time.

    Thank you all for your help. I am trying to make a single instance program that calls from three different text files but single lines in each text file. I tried:


    Dim lines As New...
  10. Re: File.ReadAllLines() with resources are rejected each time.

    @Dunfiddlin That makes a lot of sense. So, it will be best not even to use the resource text file system and just reference to the folder inside the AppPath.
  11. Re: File.ReadAllLines() with resources are rejected each time.

    @Stanav basic text files with lists of words.
  12. File.ReadAllLines() with resources are rejected each time.

    So, Here is the question I have.
    Why does, file located in stated area, work: File.ReadAllLines(AppPath & "\filename.txt")
    While this one, files uploaded into resource and saved then restarted,...
  13. Replies
    5
    Views
    1,202

    Re: Fractal Poetry

    @si_the_geek Thank you for moving my question. I know why It uploaded to where It did now.
    @boops boops You are awesome. The listof option is something I have never played with. I am now studying...
  14. Replies
    5
    Views
    1,202

    Re: Fractal Poetry

    I know i will have to somehow restart the rand.next whenever it reaches the end to have a fair chance to reach all the lines in the text file. I'm not to sure how to do that either.
  15. Replies
    5
    Views
    1,202

    Fractal Poetry

    I am new to programming. I have only taken a few classes. Intro level to VB and Java. I had to transfer to another school because of economic situations, and this school is requiring me to "prove" my...
  16. Replies
    24
    Views
    37,690

    Re: Unique, Random Selections from a List

    @jmcilhinney Thanks
  17. Replies
    24
    Views
    37,690

    Re: Unique, Random Selections from a List

    This code is very impressive. I like it a lot. I am new to the world of programming and I am trying to figure out how to use this with three text files to pull words from each to create some kind of...
Results 1 to 17 of 17



Click Here to Expand Forum to Full Width