1,201 Topics
![]() | |
I have multiple listviews on a form (WinForms). List items can be dragged to other listviews. Is there a way to cancel a single item within the dragged items list? The target listview determines whether or not a single item can be dropped there. I'd prefer a solution that will … | |
In my project I have got a listview filled with contacts which are stored in a XML file. This is the connection between the two of these and basically this is how the contacts are loaded: Please note that first function is called on form loading: void LoadContacts() { string … | |
hi guys , i have a problem with my loading/refresh record in my form. i have only almost 500 record and take so long before refreshing/display the data. i have a user input form where user enter their record and while saving(direct to the database) and refreshing data i just … | |
I am working on a project (simple phone book) for personal use. Basically, the contacts are displayed in a listview and stored in a XML file. I am having trouble deleting the last remaining item in my listview (listView1). So, let's say that I have got 5 contacts in the … | |
Hi Everyone. Can I ask your help? Actually I encountering the error The "connection is already open.". here is my DBconnect.cs public class DBConnect { public static string csConnect = "uid=root; database=membership; pooling = false; convert zero datetime=True"; public static MySqlConnection csCon= new MySqlConnection(Classes.DBConnect.csConnect); public MySqlCommand cmdCon = new MySqlCommand(); … | |
Hi im a beginner and just need some help solving this problem. i think its simple but have tried to figure it out but im getting no where. i currently have four text boxes to which i add data to, i then click the add and want to add this … | |
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 … | |
If i type "Hello" in my edittext in activity 1 it will add "Hello" to the listview in activity 2 as the first entry ( which has no error ). Also, if I type "Apple" as my second entry I will change the first entry of "Hello" to "Apple" and … | |
I have been busy with school and all that and currently working on an android multimedia app i'd like to use. i created a list and was able to filter the files on the sdcard (both .mp3s and .mp4s) but i have a problem. i want the app to launch … | |
Helloo, Good day Everyone, Can I anyone help me? Here is my problem. I am newbies in C# development, I am Interesting to learn, searching to google and go to youtube, download lynda tutorials it's help a lot of me. But I'm on the problem that I can't not resolve. … | |
Hi guys, I'm stucked at (as it seems to me) a very strange problem. I have a listview on my form to which a list of users is populated from mssql db. In the same table but different column I have user_id. I have a textbox and a textbox_keydown control … | |
I have created an uninstall list that is populated when a form loads. I want to add the ability to right click on the item and have an uninstall option. Below is the code that I'm using to show my Uninstall Manager so far. [CODE] Private Sub UninstallMgr_Load(ByVal sender As … | |
Help I am trying to create in my application a Multicolumn Listview Dynamically. Currently I am using simple adapter but I can't find a way to create the layout dynamically .. here is the code for simple adapter SimpleAdapter mSchedule = new SimpleAdapter(this, loadentry.mylist, R.layout.rowmenus, columns, ListMenuIds); How do I … | |
Hi all, I really need your help on this one. I have a MSSQL db table with two columns-ID and name. Each row in this two columns contains an unique ID and a name. Now I have a query that imports just a name in the listview (I don't want … | |
hi PL masters can you pls help me with my codes for my thesis about combo box i'm a BSIT4 student in Leyte. i have a combo box named "category" the list below the box are "date" and "name" if i click date then two text box would appear text1 … | |
hi i have a code here that export my listview items to excel but i want to customize each cell size and i want to format the date and landscape environment Try Dim objExcel As New Excel.Application Dim bkWorkBook As Workbook Dim shWorkSheet As Worksheet Dim i As Integer Dim … | |
![]() | How can I make a Save/Open buttons that will save and open ListView items AND THEIR DETAILS? (tried anything and it won't save anything else but the name) |
hi iam a noob in vb programming and iam making a vb.net program to create a database of my shop... the code of my program is Public Class form1 Private i As Integer = 0 Private myCoolFile As String = "C:\test" & i & ".txt" '// your file Private Sub … | |
Hello, How can I search for specific proccesses example "abc.exe" and add it to a listView and read values in it like an specific labels to add the processes on a specific group in the listView. Any articles would be nice. | |
I am trying to add a List(Of T) to a Listview in Windows form application.But not able to do it. I have made a form and took the value of textboxes in a list and trying to bind the list to ListView | |
hi dani im just starting to program displaying datagridview(or listview) to another datagridview using sql server2005 connections..but i dont know how to code it in c#... | |
good day... did any anyone know how to put the filtered items in listview into a data report? TIA | |
![]() | I added a ListView object, added few Columns, but the problem is there that I can't add no text to the other columns by making new Items Any help? |
![]() | I would like to make a Export / Import buttons that will save/open files that contain listView data (ListView Items) Can someone tell me is there a way to do this? ![]() |
Hye there Plz help me to print the Column of ListView as a receipt.I have no idea how to print ,i have to use datareport of VB6. or what? this is an VB6 project. waiting for reply zeb noon | |
Lets say you have lots of data your listview. Now you want to Group This data According to a Perticular Subitems. For Example: Suppose i have some books data in my ListView. this listview items contains Author name and Books Title. And there are 2000 Books in list view. Now … | |
Hey all, I'm trying to do something and read text from page to listview in columns, problem is i get first row, but second third etc it dont insert idk why, im talking about ROWs here is my code check it out and let me know what is wrong? Try … | |
Hello, I'm trying to move listView items (1 selected item only) up & do, but only inside the group, I've trying and search but haven't been able to quiet figure it out, this is what I got so far: Just for going up: if (this.listView1.SelectedItems.Count > 0) { ListViewItem Selected … | |
Hello, Right now I have a bunch of textboxs and such and when I click a button the account goes to the ListView and when you click the ListView the information goes to the controls, also I'm able to move the items on the list up and down with other … | |
can anybody tell me why i got syntax error(missing operator) in query expression'ID='; here is the code what i have written.any help would be greatly appreciated. [code] Private Sub Command2_Click() If CheckInput = True Then Dim success As Boolean Set con = New ADODB.Connection success = OpenConnection(con) If success = … | |
i have a server and a client(run on the same machine, for testing purposes). this is basically, sorry for it, a help thread. but i've been searching, tracing, retracing, researching for days now to no avail(unlike other problems ive encountered while coding this, i just cant fix or solve this) … | |
can someone help me ? whenever i start this program its always says that " compile error type-declaration characters does not match declared data type. then the rs.Fields! will go hightlight. can someone help me ? Dim rs As Recordset Private Sub Form_Load() Dim list As ListItem ListView1.ListItems.Clear Set rs … | |
I have to tables 1.[Mobilization]-Primary key is [Fen_Inovoice_No] it is the forgien key is of [invovoice details] 2.[invovoice details] the primary keys are [Fen_Inovoice_No],[Item] when I tried to view the data , the all data are not loading to listview why is that? Dim intResponse As Integer intResponse = MsgBox("Please … | |
I have a text file which contains the data of an image (path, latitude and longitude). the textfile is place in a listview and the data in textfile is place in textboxes. if i click one item in listview then click save. it will create an image containing the data … | |
Hi all In my window form project I want to display only 2 columns among 3 columns Of my BRAND datatable in LISTVIEW column 1 BRANID display in listview 2 BRANDNAME display in listview 3 ID don't want to display in listview all brand & it's id display in listview … | |
Hi. I am working on this ftp client and i want a column of the listview to show the date modified. I've got the code but here's the problem: Private Sub RefreshList() FTPDownload.Hostname = LoginMenu.TextBox3.Text.Trim FTPDownload.Username = LoginMenu.TextBox1.Text FTPDownload.Password = LoginMenu.TextBox2.Text ListView1.Items.Clear() Try For Each File In FTPDownload.ListDirectory Dim ext … | |
Hello people.. I've been working with listviews and FTP clients and i was wondering if you could help me with getting listview to show the icon for the relevent type. So like i have a files in the listview which is music.mp3 and testdoc.txt etc and i need the list … | |
Hi. I was just wondering if there is a simple way to detect if the filetype is a sort of docuemnt which can be read and written. e.g. txt, docx, ini ect. I want to make it in s uch a way that when the listview selects and item it … | |
Hi. First Post... Just need some help with this program I'm doing.. I've been programming a FTP Client and i've got the base done but i just have one problem...I've added a listview with 3 columns. 1st column is File Name, 2nd column is File type and the 3rd column … | |
I am doing some more coding on listView, and I can not figurate it out how to salve the problem that there is always just one checkBox on the listView checked. On the listView I have some names. When I load it there is already a checked name - so … | |
how to perform click on listview? when button is click listview will perform a click on first record of a listview | |
how to select all item in listview? For i = 0 To lvList.Items.Count - 1 lvList.Items(i).Selected = True Next i PrintToolStripMenuItem.PerformClick() | |
The problem is when i delete a records from the listview, it deleted but when i look unto database it doesn't deleted. Please help me solve this problem: Here's my recent code: Module1.connect() Dim sqlconn As New OleDb.OleDbConnection Dim Button = MessageBox.Show _ ("Are you sure you want to delete … | |
The problem is it works updating the records but all records will gonna update... i want to update the selected records only.. I use Listview~! example column table: Processor Pentium(R) Intel(R) Dual CPU when I edit the Intel(R) into VGAgraphics, the Pentium(R) and Dual CPU will also change into VGAgraphics … | |
I have this array in a page and i want to call it into a listview or textview in another page...how do i do that? [CODE]public class Screen2 extends Activity { public static EditText txt1; public static String player; public static ArrayList<String> playerList = new ArrayList<String>(); /** Called when the … | |
HELP !! THis is driving me insane, I already spent 2 hours on this and can't seem to resolve it. Here is the problem: I have a backgroundimage for my listview in vb.net I programmatically (see below) add items to the list. All items have a white or other solid … | |
how to delete in lisview base on selected items help pls this is my sql code for delete Try If identifier = Nothing Then MessageBoxEx.EnableGlass = False MessageBoxEx.Show("Please Choose an Item to Delete", "Specialized Training", MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Exclamation) Else Select Case MessageBox.Show("Are you sure you want to delete?", "Specialized Training", MessageBoxButtons.YesNo, … | |
Please i need a code to search my access database through vb.net 2010 . Also i want the record searched to be displayed on a datagrid or listview with. please help me i am new to programming | |
this code runs at my other sample prog. but when I try to use it to my actual prog., it wont work. (variables changed, connection's ok) . . . cant show data at listview [CODE] Imports MySql.Data.MySqlClient Public Class Form1 Public sconnection As New MySqlConnection Private Sub Form1_Load() If sconnection.State … | |
Hi, i have a database with the following details: SCHOOL CAMPUS ADMINNO MODULECODE MODULEGRP SEG AMK 100810R EG3932 EG3932-G1 SEG AMK 100810R EG3933 EG3933-G1 SEG AMK 101427Y EG3901 EG3901-G1 SEG AMK 101427Y EG3902 EG3902-G1 SEG AMK 101427Y EGS650 EGS650-G1 SEG AMK 103852S EG3901 EG3901-G1 SEG AMK 103852S EG3904 EG3904-G1 now … |
The End.