1,201 Topics
![]() | |
Well, to make it simple, I have a multiselection listview and I need to know how many elements in the list I have choosen. How can I do that? | |
Hi! Can anyone suggest to me the appropriate code for me to be able to generate the info I needed? I'm having a problem in producing a certain number of record in a field for one primary key. I'm doing a profiling system intended for a police department. I have … | |
Good morning everybody: I am attempting to populate a listview control on Form Load() and I get a Run-Time Error: 380 - Invalid property value. Below is the line to generates the error: [code]lvw.ListItems(lvw.ListItems.Count).SubItems(1) = OutlookAddressEntry.Address [/code] Below is alos my entire FormLoad module: [code] Private Sub Form_Load() Set OutlookApp … | |
hi, Below is my code for DELETE button. What i want is if the user select the transaction from the listview and press the DELETE button it must be able to delete the transaction from listview and text file(temporary log file) which i keep all the transaction record. At the … | |
hi, How do i do if there is no record in listview i should disable the payment button. TQ [CODE] If ListView1.Text = "" Then paymentBtn.Enabled = False MsgBox("No Transaction") End If [/CODE] | |
Hello, I have created a filesystemwatch function to check a folder on the C drive for changes to files. I then want to output it to a multiline textbox or a listview but having problesm doing so. I have tried different ways to output it but with out any luck. … | |
Can Anyone help me implement a nested comment structure like reddit using ASP? I have a few ideas like using ListView or XML or something, but I'm not sure how. I googled a lot but it wasn't too much help. Is there a way I can implement a reddit-like nested … | |
Hi guys i have a form in my application that calculates the invoice of all the charges of a patients. there is a form that calculates the room charges of the patient but it will no update the previous record. what i want is the room charges form to calculate … | |
hello guys i have a question because in my I.O.File i use this to save the data in the listview in a c:\test.txt but the problem is that it only save one data and every time i click the save the previous data that i save is deleted and it … | |
hello guys, I need help regarding with my listview how will you make in listview if the name is already exist in the listview it will no longer accept or there is a msgbox("name already in listview") and the name is in the first column of the listview. Or what … | |
hey guys can u help me with this the problem of this code should delete only the selected item from the listview in a report.txt but this code delete all the data in the txt file whether i selected only one data from the listview.... [CODE]Dim myFile As String = … | |
I have 6 rows of items in a ListView within 2 columns that are listed like so: [CODE]1 Milk 2 Pepsi 3 Juice 4 Water 5 Coffee 6 Tea[/CODE] I'm trying to make it so when you modify the number in the first column, it will sort the list based … | |
Hi all, I'm making an application that reads RSS Feeds from several sites. Now I want it to put it in a ListView but I can't put it in the different columns. All the data goes to the first column and I don't want that, I want it to also … | |
i split a string and store at listbox.The problem that i face now is how to add 4 new column at existing table("customer") and put the listbox data into these 4 new column. Can any1 teach me or show me the code? thanks.... | |
am developing an inventory management system. have two listview controls. one for ITEM and another for details pertaining date, quantity, cost, issued to and so on. i want a vb.net code that if a given item in listview A is clicked, listview B details are cleared and then the details … | |
hi, How do i delete the selected records at listview and textfile (which keep the record from listview) and at the same time show the total current balance at listview. any guidance plz help. [CODE]Imports System.Data.OleDb.OleDbCommand Imports System.Data.OleDb Imports System.IO Imports System Imports System.Text Imports System.Windows.Forms Imports System.Console Public Class … | |
VB.NET 2008 - Get Desktop Icons Text Width & Text Height I am developing an application in VB.NET 2008, in which I try to get Desktop Icons Text Width & Text Height. So far I have obtained all desktop icons positions, but I really can't figure by myself how to … | |
I assume that this is a mouseclick event. What I want is that when I click a row in a listview, the first column that is an ID will automatically bind to a textbox. | |
Hi guys ive got a problem in my Tab control. you see, i have 2 tabs in my form then inside it i i got a [B]ListView[/B]. What i want to do is when a user clicks on the [B]First Tab[/B] some buttons in my form will be disabled but … | |
Basically, I'm working on a GIF animation creator, all is going well, I just don't know how to move items. For example: I select image 1 and move it to image 0's position, and when I drop it over image 0 it will move image 1 to image 0's position. | |
hi, How to code, if let say i want only 10 records to inserted in listview. By mean listview only can accept 10 records. please guide thank you | |
i don't know how to save listview items into a database i am using vb 2008 and mysql server i have this code but unfortunately my codes aren't working here is my code: Dim conn As SqlConnection conn = New SqlConnection("Data Source=VILLARINO\SQLEXPRESS;Initial Catalog=master;Integrated Security=True") Dim a As Integer If MsgBox("Sure … | |
Good Day , I have 2 windows forms (form_source and form_target) with listviews (lstviewSource and lstviewTarget) respectively. When the items from the "listviewSource" is selected it needs to be displayed on "lstviewTarget".I am cloning the items from the listview in "form_source" but it is not displaying on the listview on … | |
HI I am trying to write data to an access table from vb.net. The code all seems to run fine but no data is being sent to the db though! the code i have got is [code] Dim itemcount As Integer Dim MyCn As OleDbConnection Dim sql As String 'Dim … | |
i'm currently working on my thesis e-voting system. and i need to modify my search candidate and search voter form. the data from my database is already loaded in my listview when the system. what i want to do is while i am typing in the search text box, at … | |
Hey, I am creating a usercontrol, and I would like an Items property, like in ListView.Items. How would I do this? Cheers, Jacob Edit: I'm making a static menu, that won't disappear. Would it be better to just skin a listbox? There will be events for the items. | |
I need help on passing checked list view items into one message box. my current code outputs multiple message box with the name of the item, depends on the number of items checked. what i need is to output into a message box all the items checked in my list … | |
I'm working on an e-voting system right now. i'm having problems in passing a selection from list view to a list box. first is when an item is checked, it is pass in the list box.. but in my case the item is pass when the item is uncheck. second … | |
Hello everyone, I am working on a C# app that uses the YouTube .NET API but have come up with an issue, and I'm not sure if its the .NET Wrapper or just something I'm Doing. Ok heres the problem, I request the list of videos the logged in user … | |
In order to arrange data in a listview I can either use the properties panel or use the following code; [CODE]listView1.Sorting = SortOrder.Descending;[/CODE] How can I do a SortOrder for the [I]second[/I] column? eg; [CODE]listView1.columnHeader2.Sorting = SortOrder.Descending;[/CODE] Thanks in advance! | |
Hey all! I'm working on a project at the moment that uses WPF with C#. It has 4 tab pages (view, add, edit, delete records). On the view tab page, there is a listview that displays the database (SQL using linq-to-sql) records from a particular table (lets call it 'customers'). … | |
hi, i was wondering if anyone new much about listviews because i been looking for a bit of code or a custim listview that supports paging abit like a website list were u can select pages 1 to 10 but with a listview so i can limit the items to … | |
help anyone! i can add records to mysql database but it won't appear in the listview. can you check out what's wrong with my code. pleeaaasssee.. help needed badly.. :( [CODE] Imports System Imports System.Windows.Forms Imports MySql.Data.MySqlClient Public Class bookForm Dim myconn As New MySqlConnection Dim sqlQry As String = … | |
I have a ListView which is filled by generic list of type MyClass. I can easily bind data from this list into ListView. But I have problems with reading data in opposite direction. This is my class: [CODE] public class MyClass { public int id { get; set; } public … | |
Hi everybody, how to make listview selection; i wanna make multi selection in listview ; but don't want to use ctrl key . eg; if i select 1st item , make highlight it. And then if i select 3rd item, 1st item still highlighted and 3rd item highlighted as well. … | |
I have successfully managed to get my data the way I want it in ListView and have two questions; 1 - How can I select an item on a single (or double) click of a mouse button that executes some code using that as the variable passed to it from … | |
I want to be able to double left click my mouse on an entry in a populated listview window and pass that variable (as a string) to a textbox. Can anyone give me some sample code? | |
I have the following code which is used to get various details about wireless networks; [CODE] // Lists all networks ssid, signal stregth, availability, & security Wlan.WlanAvailableNetwork[] networks = wlanIface.GetAvailableNetworkList(0); foreach (Wlan.WlanAvailableNetwork network in networks) listBox1.Items.Add(GetStringForSSID(network.dot11Ssid)); foreach (Wlan.WlanAvailableNetwork network in networks) listBox2.Items.Add(network.wlanSignalQuality + "%"); foreach (Wlan.WlanAvailableNetwork network in networks) listBox3.Items.Add(network.wlanNotConnectableReason); … | |
Hello all, I have an xml file with the information below: [CODE] <?xml version="1.0" encoding="utf-8" ?> <ServerNames> <Name>dfwnbonner1</Name> </ServerNames> [/CODE] I am trying to get the Name of a server into a listview. This works fine with the above xml but as soon as I add another server name in … | |
![]() | A win32 listview with the view style set to LV_VIEW_DETAILS will not draw onto a window with its exstyle WS_EX_COMPOSITED set? Why? Heres my code for changing my dialogbox to composite if anyone is interested: [CODE] case WM_INITDIALOG: { unsigned long styles = GetWindowLong(hwndDlg, GWL_EXSTYLE); SetWindowLong(hwndDlg, GWL_EXSTYLE, styles | WS_EX_COMPOSITED); … ![]() |
Hello, I'm having problems removing an array of lines from a text file. Heres my code: Ugh, I apologize. I can't get the conventions to correctly show on this post, I'm really sorry. [code] using (var sr = new StreamReader(Misc.tempFile)) { using (var sw = new StreamWriter(Misc.path + "test.dat")) { … | |
hello! how can i get the index of selected row in listview in mouse up? thank you | |
I have a txt file that I need to read into a listview, but I need to read from a specific line in that file. Can someone point me in a direction on doing this. Below is a sample of the txt file to read, 6400,3200,2,95.5,84,76.6,0 1,2,-20,15,0,0,0,"NO",0,0 TOTAL GPM= 6400 … | |
Hi, I am trying to set it up so that when the user wants to, he can add an Icon image to a ListView. Right now nothing is happening when I try to test it, it compiles fine, but no icons show up. [code] private void radioButton1_CheckedChanged(object sender, EventArgs e) … | |
I have a listview with process that are running. my goal is to pass the "path" of the process to a text box when someone clicks on a selection. but my code isnt working correctly, this is what I have: [CODE] Private Sub lvwProcBox_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As … | |
Hi guys, I just thought I would add this because it was a pain for me to muster up due to the lack of information through google and msdn on the topic. Enjoy =) | |
[B]Hello..! i have an problem to connect a progress bar with listview object.P.bar working properly. bt i want to connect p.bar with ma sql database while m searching database.kindly help me where m i doin wrong..the code is below.[/B] Private Sub cmdRFind1_Click() On Error Resume Next Dim vLst As ListItem … | |
Hi, Is anyone familiar with a Data Pager implementation written in JS? I need to write one (to attach to a JS ListView) and was wondering if there was such a thing already. Thanks, Sharon | |
Their is difficulty in changing the name of the columnheader of list view constantly by using the loop in button click method...Is their any way to change the textname by using loop??? :S | |
Hi I have a list view in WPF with C#. In which i want headers of every column alignment to be left. eg name class etc headings. I have another query that I have wpf form in which i have a textbox in which i will input a number and … |
The End.