1,201 Topics

Member Avatar for
Member Avatar for John_141

Hi hope someone can help me Read sqlite datatable is verry slow I have a listview in detail mode with 45 columns. and a datatable to add, read, delete and update datarows with 45 colums. Only i have a problem to read the datatable and show it all in the …

Member Avatar for Lee_15
0
2K
Member Avatar for Clif40RD

Hi I'm having a problem implementing a mini shopping cart drop down in the header to show the user all the products they have in their shopping cart. It seems the only solution for this is Ajax, and I've looked all over and can't find anything that I could possibly …

Member Avatar for Xavier_5
0
2K
Member Avatar for Hanko

hello I have a problem with a program i am trying to write. overview 1. i have a timer (timer1) who is "hearing" on a serial port communciation for any communication comming in. this part works ok 2. i have a backgroundworker that i use to send firmware to a …

0
157
Member Avatar for Alfred_6

Hello! I'm trying to display a list of items in a fragment called AgendaList. I am not quite sure what I missed. Here's what I have under AgendaList onCreateView: public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { // Inflate the layout for this fragment View view = inflater.inflate(R.layout.fragment_agenda_list,container,false); String[] …

0
405
Member Avatar for yoyie_333

How to get values from listview and display it to textbox using sql database ? and then i can update the items in listview using a button..then refresh the listview after i click the button... tnx for the help in advance..im just a newbie in vb.net ![0da2d193278007986792bf92e19433ab](/attachments/large/4/0da2d193278007986792bf92e19433ab.png "0da2d193278007986792bf92e19433ab")

Member Avatar for Mr.M
0
8K
Member Avatar for PEM_1

For Each itm As ListViewItem In ListView1.Items If itm.Text <= CStr(56) Then itm.BackColor = Color.Orange Else itm.BackColor = ListView1.BackColor End If Next this codes change background color of all items in listview....but i just want to change the forecolor mu value of stocks in listview in a column stocks..not all …

Member Avatar for Reverend Jim
0
403
Member Avatar for Mr.M

Hi Dw. I'm a bit new to C# I'm used to program with VB.NET and one of my project had force me to do it with C# as I'm sure you are aware that VB.NET it lack with Windows Phone Socket programming APIs or support and C# does support it …

Member Avatar for Mr.M
0
904
Member Avatar for Jann_2

hey there guys. I want to know how to Print the data from a listview into a receipt. I have found a question here which solves the printing but it only prints the listview items and not the other texts from the Receipt Form. Like the Header and total amounts …

Member Avatar for Jann_2
0
3K
Member Avatar for Faisal_13

Dear devolepers, I have problem with my sql database, I want acces my sql database in my <LI> list plaese help to resolve this problem Here is my html sql database : my_db table : info_list Table columns : id,name,job,town,mobile1,mobile2,phone,adress i want to display town list in this <li> list …

Member Avatar for cereal
0
2K
Member Avatar for Jann_2

Hey there! I want to add rows of data in my listview from a database but I want to add only those items I chose then after listing all my items of choosing that is the time for me to save it to a table in databox. is there anyway …

Member Avatar for tinstaafl
0
104
Member Avatar for jeffersonalomia
Member Avatar for matoo
0
198
Member Avatar for Smooth_1

hello everyone... can you please help me with the project that im building... my project has a combobox with the items of january-december... a listview with a 14 column. in the first column is name, the second is year and the rest is the month starting from january to december, …

Member Avatar for Smooth_1
0
248
Member Avatar for Karthik_4

![Screenshot_from_2016-05-05_10:40:29.png](/attachments/large/4/d1a3b93ed36e54fabc134d4a3a268ccd.png "align-center") I am trying to write a python code to verify for the presence of `.mp3` and corresponding `.json` file in the dropbox. dropboxmp3txt = self.driver.find_element_by_xpath('//android.widget.ListView/android.view.View/android.widget.TextView[contains(@index, "1")]') print dropboxmp3txt.text This gives me the output : `abc2016-05-05, 10.38.26.mp3` Which is perfectly fine!!! I need the similar xpath to find the …

0
166
Member Avatar for kberrianjr

I have been searching all over for a way to open a text file that was created using vb.net on one form and open that same text file and place the contents into a list view. The text file will have a description, a part number, and a quantity, this …

Member Avatar for tinstaafl
0
306
Member Avatar for Kubilay Doğukan

I'm getting my ArrayList from a service and populate my ListView with it when user creates the widget. I have 3 button on my widget and I want to modify/filter the data in the ListView by button click. I saw examples of pending indent but I couldn't reach my ArrayList …

Member Avatar for Kubilay Doğukan
0
347
Member Avatar for abu taher

Delete checked item (one or more) from listview I write this code. Dim x As Long For x = LVEmp.ListItems.Count To 1 Step -1 If LVEmp.ListItems(x).Checked Then con.Execute "DELETE FROM stock WHERE [SrNo] = '" & LVEmp.ListItems(x).SubItems(1) & "'" LVEmp.ListItems.Remove x End If Next con.Close Set con = Nothing but …

Member Avatar for Santanu.Das
0
318
Member Avatar for J Michael

I have the following code which handles my Print Button but I'm getting my ListView contents all on 1 page only (overwriting). How can I loop through the ListView items an d print on more than one page? Excuse my "newbiness". Private Sub Button1_Click(sender As Object, e As EventArgs) Handles …

Member Avatar for Santanu.Das
0
786
Member Avatar for Doogledude123

I have this method that is used to set the columns and data in the listview based on a string. I'm not sure how to add the columns I need programactically. I need to use different data types though. private void populateLeaderBoardList() { string btnContent = (string)btn_exportLeaderBoard.Content; if (btnContent.Contains("Totals")) { …

0
191
Member Avatar for Nikhil_6

I am working on project, where i want to show multiple list view (different design layout using different layoutsa for lists) using one list adapter class, in one Main Activity class. Like i want to show first list view on first button click, and then i want to show second …

Member Avatar for Raul Perez
0
252
Member Avatar for zhacHaven

# Good day to all ..i need help with this..i want to delete and edit the selected row from a listView with the use of alert dialog.i have a bit knowledge of constructing an alert dialog in my class..the problem is the method to call for deleting and editing from …

0
99
Member Avatar for NONONO123

I'm currently working on an android app to fetch data from the server. But when i run it, i get a NullPointerException. Can anyone help me with that? Here is my code: public class MainActivity extends AppCompatActivity { ListView lvPost; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); lvPost = …

Member Avatar for NONONO123
0
3K
Member Avatar for Wiloisa

hi, i just want to ask if you have any idea how to update / edit records inside mysql database using textboxes and listview. if i selected a record on my listview the details should also be in the textbox and can be updated, if the user clicks the save …

0
102
Member Avatar for pihuu

Hi there, I am trying to get a data from a database using a query and populate it into a list view. Instead of getting a string value, I am getting "[Ljava.lang.Object;@64bba873". I have tried to cast it, but it did not work query1 = em.createQuery("Select e.name, y.surname from REQUEST …

Member Avatar for JamesCherrill
0
164
Member Avatar for hallianonline

Hello Friends I am facing a little problem that I want to sort my records according to date I mean to say I want to show the upcoming records based on dates on the top in ascending order I have a complete working code to fetch from the database but …

Member Avatar for Smith5646
0
248
Member Avatar for Miurei

i have listview named : listview1 and a button to export listview data presented. all i want is to export that data to an excel probably to edit or print them. Is there anyone can help me about it? i had gone into but still cant find exactly what I …

Member Avatar for Reverend Jim
0
71
Member Avatar for burhanahmed92

List Fragment height is not working properly, it only shows 1st row of list, other rows of list dont show. I used wrap content for height but not working. If i run Fragment directly it shows all rows but if i add fragment in my main activity its show single …

Member Avatar for peter_budo
0
651
Member Avatar for Miurei

How to pass Listview contents to a crystal report for printing purposes using VB net..? i got 1 listview which shows the results of some queries. Now my problem is how can i pass those data in my listview to the crystal report?

0
120
Member Avatar for silent lover

Dear Daniweb friends, I created adapter like this: public class PromotionAdapter { String code = null; String name = null; String continent = null; String region = null; public PromotionAdapter(String code, String name, String continent, String region) { super(); this.code = code; this.name = name; this.continent = continent; this.region = …

Member Avatar for silent lover
0
1K
Member Avatar for LukeJWhitworth

Hello, I am looking to return all the usernames and SIDs of users on a computer or network. Has anyone got any idea how to do this? I know I can return the SID of the current user using the code below: System.Security.Principal.WindowsIdentity.GetCurrent().User.ToString Any help with this would be great! …

Member Avatar for Teme64
0
944
Member Avatar for dawbin

I need to get user manipulated data out of my WinJS listview and convert it to JSON, but I can't figure how to access the data? Any help would be appreciated!

0
223
Member Avatar for shrikeps

I have data that I want displayed in a listview. Problem is when I read from a file with System.Text.Encoding.GetEncoding("Windows-1252"), it shows up in listview with Zoë instead of Zoë as it should. How can I make my listview code to show the correct diacritics in the view? This is …

Member Avatar for gusano79
0
137
Member Avatar for wilsonchama

Hi guys, I am trying to save the items in a listview to Access database. The listview has two columns; "Description and Price". For example, If a user adds three Items (products) in a listview and clicks a command button, I want these items to be saved in a database …

Member Avatar for jwenting
0
621
Member Avatar for WebMedia_1

everbody, pls i m working on android application with the side menu navigation drawer with fragment and webview but android back button key is not working. this my code Main Activity public class MainActivity extends Activity {String[] menutitles; TypedArray menuIcons; String[] pageUrl; // nav drawer title private CharSequence mDrawerTitle; private …

Member Avatar for Karan_8
0
372
Member Avatar for kberrianjr

I am trying to make a program so I can view my service manuals that I have on my computer in seperate tabs within my progam. I am populating the PDF's in a listview and want to select a PDF and open it in one tab with the PDF viewer …

0
126
Member Avatar for rfresh

I have a listview component with the following simple items: Name Size Fixed Lens ------------------------------- camera1 35mm Yes camera2 16mm No I'm using C# and want to edit various items but the following code give me value '2' is not valid for index: listView1.SelectedItems[0].SubItems[2].Text = "Test"; What am I doing …

Member Avatar for tinstaafl
0
219
Member Avatar for westsiderailway

Hello Everyone, it seems that I cannot see the wood for the trees.... :-) I am having problems with this line of code... StateSQL = "select * from petrol_table where fueldate >= " & "'" & M12S & "'" & " and fueldate < " & "'" & M12F & …

Member Avatar for westsiderailway
0
321
Member Avatar for Arie_1

I know to save records from database into listview, but how to save listview to database instead.. this is the code for showing record into list view..but can any help me how to change the code to save listview into database? Imports System.Data.OleDb Public Class Form1 Dim con As New …

Member Avatar for Reverend Jim
0
2K
Member Avatar for westsiderailway

Hello Everyone, This time i am not asking for any help :-) I am showing anybody ,who wants to know how to add a $ sign into any item/subitem in Listview. Did try to add colour,BUT, there is a BUG in VS. you can code for differant colours in subitems,BUT …

Member Avatar for westsiderailway
0
463
Member Avatar for westsiderailway

HI again, I would like to know how i would use a loop for the following code, thanks for read this. LV1.Columns.Add(ds.Tables(0).Columns(0).ColumnName, 25) LV1.Columns.Add(ds.Tables(0).Columns(1).ColumnName, 75) LV1.Columns.Add(ds.Tables(0).Columns(2).ColumnName, 75) LV1.Columns.Add(ds.Tables(0).Columns(3).ColumnName) LV1.Columns.Add(ds.Tables(0).Columns(4).ColumnName) LV1.Columns.Add(ds.Tables(0).Columns(5).ColumnName, 75) LV1.Columns.Add(ds.Tables(0).Columns(6).ColumnName, 75) LV1.Columns.Add(ds.Tables(0).Columns(7).ColumnName, 75) LV1.Columns.Add(ds.Tables(0).Columns(8).ColumnName, 75) LVitem.Text = dt.Rows(0).Item(0).ToString LVitem.SubItems.Add(dt.Rows(0).Item(1).ToString) LVitem.SubItems.Add(dt.Rows(0).Item(2).ToString) LVitem.SubItems.Add(dt.Rows(0).Item(3).ToString) LVitem.SubItems.Add(dt.Rows(0).Item(4).ToString) LVitem.SubItems.Add(dt.Rows(0).Item(5).ToString) LVitem.SubItems.Add(dt.Rows(0).Item(6).ToString) LVitem.SubItems.Add(dt.Rows(0).Item(7).ToString) LVitem.SubItems.Add(dt.Rows(0).Item(8).ToString) i was …

Member Avatar for westsiderailway
0
4K
Member Avatar for Doogledude123

I have a custom ListCell in which I have methods to move the position of the cell to the right or left, but I want a button to be shown similar to deleting a Conversation in Messages on iPhone. If I add a new ImageView, which will act as the …

Member Avatar for Doogledude123
0
705
Member Avatar for matoo

I am trying to write program in vb6.0, in which i am using ms access database. i want to search in a table called "customer". the Field is called "Name". in the feild i have saved full name e.g Asmat Ullah Khan, Asmat Khan, Asmat Ullah. now what i want …

Member Avatar for matoo
1
349
Member Avatar for westsiderailway

Hello everyone, was looking to see what was availble in listview1.columns.add.... and found this ListView1.Columns.Add("ID", FontDialog, HorizontalAlignment.Center) how would i use this to change the font in listview columns.? the rest of the code... ListView1.Columns.Add("Weekday", 100, HorizontalAlignment.Left) ListView1.Columns.Add("Fuel Date", 80, HorizontalAlignment.Left) ListView1.Columns.Add("Fuel Time", 80, HorizontalAlignment.Left) ListView1.Columns.Add("Location", 60, HorizontalAlignment.Left) ListView1.Columns.Add("Pump", 50, …

Member Avatar for djjeavons
0
263
Member Avatar for Oomi

I have taken input of 5 images from user and showed it in photogallery now I want these images in list view too. How should I pass them in list view simultaneously. I tried the below code but it shows images in photogallery not in listview. Private Sub BrowseMultipleFilesButton_Click(ByVal sender …

Member Avatar for Reverend Jim
0
2K
Member Avatar for Metalvoice

Hi All i dynamically created gropbox and dynamically insert inside it listview and button Dim count1 As Integer Dim Listvcounter As Integer Dim flashCounter As Integer Private Panel As New System.Windows.Forms.GroupBox Private ListV As New System.Windows.Forms.ListView Private Btn As New System.Windows.Forms.Button Private PancLeft As Integer = Me.Controls.OfType(Of GroupBox)().ToList().Count Private cLeft …

Member Avatar for Santanu.Das
0
997
Member Avatar for savedlema

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 …

Member Avatar for savedlema
0
3K
Member Avatar for wilsonchama

Hi everyone, I have been strugling wit the "INSERT INTO" statement. I intend to insert the items that are in a datagridview into An Access Database when a button is clicked. I am using VB.NET 2008 express and Microsoft acces 2007. At first, I tried to use the listview, but …

Member Avatar for wilsonchama
0
318
Member Avatar for wilsonchama

Hi guys, I have a form called frmSales, with two textboxes and a list box. what I want to do is to fill the listview with product description from txtDescription and product from txtPrice when I click the add to cart button. the listview should also be able to add …

Member Avatar for wilsonchama
0
1K
Member Avatar for Metalvoice

Hi i want to add items from multiple listviews to other Listview (Main Listview)when i click the same button each time select diffrent item from diffrent listview how can i do this with VB.net best regards

Member Avatar for Mr.M
0
490
Member Avatar for man.chester.581

im trying to creat buttom to show all ocntacts on the phone with this code : private async void SearchContactButtom_click(object sender, RoutedEventArgs e) { await SearchContacts(); } private async Task SearchContacts() { var contactsStore = await ContactManager.RequestStoreAsync(); IReadOnlyList<Contact> contacts = await contactsStore.FindContactsAsync(); var dlg = new Windows.UI.Popups.MessageDialog("found " + contacts.Count …

0
124
Member Avatar for hightechka

i am new in VB.net (about 3 weeks now) and i am using visual studio 2008 to make a reservation and billing program project. i want to change the background color of the row having the entry which time (Day Swimming 8am-5pm, night swimming 4pm-11pm and overnight swimming 9pm-11pm) will …

Member Avatar for hightechka
0
437

The End.