144 Topics

Member Avatar for
Member Avatar for taekiewzz

Form1 is a pop out windows from Form2. Form1 has a listbox1 with items and when I clicked the 'Continue' button in Form1, it will pass all the items in the listbox1 to listbox2 which is located in Form2. I would like to ask how the button_click in Form1 will …

Member Avatar for tinstaafl
0
2K
Member Avatar for SLMQC

Using Visual Basic 10, and I am trying to identify min/max statistics and display the results. My calculations are working, but the display is not (line 68 & 80). With the way the code is written now, I don't get the error but my results are displayed as "The minimum …

Member Avatar for SLMQC
0
406
Member Avatar for mlesniak

Hello. I have a listbox that I would like to display and I would like to set a default selected item, which I will not be able to determine until run-time. Is it possible to set a default item in the program code? I have looked at the Index property …

Member Avatar for mlesniak
0
162
Member Avatar for luma64

I display records from one table. On every rows I add 2 columns (type of listbox). They are filled from another tables. How can I save choiced values from listboxes after Save? <!-- Anesteziolog --> <form name="myForm" action="cos_den.php" method="post"> <?php echo"<td >"; $cpquery = "Select anesteziolog from anesteziolog order by …

Member Avatar for luma64
0
134
Member Avatar for willshed

I am making a workout software, and it holds multiple accounts. The acounts are saved in a directory like: C:\Software Name\athletes\John Smith\ C:\Software Name\athletes\Veronica Shelby\ C:\Software Name\athletes\Tyler Front\ I want the ListBox to list each name (i.e. John Smith, Veronica Shelby, etc.) as its own item. I need it to …

Member Avatar for tinstaafl
0
220
Member Avatar for vb_newbie

hello, this is my first post here. I'm working on my movie library project now in vb2008. I have a form with 3 listboxes, a remove button and find button. Listbox1 is populated with names of actors from a table in the mysql database and selection mode = one. User …

Member Avatar for vb_newbie
0
1K
Member Avatar for mohan564

i want to select values from database.that values should be displayed in listbox. <Thanks in Advance >

Member Avatar for Ketsuekiame
0
129
Member Avatar for poojavb

Hello, I am stuck with this problem.... I have few folders that contains a filename as **registration.txt** --- note the folder names are different since as and when a new user will register a folder gets created with its name and then the text file with the details of the …

Member Avatar for tinstaafl
0
377
Member Avatar for Hendo

