Search Results - VBForums

Search:

Type: Posts; User: Justin M

Page 1 of 13 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    2
    Views
    101

    File list box doesn't support object?

    Hello there! I have a file list box called Gamelist that has a list of games/ file pathways.

    I am trying to figure out how to delete the ones I don't want, then search the list to make sure the...
  2. Re: If an item exists in one listbox, remove it from another?

    You guys are terrific! Thank you guys so muaaach.,
  3. Re: If an item exists in one listbox, remove it from another?

    Exactly. :) Here is what I did to test. (thank you for the code BYW :) )

    I start by having all numbers in the uncalledlist, and no numbers in the uncalled list.

    I press a button to remove all...
  4. Re: If an item exists in one listbox, remove it from another?

    Thanks!

    The bingo numbers come from the form load event. I start with all of them. Some games don't need all of them, so I would like to remove the ones I don't need. However some games after...
  5. Re: If an item exists in one listbox, remove it from another?

    You are right. :) I remove say the B numbers because some games don't need them. However after that, the students might want to play a simple game that needs the Bs, so I have to add them back.
    ...
  6. Re: Would like to copy items from one listbox to another? :)

    Fantastic! Thank you all for your help on this. :) :)
  7. [RESOLVED] If an item exists in one listbox, remove it from another?

    Hi there folks!

    I am working on a bingo game, and the students like those other patterns like all around the free where no B's or Os are called. Then they might want to play one line anyway, which...
  8. Re: Would like to copy items from one listbox to another? :)

    Thank you guys!

    I started with the code from post# 7

    Dim i As Integer
    For i = 0 To ChooseGame.YourGameList.ListCount -1
    ChooseGame.YourGameList.listindex = i
    ...
  9. Re: Would like to copy items from one listbox to another? :)

    Awesome! So would it be more like..

    Dim i As Integer
    'First copy the listbox over
    For i = 0 To YourGameList.List
    Bingo75V3.YourGameList.AddItem i
    Next

    :)
  10. [RESOLVED] Would like to copy items from one listbox to another? :)

    Hi there! I am trying to copy items from one listbox to another, but I can't remember what to dim the i as.

    Here is my code.

    Dim i As Integer
    'First copy the listbox over
    For i = 1 To...
  11. Type mismatch when I try to remove a listbox item I click on? :)

    Hello there folks!

    I have a listbox called YourGameList. I make a play list of games I want to play in that listbox, but sometimes I would like to remove an item from that playlist/listbox.

    My...
  12. Re: File not found error. Can it tell me what file it is looking for? :)

    Exactly right on that one. Thank you guys for your help!!
  13. Re: Button would open a window to choose a text file to load into a listbox?

    You guys are awesome. Thank you for your help on this one. :)
  14. [RESOLVED] File not found error. Can it tell me what file it is looking for? :)

    Hi there folks!

    I have a file not found error, when my prog tries to load. A filename is entered into a textbox, so the textbox is part of the pathway. I am trying to figure out what is in the...
  15. Re: Moving items up or down spots in a listbox?

    Oh this is marvelous! Thank you everyone.

    This is sort of related. What if a my listbox was hidden off screen, and I always wanted to have say... the index 0 highlighted by code.

    Would the...
  16. Moving items up or down spots in a listbox?

    Hi there folks!

    I have a listbox called YourGameList

    Sometimes I would like to move an item up or down on the list depending on what game I want to play. If I click on an item in a listbox, and...
  17. Re: Click on a file from a filelistbox and it will put the name of that file in a tex

    :) Ok. It turns out that

    Text1.text = App.Path & "\ResourceFiles\GamePlaylistsMHX\" & GameList.List(GameList.ListIndex)

    will do the trick!!
  18. [RESOLVED] Click on a file from a filelistbox and it will put the name of that file in a textbox

    Hello there!

    I am working on a prog where I have a filelistbox will all of the txt files in a folder. Technically there are only txt files in that folder. Since I could change the text of the...
  19. Replies
    5
    Views
    134

    Save listbox to textfile? :)

    Hey guys! I am working on saving a listbox items to a textfile.

    I have a label caption that has the name of the textfile and its path.

    What I would like to do is when I press the save button is...
  20. Re: Button would open a window to choose a text file to load into a listbox?

    GameList.Path = App.Path & "\ResourceFiles\GamePlaylistsMHX\" & GameList.List(GameList.ListIndex)

    That is what I forgot. NVM :)
  21. Re: Button would open a window to choose a text file to load into a listbox?

    Awesome. So I set the pattern to .txt, Would I put this as a form load event to set the path?

    GameList.Path = "\ResourceFiles\GamePlaylistsMHX\" & GameList.List(GameList.ListIndex)

    ??
    Thanks :...
  22. [RESOLVED] Button would open a window to choose a text file to load into a listbox?

    Hi there everyone!

    Now that I can save student work. I would like to load their answers to see how they are making out in math. I have a simple form with a listbox but maybe a file list box would...
  23. Re: Remove all items from a listbox that have the last character as a 1?

    OHhh I get you guys now. The bottom up works!

    Thanks a lot.

    Since we are all here. Let's say I wanted to remove a specific item from the UncalledList. Like ex: 300. That item could be anyway...
  24. Re: Remove all items from a listbox that have the last character as a 1?

    Whoops I ran into a little prob. :)

    I am getting a next without for error on the code

    Dim i As Integer
    For i = 0 To UncalledList.ListCount - 1
    If Right(UncalledList.List(i), 1) = "1" Then...
  25. Re: Remove all items from a listbox that have the last character as a 1?

    Thanks. It is copying those items into list2, and removes them from list1. The only thing I would like to change is it copies the last parts of the numbers over. (I think). So if I had say all bingo...
  26. Re: Remove all items from a listbox that have the last character as a 1?

    Thank you both, this is fantastic. It works great.

    If I wanted to have it so all removed items from "list1" was put into say list2, would I change the end if code to....

    Dim i as integer
    For i...
  27. Remove all items from a listbox that have the last character as a 1?

    Hello there!

    I am working on a bingo game for students. It turns out student's really like bingo for math review. Anyway I have a list of numbers in a listbox called Uncalled.

    When I press a...
  28. Replies
    3
    Views
    191

    Re: Keyboard shortcuts not working?

    Terrific, thank you
    I was thinking about if other teachers wanted to change the shortcuts. By default, if I press "C" it will do something, but what if I have another character in a textbox. Would I...
  29. Replies
    3
    Views
    191

    Keyboard shortcuts not working?

    Hi there everyone. I am working on an alphabet bingo game. Some of the students are too young to read the buttons on the screen, so I thought some keyboard shortcuts would help, but when I use this...
  30. Replies
    6
    Views
    363

    Re: Can VB6 send me a text on my phone?

    That is a good point you raise there! I don't to do anything ill willed. :)
  31. Replies
    6
    Views
    363

    Re: Can VB6 send me a text on my phone?

    Ok, so I have added CDO for windows 2000 to my project, and found this code on the internet

    Private Sub SendEmail(strEmail, strEpass, strSendTo, strSubject, strTextBody)
    Dim objCDOMsg As New...
  32. Replies
    6
    Views
    363

    Can VB6 send me a text on my phone?

    Hi there. I have a crude, but effective prog in vb6 that checks a website for job postings, and when specific jobs are posted, it will let me know at the computer. If I go out, I would still like to...
  33. Re: Is there a way to go through a listbox to remove duplicates?

    Awesome. Thank you, so I am searching for say 7, I'm trying to figure out where in the above code you posted I can edit the thing I am looking for.
  34. Re: Is there a way to go through a listbox to remove duplicates?

    Ok :) What if the number was ex: 7, and it did find it. To remove the item from the list, how could I code it? I tried to put List1.removeitem "7" but I get a type mismatch error? :)
  35. Is there a way to go through a listbox to remove duplicates?

    Hi there! I am working on a program that records students marks in math, and when specific numbers come it, I look at them for tutoring options. I have a list called list1, and there are numbers...
  36. Re: Is there a way to put the last day of the end of the current month in a label cap

    Oh sorry, I was referring to the line of code

    Debug.Print DateSerial(year(date), month(date) + 1, 0)

    That line prints ex: 2014-05-31. That is good, but I was wondering if either I could get it...
  37. Re: Is there a way to put the last day of the end of the current month in a label cap

    Thank you guys for your help. For the month part, for a single digit like May = 5, it would show up as 05, is there a way to get it to show up as just 5?

    Thanks!! :)
  38. Re: Is there a way to put the last day of the end of the current month in a label cap

    Hey there! I have been using this to get the date number for the current day NightWalker83 like this..

    DayNum.Caption = Format(Date, "d")

    Actually I do the same for year and month too,
    ...
  39. Is there a way to put the last day of the end of the current month in a label caption

    Hi there folks! I am working on a calendar app, and I was wondering, I can put the current date in a label caption called DayNum, but I was wondering if there was trick to put the last day of the...
  40. Re: Replace a / forward slash with a hyphen?

    Marvelous. Thank you for your help!
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.