Traverse Listbox Items -
Hi all,
I have a databound listbox and I want to traverse all the items in the listbox with a loop. For example, I want to print all the items of the listbox in Message Boxs one by one.
Thanks.
Traverse Listbox Items -
Hi all,
I have a databound listbox and I want to traverse all the items in the listbox with a loop. For example, I want to print all the items of the listbox in Message Boxs one by one.
Thanks.
Saving Items(Please Reply ASAP) - Challenging Question - New Posts Need -
First of all, I have a listbox. There could be more than one items in the listbox. I want save all those items in the listbox and then display them in a picture box at the end. The problem is that i cannot print the items in the picture box at the same time when the listbox is populate
[2005] caching listbox contents -
ok i a have a combobox (category)...and a listbox(items) when i choose a category..the items for that category is listed in the listbox... the items are take n from a text file.... there are a category which has a lot of items (like 6000).... so it takes some time for listbox to fill u
Traverse Folders/Subfolders -
I have a problem with traversing through all folders/subfolders in a given media (etc cd-rom, hdd). I want to display the names of all files in all folders and subfolders in a listbox. Even though i am using application.doevents(), i seem to be able to traverse the folders once. I have
Listbox - help needed -
I have a listbox with style property set to 1-Checked.
I populate the listbox with records in a recordset.
Then I select some of the items in the listbox.
Now what I want is- I want to be able to display the listbox with the selectd items having their checkboxes ticked every time
Add more items to a listbox and keep the old items -
I have a value in a listbox. But I wanna add more items into the listbox and keep the old items. The new items should be added to the right side of the old values on the same row separated with VbTab.
Send al the items that are in a listbox -
Hi,
How do i send the items, that are in a listbox to another
listbox over the internet ( i know that you need winsock etc..)
but how do i send the items ??, The items that are in the
listbox change over time, because there will be ip addresses in it
from connected clients.
requiredvalidator on listbox: validating whether the listbox has items or not -
I think a requiredvalidator applied to a listbox validates whether the listbaox has an iemselected or not, meaning that if I have items on my listbox but none is selected then the validation fails.
Instead of that, I want to implement The following behaviour :
If the listbox cont
Listbox Issue -
Hi gang,
I have a listbox on a form. The listbox takes litteraly thousands of items in a day. What I want to do, is when the items get to the bottom of the listbox, the listbox automatticly scrolls down to show the last entry. Any help would be great.
- Darren
Loop through all items in listbox -
Hi all,
I've found abunch of posts regarding looping through selected items in a listbox, but none regarding looping through all the items in a listbox. Basically, I want to get the value of every item in my listbox. Anyone know how I can achieve this? I'm using VB 2005.
Thank
insert items in a listbox -
I may be confusing Delphi with VB, but I thought I have previously had a listbox where I could insert items into the list a certain points. I cannot see how to do that in the standard listbox. Are there other listboxes on the market that allow inserts rather than adds?
Also, is ther
How to Get selected items in a listbox - help needed -
pls how can you get the selected items in a listbox;
say you have a listbox that has the Multi-select property set to true -
if your listbox have like 30 items in it and the user selected 1 - 12 or still better all
how can you get the value(text)/ItemData of the selected items.
Items not refresh in ListBox -
Hi all,
I have binded a listbox with an ArrayList by setting the DataSource, DisplayMember and ValueMember properties. Listbox is working fine, but when new items are added or removed in the listbox, I recall the function which bind listbox with ArrayList but the changings are not
60,000 items in listbox -
How can I list morethan 32768 items in a listbox? I need to show 60,000 items. Or is there any alternative to solve this problem (other than using another listbox in the same position of first and switching between the two)?
Thanks,
Jain
bubble sorting -
what is going on exactly in this code? i know its sorting but i dont know how it is and what the steps its taking to sort. Could anyone help me?
Code:
Dim sorted As Boolean = False
Dim t As String
Do
sorted = True
For i As Integer = 0 To ListBox.Items.Count - 2
If CDbl(ListB
ListBox DataSet Urgent Problem -
I have two ListBoxes in my VB.Net Form.Each ListBox is connected to a DataSet.
Between ListBoxes there are two Buttons .. You Know "<<" And ">>". I transfer data from ListBox to another by the following code:
1. Get DataViiew of First ListBox . Then I
Listbox add items to the top. -
hi, i am adding items to a listbox like:ListBox1.Items.Add("test")
and i was wondering if there is a way to make it add items to the begining of the listbox instead of putting it at the end. Thanks
How to highlight the last item in ListBox -
Is anyone could show me how to keep the recently added item in ListBox highlighted (selected) so that it is shown on screen?
By simply using the AddNew method to add items to ListBox, the ListBox always shows the few items at top (starting from item0,1 and so on). After filling the t
Listbox control, HELP!!! -
For our school, i've got to create an application that uses a listbox. This application has to be created so that a user can add items (words/numbers/ect.) to the listbox, edit these items (change letters/completely change that item) and delete items. The user has to be able to dub
add and remove items in a listbox -
I have been trying to make a listbox in which, everytime clicking a button a new item is added. And also, there is another button which removes selected items from the listbox. I've been unable to do both....
First. I tried to add 4 items in a row for 4 colums. The problem is that .Li
listbox breaks my head -
anyone here knows how to removeitems from listbox A while matching values of listbox B? see below..
Listbox A Listbox B
a c
b a
c
slow listbox -
I have a collection that can contain 10,000 or more items. Each of these items has a string entry summary in a listbox.
The problem that I have is that if the information in one of the collection items changes I have to update the corresponding string summary in the listbox. This me
Showing the latest item added to a ListBox -
Hi,
I have a listbox to which I'm adding new items. The listbox is high enough to show 6 items without having to use the scroll bar.
When the listbox gets more than 6 items, I want it to scroll automatically to the bottom of the list to show the latest items without having user to
filling a listbox -
Hi all,
in ACESS i'm trying to do the following:
on a form i have 2 listboxes.
listbox ''A" is filled with data from a table or query
and listbox "B" is emtpy.
The idea is that the user can select on or more lines/items from listbox "A" . When he pre
oracle recordset in sql -
Hello, please help
I have several listbox in my visual basic 6 application with data from an oracle database. The listbox items come from a recordset based on a sql sentence.
I do multiselection on those listbox and the selected items are visible in another listbox. My pourpose is
[2005] history files... -
hi i am making a webbrowser and i have some combobox items...some listbox items....2 listbox filled with items actually...i want to know how to save this items, i know how to do this in a text file but i want to know if there is anyother way to do this.. i would like in a database but
populate same listbox in the two different jsps -
I have a listbox that is populated into the JSP dynamically. User will be able to select two or three items from the list box. When he hits submit button. The same listbox should appear in the next JSP Page but without the items that were just selected. There is no need to update the d
How do I display everything in a listbox with a msgbox -
I'm using Visual Basics.NET 2002.
My form has 1 ComboBox, 1 ListBox and 3 Buttons.
Private Sub form_load...
ComboBox.Items.Add("Cherry")
ComboBox.Items.Add("Grape")
ComboBox.Items.Add("Mango")
End Sub
Private Sub ComboBox1_SelectedIndexChanged..
VB6 Listbox - need to load thousands of items -
I need to load thousands of items into a listbox.
Currently I am reading records from an Access database and adding them to the listbox.
This is very slow.
What is the fastest way I can add thousands of items to a listbox in code?
Using VB6
Urgently: Populating a ListBox with lots of items in VB.NET -
Hello,
i'm having a problem populating a ListBox.
I have a prog with 5 For...Next cicles, that generates combinations of X numbers.
The problem is, when i tried to populate a Listbox with the resulting combinations, the Listbox doesn´t put the combinations one by one in it, i
TabControl problem -
Ok hopefully I will explain this correctly,
My user adds items to a listbox say three items.
This determined the number of tabs to add. This works.
My problem is when I try to For loop to add captions to each tab strip, based on the three items in the listbox, The 1st tab show
Selecting Multiple Listbox Items-RESOLVED -
I have a listbox that needs to show what items are selected based on what is stored in a database table.
The items in the listbox are objects of a custom class I built.
I am using a For Each Loop to check if the value in the database matches one of the object.value in the listbox i
What is shown in a listbox -
I have a list box that users can check and uncheck items in. I want to be able to add a dropdown box that the user can select what is shown in the listbox - All Items, Only Checked Items, Only Unchecked Items.
[2005] Highlighting a listbox item -
Hi to all,
i have a listbox that have a lot of items and i would like to give the user the
ability of searching through those items by just inserting the items name in a textbox and then press a button, and the item that the user inserted on the textbox will be highlight on the l
Removing certain items from a listbox -
Hi there i have a listbox called list11. I was wondering, since it contains file locations like c:\windows\notepad.exe , these items go into the listbox on a formload event.
Is there a way to go through the items and remove any that contain the text "windows/system32" ?
hard Question!, well, for me anyway!!!! -
i have items in an array that i am displaying in a listbox.
I need to then select certain items and put them in another listbox/textbox. This is done because the customer chooses items they want to order(eg:book).
Has anybody got any examples of this please....pretty please
1
get text from list box -
OK, I'm feeling really stupid. I'm using the VB.net ListBox control and I want to get the text of selected items listed in the ListBox, but I can't figure out which property or function can do that (looking for equililant to ListBox.List(Index) in VB 6.0) I've tried ListBox.GetItemTe
Checking items in a listbox -
I have a listbox whose style property is set to 1 - Checkbox. The problem is that I can't seem to find anything that will let me check and uncheck items through code. If possible, I would like to be able to gray out some items. Any help is appreciated
[2005] Selecting Multiple ListBox items -
I have a listbox in which the user has the option to select 1, multiple, or all the items. I have a checkbox that when checked it will select all the items in the listbox. My question is, when the user selects the checkbox, how can I visually show the items being selected (each item is
Printing listbox items -
i have created a listbox called lstarmylist that contains sevral items. how do i print those items out?
ty for your help
edrick1220