144 Topics
|
|
Hi all, I searching for how to make autocomplete in textbox. however there are list contain fruits name. "Apple" "Banana" "Pear" "Orange" When i type "Ap" in textbox, program will completed the text and highlight the fruit name in listbox. How i can do this. Thank you |
|
Hi. I have a form with list box : lst_product, datagridview : grd_order and button: btn_addline. lst_product has a list of product ids selected from database (MS Acess 2013) , grd_order is by default empty except for 2 headers and btn_addline adds rows to grd_order. btn_addline : Private Sub btn_addline_Click(ByVal … |
|
Hello Daniweb Community, I was wondering if there is a way to replace words from a listbox. So at the moment I've got a listbox with a couple of strings to be replaced in the textbox, however single line listbox items work but when I add a multi-lined item eg. … |
|
Hi all! I have a form with a combobox, a listbox and 2 command buttons.(see photo and neglect the blank listview) I select items from the combobox and add items to my listbox after clicking the button.(no problem with this) Then, I need to save each item of the ListView … |
|
Hi. I have a program that detects all the folders that are open and displays each one in a ListBox item. ![2014-12-25_15_49_20-DLAUBEFN_(Running)_-_Microsoft_Visual_Studio.png](/attachments/large/4/8dcefef15b7155ed7cc20f56c743d34f.png "align-center") What I want it to do is if a certain folder is closed, I want it to start a batch file and close itself. I know how … |
|
Hi..i m new here..i want to ask some little help..how can i save the listbox items into binary file? The items should write at specific location which is offset 0x2E (item1), 0x9A (item2) and 0x106 (item3)..each offset separate by 108 length.. |
|
I am trying to add a coloumn from database into a listbox in VB6. The following code works. The selected item from this listbox is used to find and add records to the ListBox2. Using Oracle 11g Express Edition and Visual Basic 6. Working code: (Displays the artist column from … |
|
I want a set of not the same numbers to be added to a listbox, if there are any numbers that are the same, then they won't be added. I tried: If (Number1 = Number2) Or (Number1 = Number3) Or (Number1 = Number4) Or (Number1 = Number5) = False Then … |
|
I have a listbox which contains items in it. After you click on the selected item, the listbox will be populated with different items relevant to the item which you clicked on. What I want to make, is instead of having to click on the selected item, I want to … |
|
What I have is a listbox with items imported from the database. From the Data Sources (Shift+Alt+D) I've dragged a table in the form of Details, instead of DataGridView. What I'm trying to figure out, is how to make the information to be displayed in the Details when an item … |
|
Friends , Is there any way for data alignment in the list box. My code is given below Private Sub TxtFdt_KeyPress(KeyAscii As Integer) Dim L, L1, L2, L3, L4, L5 As Integer Select Case KeyAscii Case vbKeyReturn If TRS.State = adStateOpen Then TRS.Close TRS.Open "SELECT * FROM Tran WHERE Ac … |
|
If you use the Windows OS, then IronPython allows you to create a GUI program taking advantage of the .NET framework. You also have the option to compile the program into a standalone .exe file (and the needed .dll file). |
|
I have a database with items which I want to populate to a listbox. The first image shows how its right now, and the second shows how I want the final result to look like. ![dd3aaa66fdb74cecb5cca11999b6b6dc](/attachments/small/3/dd3aaa66fdb74cecb5cca11999b6b6dc.png "align-left") ![2645978b29622fc539c0725c199c3e13](/attachments/small/3/2645978b29622fc539c0725c199c3e13.png "align-right") |
|
Well I'm trying to make a program that have ListBox1 which when the button1 is pressed the Listbox1 will show all the open windows of notepad, like get notepad.exe and it will show Example the name: Untitled - Notepad nothing else, i have a code right now that i found … |
|
I have a multiselection listbox. I want to see the last selected item (which the user just selected). I can't find any way to do this googling.. Thanks in advance. |
|
Hi, I need to List a number in a listbox if the number is closer to another number. Eg. Num1 = 98 Num2 =100 If 'num1 is close to num2' Then Listbox1.Items.Add(num1) End If Please Help Me. Thanks. |
|
I'm trying to select items from the listbox when pressing Enter on the selected item. Here is what I have tried so far: Private Sub ListBox1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles ListBox1.KeyDown Select Case e.KeyCode Case Keys.Enter ListBox1.SelectedItem = ListBox1.PerformMouseClick() End Select End Sub |
|
I need to make one statement to select either of the items in listbox and show the same label, regardless of which item is selected. I've tried someting like If Me.ListBox1.SelectedItem = "R115" Or "Bay, Charles" Then Label1.Text = "Address Information Avaliable" End If But it doesn't work. The code … |
|
I am having trouble on how will I solve this problem. I want only to refresh the value of listbox after adding a value from textbox using onclick() on an image. <form id="UpdateDetails"> <input type="hidden" name="id"> <input id="adnew" type="text" autocomplete="off" name="addnew" class="xx"> <img id="img" onclick="addnew()" src="images/icons/add-icon.png" style='padding:0 0 0 10px;height:15px;width:15px;cursor:pointer;' … |
|
I am trying to add the History page in my application which will work like as i shown below: 1st Column: (Date); 2nd column: (Login Time); 3rd Column: (Logout Time) I added the following code: Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load … |
|
I'm running a search query that pulls the search string from one textbox then searches a listbox for the string and displays the results in a second listbox. I would like to define the number of items that it returns based on a second text box. So far I am … |
|
Hello! I got a neaty tricky situation here.. I have a picturebox1 and listbox1 and a few items in listbox1. I got images in resources.resx (bmp) and want to load different images depending on what index is selected.. I wanted for it to be something like this.. Bitmap bmp = … |
|
good day.. i have a slight problem in my enrolment sytem. im new in vb programming, and this problem perfectly work in stressing out and pressuring me as begginer. i have a listbox that contains all filtered data from my database. and i want it (all entry in the filtered … |
|
Hi guys, I am trying to change color of the existing items in my listbox. Can somebody please help? |
|
Hi, I read many articles about this, but I still couldn't manage to solve it. I want to select the item of a listbox with MouseEnter event. It should be something similar like this Private Sub LBox_MouseDown(sender As Object, e As System.Windows.Forms.MouseEventArgs) Handles LBox.MouseDown If e.Button = MouseButtons.Right Then Dim … |
|
Hi, i am trying to edit a list box item in a way that if certain item is already present it should update it and if item is not present then it should add it to a list box what should i do Detailed i have a dynamic button which … |
|
hey people. ok.. this is what i NEED to do.. Task > 1. User will add TODO list in the textbox shown in the GUI Windows Form. > 2. User will also select the date on which the task will be done. > 3. Once entered the above information, user … |
|
Hi guys. I'm stuck. How can I use a custom color (rgb 25, 25, 25)(for example) as my fill rectangle color instead of the default blue? 'Private Sub ListBox10_DrawItem(ByVal sender As Object, ByVal e As System.Windows.Forms.DrawItemEventArgs) Handles ListBox10.DrawItem ' e.DrawBackground() ' If (e.State And DrawItemState.Selected) = DrawItemState.Selected Then ' e.Graphics.FillRectangle(Color.??, … |
|
Hi Everyone I've been looking for a solution to this problema for a while, ive searched the net but still can't get this too work. if i put my code in the default asp template( http://i1.asp.net/asp.net/images/whitepapers/aspnet40/ASPNET4B1-image13.png?cdn_id=2013-05-08-001 ) it will work, but when i use my template i always get the … |
|
Windows Application Form: I have a problem with filtering winform datagridview by listbox items (multiselect). For example: My listbox items have guest name of 'Lim', 'Jack' and 'May'. I would like to filter my gridview data by these 3 guests. Which each guest has their own entry. This is my … |
The End.