Hello all! So, I'm giving a demo of a program that I've written for my boss. The program is loaded with test code that I use to ensure various options an routines are set properly, and show up in a listbox in the application (was going to remove it once …

Member Avatar for tinstaafl
0
1K
Member Avatar for leyla

I was just wondering if there was any way to validate a listbox into only allowing a letter to be entered once, no matter the case. I am making a Hangman game and I only want the user to be able to enter a letter once, but I want the …

Member Avatar for leyla
0
678
Member Avatar for peepas

Windows Forms - C # I wonder edit text / numbers that I have added to a listbox. I to display the names in the listbox use this code *listBox1.DataSource = itemsfim;* To add one more name in the ListBox use: *itemsfim.Add ("Jorge - Portugal");* Now I would like to …

Member Avatar for tinstaafl
0
203
Member Avatar for littledevils326

not sure how to write the code for this. i have two forms, one is the main form which has a listbox containing data which is loaded in from a text file. the other is a delivery form. when the user select an item in the list box and click …

Member Avatar for vicprogrammer61
0
980
Member Avatar for magord86

I'm trying to switch "M" to "Mr." and "F" to "Ms." when the last name is selected in the listbox. When I clicked on the first name it worked, but when I clicked on anyother name, I got this error message: --Additional information: Index was outside the bounds of the …

Member Avatar for magord86
0
277
Member Avatar for magord86

If someone can tell me what I'm doing wrong I would greatly appreciate it. I have a listbox of all the US states and an array of the capital of all the states. What I'm trying to do is when the state is selected and the button is clicked, then …

Member Avatar for Reverend Jim
0
676
Member Avatar for CooRay

I am trying to search a dataset I have populated from several XML files for certain words in each column. The dataset table is "item" and the columns I want searched is "descritption". "description" are several articles from an rss feed. I want to search the articles for sports players …

Member Avatar for G_Waddell
0
277
Member Avatar for judd

Hai Experts, I am having difficulty in saving/storing multiple values in a listbox. Briefly, I have a combobox to choose from, where the value selected will be added to a listbox. From the listbox(with multiple entries),I wanted to save it to a field in my SQL DB. I've been stuck …

Member Avatar for Nicholasamarq
0
2K
Member Avatar for guilherme.carvalho.9250

Hello everyone, Im a beginner in vb.net and currently Im developing a program where i save date to a txt file like this Reminder#dinner#26-07-2012 19:52:00 and show it in a listbox(all the lines in the txt file). What i want to do is to select a line(item) in the listbox …

Member Avatar for guilherme.carvalho.9250
0
2K
Member Avatar for ziyaddinsadigov

Hi, I want to make array with loading text file and display it in ListBox. I used this code: Dim strFileName() As String '// String Array. Dim tempStr As String = "" '// temp String for result. strFileName = IO.File.ReadAllLines("C:\zel.txt") '// add each line as String Array. For Each myLine …

Member Avatar for Pride
0
1K
Member Avatar for ssreevidya.m

Hi, I have a listbox with databinding . It has more then 15 items . And I need to auto scroll to the selected item may be item 10 in the code file I used a jQuery like <script type="text/javascript" language="javascript"> function LstFocus() { $('#<%= LstBoxClasType.ClientID %>').find(':selected').filter(':first').focus().attr("selected", true); } </script> …

0
83
Member Avatar for leyla

Hi, I have made a code where I write a recipe to a file and then I can read from the file and it is output in a listbox. I need to allow the user to change the amount of people served and then the quantities change to suit the …

0
111
Member Avatar for Iamkenny

Hello people. Ive got a problem with a listbox of mine. I have three lisboxes, one listbox1 is for product category, another lisbox2 is for the product itself in which it will appear after the user has chosen a product category AND another listbox3 which acts like a shopping cart …

Member Avatar for Oxiegen
0
241
Member Avatar for Iamkenny

System.Data.DataRowView Hello people. Ive got a problem with a listbox of mine. I have three lisboxes, one listbox1 is for product category, another lisbox2 is for the product itself in which it will appear after the user has chosen a product category AND another listbox3 which acts like a shopping …

Member Avatar for Reverend Jim
-1
162
Member Avatar for ms.chips

I am working on a class assignment and I'm stuck. I would like to copy listBox2(from Form1) to listBox3(from Form2). The code I have now compiles, but it does not copy the listBox2 to listBox3. Also, when I click btnAdd in Form2 is adds txtnewcourse.txt(from Form2) to listBox2(from Form1) not …

0
73
Member Avatar for Joshua Kidd

Hello, I have a listbox in my program and I want the user to be able to remove all Listbox Items with the click of a button. I Figured this would work, [CODE]Listbox1.Text = ""[/CODE] But I Guess that doesn't work. Any Help would be awesome:)

Member Avatar for mhosny
0
251
Member Avatar for tukky

Hey guys, Im currently doing another small project where i have to create a web broswer. Ive got everything completed except one function that im quite confused. I have a listbox that stores a history of the websites that have been visited. I was wondering how i would, If the …

Member Avatar for Begginnerdev
0
139
Member Avatar for bilal_fazlani

[ICODE]listbx.Items.Add(New _ ListItem(BorderStyle.None.ToString(), BorderStyle.None)) listbx.Items.Add(New _ ListItem(BorderStyle.Double.ToString(), BorderStyle.Double)) listbx.Items.Add(New _ ListItem(BorderStyle.Solid.ToString(), BorderStyle.Solid))[/ICODE] can anyone please tell me how to do this in asp code.. in vb.net it adds the borderstyle as value... when i try that in asp.net it just adds string value. [ICODE]<asp:ListItem Text=Solid Value=Solid></asp:ListItem>[/ICODE] do I have to …

0
110
Member Avatar for razamughal67

Hello everybody please tell me How to select costum index in a list in vb6 i have a listbox & a command botton & textbox example: we add some items in a listbox list1.additem = "google.com" list1.additem = "Gmail.com" list1.additem = "myspace.com" list1.additem = "youtube.com" list1.additem = "facebook.com" list1.additem = …

Member Avatar for razamughal67
0
1K
Member Avatar for gozo12

[CODE] Dim wri As New IO.StreamWriter("e:\test.txt", True) wri.WriteLine(ListBox1.SelectedItem, true) wri.Close())[/CODE] etc in llistbox1 items , "1" "f1" "f2" when i click for example f1 that code will save it and when i want you save the same item it wit will save it in other line and in test.text file …

Member Avatar for codeorder
0
219
Member Avatar for Farhan_B

hi for my project what i am trying to do is: i have two listboxes and in between the two boxes i have two buttons. Btn1 is to send data from listbox1 to listbox 2 Btn2 is to send data from listbox2 to listbox1 below is my code could you …

Member Avatar for Reverend Jim
0
217
Member Avatar for ng5

I have a listbox and would like to save the items added/deleted when the form closes. any ideas?

Member Avatar for ng5
0
208

The End.