1,201 Topics

Member Avatar for
Member Avatar for pritaeas

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 …

Member Avatar for pritaeas
0
264
Member Avatar for Exinta

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 …

Member Avatar for Ketsuekiame
0
215
Member Avatar for jaasaria

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 …

Member Avatar for Begginnerdev
0
964
Member Avatar for Exinta

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 …

Member Avatar for tinstaafl
0
297
Member Avatar for darrylnuyda

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(); …

Member Avatar for KushMishra
0
3K
Member Avatar for beginnerinneed

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 …

Member Avatar for hreylorbe
0
8K
Member Avatar for Deep Modi

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 …

Member Avatar for Begginnerdev
0
310
Member Avatar for CitySlickaMr

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 …

Member Avatar for CitySlickaMr
0
757
Member Avatar for Andyjava

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 …

0
120
Member Avatar for darrylnuyda

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. …

Member Avatar for darrylnuyda
0
4K
Member Avatar for razree

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 …

Member Avatar for razree
0
1K
Member Avatar for MaddTechwf

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 …

Member Avatar for callofcyandic
0
175
Member Avatar for jonatn8888

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 …

0
58
Member Avatar for razree

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 …

Member Avatar for razree
0
1K
Member Avatar for chumz.delossantos

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 …

0
58
Member Avatar for Shodow

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 …

Member Avatar for G_Waddell
0
325
Member Avatar for DyO1

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)

Member Avatar for tinstaafl
0
136
Member Avatar for Adnanhussainturki

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 …

Member Avatar for tinstaafl
0
159
Member Avatar for iFrolox

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.

Member Avatar for iFrolox
0
225
Member Avatar for Abhishek_12

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

Member Avatar for tinstaafl
0
193
Member Avatar for louieconde

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#...

Member Avatar for hericles
0
45
Member Avatar for MelchorDeVeraMatias

good day... did any anyone know how to put the filtered items in listview into a data report? TIA

0
132
Member Avatar for DyO1

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?

Member Avatar for Reverend Jim
0
177
Member Avatar for DyO1

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?

Member Avatar for DyO1
0
672
Member Avatar for zebnoon

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

Member Avatar for chaithra.D
0
1K
Member Avatar for sandeepparekh9

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 …

Member Avatar for dragonfly67
1
1K
Member Avatar for Trle94

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 …

Member Avatar for Reverend Jim
0
133
Member Avatar for iFrolox

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 …

Member Avatar for iFrolox
0
2K
Member Avatar for iFrolox

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 …

Member Avatar for iFrolox
0
155
Member Avatar for firoz.raj

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 = …

Member Avatar for babu.shahulhameed
0
209
Member Avatar for tehdream

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) …

0
203
Member Avatar for anJelo.towT

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 …

Member Avatar for tinstaafl
0
139
Member Avatar for Dili1234

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 …

Member Avatar for Koelald
0
278
Member Avatar for Passoword!!

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 …

Member Avatar for Begginnerdev
0
727
Member Avatar for mehul popat

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 …

Member Avatar for Jx_Man
0
163
Member Avatar for Ahmed.C

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 …

Member Avatar for pritaeas
0
118
Member Avatar for Ahmed.C

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 …

Member Avatar for Ahmed.C
0
157
Member Avatar for Ahmed.C

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 …

Member Avatar for tinstaafl
0
158
Member Avatar for Ahmed.C

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 …

Member Avatar for Ahmed.C
0
401
Member Avatar for Mitja Bonca

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 …

Member Avatar for DjpjAmador
0
1K
Member Avatar for Shodow

how to perform click on listview? when button is click listview will perform a click on first record of a listview

Member Avatar for Ancient Dragon
0
1K
Member Avatar for Shodow

how to select all item in listview? For i = 0 To lvList.Items.Count - 1 lvList.Items(i).Selected = True Next i PrintToolStripMenuItem.PerformClick()

Member Avatar for Reverend Jim
0
115
Member Avatar for sonyeo

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 …

Member Avatar for sonyeo
0
180
Member Avatar for sonyeo

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 …

Member Avatar for sonyeo
0
146
Member Avatar for mayback230

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 …

Member Avatar for jwenting
0
343
Member Avatar for olegb

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 …

Member Avatar for olegb
0
660
Member Avatar for Shodow

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, …

Member Avatar for Reverend Jim
0
285
Member Avatar for alfdon1

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

Member Avatar for tinstaafl
0
117
Member Avatar for camillemimi

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 …

Member Avatar for Alvin_1
0
2K
Member Avatar for Fangling

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 …

Member Avatar for Fangling
0
209

The End.