Search:

Type: Posts; User: GetOverHere89

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Re: Explaination of this For Next Statement?

    OK thanks I will work on this. Like I said, everything there was given to us by our teacher on step by step instructions. But I will go through it all like you have said and figure it out. I...
  2. Re: Explaination of this For Next Statement?

    The reason my code is done the way it is is because that is what my teacher gave us. He kind of just laid out step by step instructions on how to make this project, but he isn't very clear so I don't...
  3. Re: Explaination of this For Next Statement?

    anybody figure this out? I still can't figure out what I'm doing wrong with it.
  4. Re: Explaination of this For Next Statement?

    I see. Well this is what I have that is causing the error. I'm not sure what needs changed to make it work.

    Public Class frmPos

    Private ItemNumber As Integer
    ...
  5. Re: Explaination of this For Next Statement?

    Hmmmm...well I thought I had all of it set correctly but maybe not. I will try a few more things and if I can't figure it out then I will post the code and see what I'm doing wrong.
  6. Re: Explaination of this For Next Statement?

    Ah I see. I was wondering what the purpose of this would be. So if I already had the text set in the buttons properties menu and then put this code in, would it cause an error? Because that's what I...
  7. Re: Explaination of this For Next Statement?

    Ok, that's what I thought but I wasn't sure. Thank you sir!
  8. Re: Explaination of this For Next Statement?

    This is for a different program but it is similar to the last one. So basically if I have all the names for the buttons already set directly into the text property from the properties menu, then I...
  9. Explaination of this For Next Statement?

    My teacher gave us the code below along with the explanation. I don't really understand what he means though. What is this code doing?
  10. Replies
    2
    Views
    795

    Re: remove button is not working

    Yes it does! Thank you Ian!
  11. Replies
    2
    Views
    795

    remove button is not working

    I have a phone numbers program that shows a list of names and when one is selected it shows the corresponding phone number in a label. I also have to be able to remove a name though. My remove button...
  12. Replies
    4
    Views
    825

    Re: lists and listbox controls

    .paul thank you very much. For the remove portion I didn't realize I needed an At on there. And the other part I really had no idea. Thanks a lot!
  13. Replies
    4
    Views
    825

    lists and listbox controls

    I am creating a program using a list and a listbox control. I need to be able to have the program start with a list of 10 names, then I have a text box to input a new name and a button that will add...
  14. Re: Assignment due tomorrow and I am extremely confused

    Ok cool. I kind of figured that out by messing around until I got it to work, but your explanation helped clarify some things. With the tool tips, how do I set them? I tried doing ...
  15. Re: Assignment due tomorrow and I am extremely confused

    when you are talking about using the sender property, I'm not really understanding what that does? And when I do it do I do that for each individual check box?
  16. Re: Assignment due tomorrow and I am extremely confused

    I was thinking of it completely differently. I knew it was rows and columns but i wad confused about them. Now it makes sense to me.
  17. Re: Assignment due tomorrow and I am extremely confused

    This is awesome! Thank you so much. I think my main problem is that I'm having a hard time visualizing and understanding how a multidimensional array works. I was thinking of it in terms of the...
  18. Re: Assignment due tomorrow and I am extremely confused

    I'm at work and don't have access to the program right now but it has 36 check boxes-4 across, 9 down, representing the seats. Then I have 4 check boxes for the 4 destinations. I have labels for the...
  19. Re: Assignment due tomorrow and I am extremely confused

    Hmm I see. Well I'm sorry then, I thought they were getting shut down for some reason.

    Anyways, can anyone help me with this program?
  20. Re: Assignment due tomorrow and I am extremely confused

    Maybe I am mistaken, what does it mean when they show as orange? I figured that meant they were closed because people were answering questions and then all the sudden once it turned orange I wouldn't...
  21. Assignment due tomorrow and I am extremely confused

    I have posted this about 4 times and get different answers every time and before I can clarify any further the thread gets marked as "resolved". Please do not close this until it is finished! I am...
  22. Replies
    7
    Views
    1,135

    Re: Still having issues

    I did some changing around and tried to fix some things and now it won't do anything. I am supposed to have everything for the seat controls in one procedure. But my procedure doesn't work and I...
  23. Replies
    7
    Views
    1,135

    Re: Still having issues

    For example, is this going to work to assign the values to the 4 first class seats, the 8 business class seats, and the 24 economy class seats?

    For i As Integer = 0 To 3
    ...
  24. Replies
    7
    Views
    1,135

    Re: Still having issues

    I have been trying to figure out how to loop a multidimensional array, but I don't understand how to do it. Wouldn't I need two variable? 1 for the first subscript and 1 for the second? If I do it...
  25. Replies
    7
    Views
    1,135

    Re: Still having issues

    Ok so I called the function but I'm still getting 0. Are my if statements to add the ticket price into the TotalFirstClass or TotalBusinessClass variables correct?
  26. Replies
    7
    Views
    1,135

    Re: Still having issues

    I literally woke up in the middle of the night and realized this. Guess I just needed to step away for a little while. Any ideas on any of my other issues?
  27. Replies
    7
    Views
    1,135

    Still having issues

    I am still having issues with my flight seating chart program. I found out that I am supposed to have the user input the name of the passenger for each seat as it is selected, and also get the choice...
  28. Re: very stuck on a program, need major help!

    My teacher said we are not supposed to assign the check boxes to the array, but assign a number to the tag property to associate it with that number seat...but I don't really understand how to do...
  29. Re: very stuck on a program, need major help!

    This was a huge help. I do have another question though. I misunderstood how the program was to be done. I'm not supposed to assign the name and meal of each person to each seat. I need to have a...
  30. Re: very stuck on a program, need major help!

    This did help clarify a lot. What about setting the classes for certain seats? For example, I need 4 first class seats, and the cost for them would be (TicketPrice*4), but I don't know how to assign...
  31. Re: very stuck on a program, need major help!

    here is what I have so far. As you can see there is a lot commented out...:

    Option Strict On
    Option Explicit On
    Public Class frmMain
    Private SeatingArray(8, 3) As CheckBox
    Private...
  32. very stuck on a program, need major help!

    I have a program with 36 check boxes in a group box, 1 for each seat of an airplane. Then I have 4 more in another group box for each of the possible locations of the flight. There are 4 first class...
  33. Replies
    5
    Views
    963

    Re: assigning arrays to check boxes

    Anybody have any ideas on this? I am completely stuck and I haven't even really started. I was told I need to set the 0 index to the passengers name and index 1 to the meal for each seat? I'm not...
  34. Replies
    5
    Views
    963

    Re: assigning arrays to check boxes

    I set the names and meals to each part of the array, but I'm not sure I'm doing this right. Here is what I have:
    Option Strict On
    Option Explicit On
    Public Class frmMain
    Private...
  35. Replies
    5
    Views
    963

    Re: assigning arrays to check boxes

    well I don't really have much...but here ya go.

    Option Strict On
    Option Explicit On
    Public Class frmMain
    Private SeatingArray(8, 3) As String
    Private LocationArray(3) As Integer

    ...
  36. Replies
    5
    Views
    963

    Re: assigning arrays to check boxes

    Also, when I try to assign things to each index of an array, it is underlining the array name and saying declaration expected. I don't understand why...?
  37. Replies
    5
    Views
    963

    assigning arrays to check boxes

    If I have a large number of check boxes that I need to assign to a two dimensional array, do I need to do each one individually or is there a quick way to set each one all with a couple lines of code?
  38. Thread: Timers

    by GetOverHere89
    Replies
    2
    Views
    918

    Re: Timers

    Ah I see. I had thought that was all I needed to do but I was using the wrong property. It was on a picture box and I was disabling and enabling it instead of using the visible property. Thank you!
  39. Thread: Timers

    by GetOverHere89
    Replies
    2
    Views
    918

    Timers

    Is there a way to loop timers? Say if I want something to show for 3 seconds, then disappear for 3 seconds, then show again and do this over and over? I'm just playing around trying to learn some new...
  40. Replies
    7
    Views
    8,342

    Re: assigning arrays to a list box

    Sorry I didn't see your first post before I replied. Thank you for your help. I've never used Arrays before and I've barely used list boxes. This was a huge help!
Results 1 to 40 of 73
Page 1 of 2 1 2



Click Here to Expand Forum to Full Width