listbox

  1. O

    ListBox & Several Timers

    How do i make a ListBox with the addition of each item, the item be removed after 4 seconds? Added time and number of items is unknown. Other parts of the job application should not be hampered. I know that thread should I use, but I do not know. Thanks for your help
  2. H

    How to loop through nest controls in ListBoxItem to find a TextBox?

    Hi everyone, Firstly, thank you for taking the time out to read this post. I'm having trouble trying to loop through a WPF ListBox control to find a nested TextBox in VB.net 3.5. Here is my UI structure: TabControl > TabItem > UserControl > Grid > ListBox > ListBoxItem > Grid > TextBox...
  3. mikejs

    Mp3 Player problems

    Hello I have not coded for a while so i thought I would build an Mp3 player to get the grey cells working again, I have used a number of sources to create what I have so far I am stuck with a few problems this is my entire source Imports System.Drawing Imports System.IO Imports...
  4. S

    Question Scrollbars dissappear from ListBox when Form Resized

    Hi, I have an issue with some code that has been written in house at my company. As this is company code I feel I can't paste an example but I will try and describe the issue as best as I can: .NET 2.0, Visual Studio 2008 Issue does not appear on XP or Vista, but can be recreated easily on...
  5. B

    Datatables & Listbox problem part 2

    Hi All, As per my previous thread I'm having huge trouble getting some data to display in my listboxes. The btnInvoice gives me "There is no row at position 17." Obviously my logic has gone awry, as I'm certain there aren't that many items. Any ideas very welcome!! Relevant Code below...
  6. B

    Question Datatables & Listbox problem part 1

    Hi VB Legends, I've been struggling with a program to access a database with three tables and present some of the information in a couple of listboxes. I'm afraid my brains turned to mush and I can't find anything that seems to help. Any assistance very welcome. When I push the btnOutOfStock...
  7. theirresistibleforce

    Listbox question

    Hi everyone, Kinda new to this forum and got a question. I'm making a program that takes common applications and installs them silently using batch files. Someone would select the programs they would want to install and my program will write a giant batch file and execute it to install...
  8. B

    Resolved ListBox.Items.add; how to add at the top?

    I remember in the old VB6 that there was something simple as listbox.add("my string", 1) This '1' would meant the position I want it to be added, which means 'the top' ... I'm sure it sounds newbie... but hey, what a heck... I'm only been programming .net for a few months. Any one ??? :cool:
  9. F

    Question Checkedlistbox Refresh/generate

    i want to learn/know 2 things 1. I want to know how the checked list box can get generated by a folder full of mp3's 2. I want the search funktion to refresh the list so it is only the typed in textbox1 that are showed but in the same way it is now i use 1 textbox and 1 checkedlistbox Public...
  10. froodley

    Controls changing size for no reason

    Hey, all, Having another issue I'm hoping you can help with. My program has two lists, one a listbox and the other a listview viewed in details mode. Both of them change heights (get taller) for no obvious reason. I am having to add a call to a method that resizes them to the end of every...
  11. M

    Question Progressbar help

    Hi, for my school project I have to make a ordering form similar to that of McDonalds using visual basic. I have just added a progress bar and programmed it to start when I click the checkout button after choosing everything you would like to order and am just wondering how i could possible add...
  12. E

    Listing .rar-files, simple question

    Hi I'm having a problem when I list .rar-files into a ListBox. I can list .rar-files OK from subdirectories, but I need help when I want to determine if the file is actually the first part of .rar-archive. The new .rar-format packs files like: Archive.part01.rar Archive.part02.rar...
  13. C

    Question Adding ListBox to a new TabPage during run-time, control does not appear?

    I have a tabgroup with 2 tabs. During runtime, I wish to add new ones. Though I can get the tabs added, I cannot seem to add the ListBox that is supposed to go with it. In the code below, I added '*' to indicate a line I added to try and fix the problem, but (obviously) don't work. Dim newTab...
  14. S

    Listbox Items Do Not Refresh

    I am adding an object to a Listbox which has the properties "ID" and "Text". I have set the "DisplayMember" property of the Listbox to "Text" and "ValueMember" to "ID". Everything works fine when I add a new item to the list, but when I edit the item and change the "Text" value, it is changing...
  15. Y

    Resolved Readline error?

    First off, apologies if this is located in the wrong forum! I'm new to the community, and haven't quite familiarized myself with everything yet. Anywhoo, I'm working on a small, simple program to take orders based on menu items and calculate the price. The menu is stored in a text file. When...
  16. K

    How can I benefit from a listbox in a detailsview with a many-to-many relationship

    Hi, I'm trying to design a detailsView form which contains [classes] --< [studentClasses] >-- [students] tables. There is a many to many relationship between [classes] and [students] through the third table [studentClasses]. I want to design the detailsView of [classes] such as that all...
  17. G

    Question Grabbing info from listbox into textboxes.

    Hey guys, i am currently working on a form that looks like this: When i click on any textboxes under Plan Code, the plan form will pop up. When i click on a field in lbType, field will appear in my lbCode. When i click on a field lbCode, i want to be able to insert information into the...
  18. G

    Question Set Listbox Checked problem on load, activate, shown event

    Hi, I've been having a problem setting certain items in a listbox as checked when the form is loaded. I have tried putting the code in the form_activate, form_load, and form_shown events and each still crashes when it encounters: Dim m As Integer = 0 Me.lstLineLayers.SetItemChecked(m...
  19. A

    Question How do I save Listbox items in a My.Settings code?

    So, I have created this program and I want it to save the items that can be added into the list box with the My.Settings codes. (So every time I open the program the items will be there) Thanks so much! :) I really need help!
  20. D

    sequential textfile help

    i'm trying to load a sequential text file into a listbox, and for some reason it won't move onto the next line? instead i get square characters instead it appears like where the square characters are, i want it to be an extra line as opposed to just that? here's the code: here's what the...
Back
Top