dcsimg

Search:

Type: Posts; User: Justin M

Page 1 of 13 1 2 3 4

Search: Search took 2.23 seconds.

  1. Re: Is there a way to add 3 numbers above and 2 numbers below a specific label value?

    This is fantastic, thank you, and thank you everyone for your help. This works great, but I just realized I ran into a small issue. Is there a way to have it so no answerchoices go below 0, and if...
  2. Is there a way to add 3 numbers above and 2 numbers below a specific label value?

    Hi there folks! I am making a simple adding game for my students. The basic idea is the students are given a question, and below the question is a label array with 6 elements from 0 to 5. The label...
  3. Re: Cutting off part of a label caption for a multiple choice question game.

    Oh you are marvelous! Thank you so much for your help on this! That totally works! The kids are gonna love this!
  4. Re: Cutting off part of a label caption for a multiple choice question game.

    Ok. :) Sorry, can you tell me where I would declare the line ShowQuestion Qlist.List(lIndex)

    Thank you!
  5. Re: Cutting off part of a label caption for a multiple choice question game.

    I'll give some more info. I press a command button to grab a random question from the Qlist listbox where all questions are stored on formload.

    When I press the command1 button it calls this..
    ...
  6. Re: Cutting off part of a label caption for a multiple choice question game.

    Thank you for the quick response!

    Ok, so now the code looks like...

    Public Sub GETCHOICES()
    Dim sQuestions() As String
    Dim intPos As Integer
    Dim strQ As String

    intPos =...
  7. Re: Cutting off part of a label caption for a multiple choice question game.

    thank you for the update! Do you know how I could set up the loop to put sQuestions into the ChoicesLBL caption array for 0-3?

    Thanks again!!
  8. Re: Cutting off part of a label caption for a multiple choice question game.

    Thank you, I went back to change the question so the commas are preceding the choices, for example..

    How many provinces are there in Canada? ,5 ,10 ,13 ,15* 10

    However, for some reason I am...
  9. Re: Cutting off part of a label caption for a multiple choice question game.

    Ok, so to get the correct answer cut off from the PICKLBL.caption, I used this...

    RightANS.Caption = Trim$(Mid$(PickLBL.Caption, intPos + 1))

    So, now I am looking for how to get the 4 possible...
  10. [RESOLVED] Cutting off part of a label caption for a multiple choice question game.

    Hi there folks! I am working on another review game for my class! :) They loved the first one!

    What I am doing this time, is I am typing a series of questions with 4 possible choices(sort of like...
  11. Re: How to load a textfile into the first column of a listview?

    Awesome, thank you! I am wondering if I did something wrong. My code now looks like...

    Public Sub CmdPickQ_Click()
    With Lvwbook
    ' Post Answer
    ...
  12. Re: How to load a textfile into the first column of a listview?

    Public Sub CmdPickQ_Click()
    With Lvwbook
    ' Post Answer
    For ii = 1 To .ListItems.Count
    b = .ListItems.Item(ii)
    If b =...
  13. Re: How to load a textfile into the first column of a listview?

    This is great! Thank you! My last question is since it will add the abbreviation automatically once it picks the question. Is there a way to have the caption of label1 compared to the caption of...
  14. Replies
    5
    Views
    500

    Re: Save whole listview to textfile

    Yes it is the path I am using. I never knew app.path wouldn't be good to use anymore. I liked how it gives you the drive/folder of the app automatically. So what do people use now?

    Oddly enough,...
  15. Re: How to load a textfile into the first column of a listview?

    Hi there Spoo! Yes! I totally forgot about that line of code commented out. Yes, just to review things quickly in the classroom, I would like it if once a student answers a question like NB, then...
  16. Replies
    5
    Views
    500

    Re: Save whole listview to textfile

    Thank you, that works great for saving.

    In that same post, there was code for loading text back into the listview. I copied it, and I think I changed what was needed for my project,


    Private...
  17. Replies
    5
    Views
    500

    Save whole listview to textfile

    Hi there folks. I am working on a program to test students with their social studies, and I am collecting their data with a listview, and would like to save it in a textfile. I have search the forum,...
  18. Re: How to load a textfile into the first column of a listview?

    Thank you Spoo. I am not getting any errors when I press the Command2 to pick a question. However, the only thing I can't figure out is I am not getting a question in cyan label caption. It's cyan...
  19. Re: How to load a textfile into the first column of a listview?

    Thank you very much Spoo. I think I messed up somewhere though. I get a "wrong number of arguments or invalid property assignment" error. It then highlights Public Sub Command2_Click() in yellow and...
  20. Re: How to load a textfile into the first column of a listview?

    Thank you so much for your help! This is soo cool!

    I hate to bother you again, I am very happy with the way this is working out. I wonder if there is a way to check to see when a student's name...
  21. Re: How to load a textfile into the first column of a listview?

    Absolutely! : )

    AB
    BC
    MB
    NB
    NL
    NT
    NS
    NU
  22. Re: How to load a textfile into the first column of a listview?

    Oh you are awesome! That is working now. :)

    The last thing I am working on is this...

    The same listview has 14 columns. The first column has the student names. The other 13 are all of the...
  23. Re: How to load a textfile into the first column of a listview?

    Ok :), it says i = empty.
  24. Re: How to load a textfile into the first column of a listview?

    Sure, is that when you put a red dot on the left side of code? :)
  25. Re: How to load a textfile into the first column of a listview?

    Sure, my code is pretty much the same as Spooman, but with these differences.

    '
    Dim li As ListItem


    With lvwbook
    ' Post Answer
    For i = 1 To...
  26. Re: How to load a textfile into the first column of a listview?

    Thank you again Spoo!

    I am using your code now, but I must have left something out.

    I am getting an 'element not found" error and it highlights this line

    b = .ListItems.Item(ii)

    Would...
  27. Re: How to load a textfile into the first column of a listview?

    Thank you so much that works great!

    Sorry to bother you, and this is not technically related, but .....

    So the program will randomly pick a student from the same Roster6.txt file to ask a...
  28. Can Vb6 give me the color code of something I click on the form?

    Hi there, I am teaching the students about map keys/legends in social studies. Basically I have a map that has provinces in different colors. To introduce how a map legend works I want the students...
  29. How to load a textfile into the first column of a listview?

    Hi there folks. I am working on a program to keep track of student marks for report cards. I am using a listview, and have it set up the way I want it.

    The first column will have the student...
  30. How can I draw random circles in a picturebox?

    Hi there folks. I am working on a program to teach students how to subitize numbers. Subitizing is a fancy of saying you can look at a random arrangement of items/dots and know what the total is...
  31. Replies
    14
    Views
    1,230

    Re: How to get a pathway from a filename?

    My apologies if I sound like I'm going back and forth :) Yes, I have the filename, but what I am looking for is the pathway that goes before the filename. If I were to enter a filename in a textbox,...
  32. Replies
    14
    Views
    1,230

    Re: How to get a pathway from a filename?

    Speaking of finding a match, I'm wondering if this will help. The sub folders that are randomly used are in a listbox, so I know the pathway up until I get to the subfolder for the specific mp3 file....
  33. Replies
    14
    Views
    1,230

    Re: How to get a pathway from a filename?

    Another idea I just though of, is I don't actually need the full path, as I can use app.path for that. But the trick is the mp3 file in question could be in 1 of 68 sub folders in the app.path.
    ...
  34. Replies
    14
    Views
    1,230

    How to get a pathway from a filename?

    Hi there folks. If I was searching for pathway, I don't really need the filename, but the pathway would be very useful to me, would anyone have any recommendations on how to search for it? Like if I...
  35. Is there a property to make the checkboxes on a checked listbox larger?

    Hi there folks! I am new to checked listboxes, and recently I made the text font larger on the listbox, but is there a property to make the checkboxes larger to go with it?

    Thanks a lot!
  36. Re: Is there a way to show the filenames of multiple folders in a listbox?

    Ok, I think........ this is working for me I just tried two paths and it worked on that... :)

    Dim i As Long

    For i = 0 To UsingList.ListCount - 1 'loop through the items in the ListBox...
  37. Re: Is there a way to show the filenames of multiple folders in a listbox?

    Ok, thanks for the idea. I am going to try to copy the filelistbox first.

    So I tried out this..

    Dim i As Long
    For i = 1 To ListOfFilenames.ListCount

    TotalFileNamesList.AddItem...
  38. Is there a way to show the filenames of multiple folders in a listbox?

    Hi there folks! I am working on a program where in 1 listbox there are a bunch of folder pathways. In a second listbox, I would like to display the file names of all of the folders listed in the...
  39. Can a filelist box have more than one path added to it?

    Hi there folks! I am updating a spell a word app that uses mp3 file in a filelist box. I would like to add more customization for teachers, so if they only want to use certain words, they select them...
  40. Re: Save checked selections from a listbox?

    Thank you all for your help on this!!
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width