Search:

Type: Posts; User: Justin M

Page 1 of 13 1 2 3 4

Search: Search took 0.12 seconds.

  1. Loading a form on the same screen / monitor as main form?

    Hi there folks. I was getting into extended monitor set ups, and had a program written years ago with lots of forms. I was wondering, if I wanted to run a program on screen 2, and then have all forms...
  2. Re: Find the average value of a listbox

    This code for example will add up the total sum of the items in the listbox.Dim I As Integer

    Dim tot As Integer
    For I = 0 To AnswerList.ListCount - 1
    tot = tot + Val(AnswerList.List(I))
    Next...
  3. [RESOLVED] Find the average value of a listbox

    Hi there everyone. I am working on a math program to record students answers to a program. I am looking into getting the average value from a listbox of answers called AnswerList.

    Basically, I am...
  4. How can I loop through listboxes to write the same list index to the same textline?

    Hi there folks! I am working on saving Math data my students are entering, into a textfile so I can view it later. I have 3 listboxes. StudentNameList, StudentAnswerList, StudentMarkList.

    Here I...
  5. Re: Is there a way to use a listview without dependency? Or a work around?

    Hi there and thank you for you help. I'm going to try the manifest idea. I need to create the manifest file with the Microsoft Common Controls 6.0 (SP6), and the Microsoft Tabbed Dialog Control 6.0...
  6. Is there a way to use a listview without dependency? Or a work around?

    Hi there everyone. I am working on a program to test students in Math. The program records the results in a listview. The program works great, however on my school laptop, it needs a few ocx files...
  7. Re: Adding a label caption to the first column of a listview.

    Thank you for your help. My code now looks like this..

    'This code will add the answer to the data collection LISTVIEW for current activity'

    ' Step 1 add the students name
    Dim li3 As ListItem...
  8. Adding a label caption to the first column of a listview.

    Hi there everyone. I am working on a program to record my students marks from a math test. I am setting up a listview, it is called ListViewDataCURRENT. Student are shown a question and their answer...
  9. Re: Is there an easier way to download a folders contents from a website?

    I have a follow up question. If I did use winsock to get a directory listing, how would I do that? : )
  10. Re: Is there an easier way to download a folders contents from a website?

    Both of your ideas sound good! Can vb6 extract zip files? :)
  11. Is there an easier way to download a folders contents from a website?

    Hi there folks! I am working on a program to teach my class at home. So far the program will download a textfile each day that has a list of workpages. Then the program reads the textfile, downloads...
  12. How to loop through a listbox and download each item in the listbox off the internet.

    Hi there folks! I have a list of schoolwork that I would like the students to work on at home, the list of school work is in a listbox called DownloadList

    I loaded the list list like this...
    ...
  13. Re: Can VB6 download an entire folder/directory from my website, and save it to the a

    Hi again! I am experimenting with downloading a textfile that includes a list of all of the files to be downloaded for the day's school work.

    Once downloaded, the file is loaded into a listbox. ...
  14. Re: Can VB6 download an entire folder/directory from my website, and save it to the a

    Thanks, so I added the line, so my code looks like this now...


    Dim sSourceUrl As String
    Dim sLocalFile As String
    Dim hfile As Long

    sSourceUrl =...
  15. Open the most recent file in a folder of files with the default program?

    Hi there folks. I am working on a program for students to do their classroom work at home. Anyway, I have weekly newsletters of what they will be learning for the week. I use shellexecute open them,...
  16. Re: Can VB6 download an entire folder/directory from my website, and save it to the a

    Another small issue I have with the above code is that I'm try to test it out with a single pdf file.

    When I use the code, it downloads the pdf file, but it gives me a debug error "input past end...
  17. Re: Can VB6 download an entire folder/directory from my website, and save it to the a

    Thank you, so I went on this page and found the code to use URLDownloadToFile

    Option Explicit

    ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
    ' Copyright ©1996-2011...
  18. Can VB6 download an entire folder/directory from my website, and save it to the app?

    Hi again folks! I have another question about a program I am working on to help my students do their math work at home. I have a website that I put work on, but would like to have it so the program...
  19. Download an image from a website and display it in a picturebox or imagebox?

    Hi there folks. I am working on a program so my students can still access schoolwork from home. I was wondering, I have uploaded a picture (jpg) on my website. I would like the program to download...
  20. Re: Draw on a picturebox in a chat program, and other users can see and draw on it to

    Lol, thank you guys for your help so far. I have slept on it, and tinkered with the idea, and to make it easier to do, I will try to get the students to either type a message in the chatbox to go in...
  21. Draw on a picturebox in a chat program, and other users can see and draw on it too?

    Hi there folks! Due to the health crisis going on and the schools closed, I need to think outside the box to keep educating my students. I am working on an idea that is similar to a chatroom, but...
  22. Re: How to get just the pathway from a pathway and a filename? :)

    Thank you all for your help!
  23. [RESOLVED] How to get just the pathway from a pathway and a filename? :)

    Hi there folks! I am working on a game for the classroom. I have a pathway and a filename, and I just need the pathway from it. I know about using Ubound to split the path and filename... like...
  24. 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...
  25. 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...
  26. 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!
  27. 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!
  28. 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..
    ...
  29. 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 =...
  30. 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!!
  31. 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...
  32. 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...
  33. [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...
  34. 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
    ...
  35. 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 =...
  36. 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...
  37. Replies
    5
    Views
    844

    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,...
  38. 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...
  39. Replies
    5
    Views
    844

    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...
  40. Replies
    5
    Views
    844

    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,...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width