Log / Store Info And Display In Sortable Multiple Column ListBox
Mar 31, 2011
I am wriing a vb.net windows application to log and store information. then display it in a sortable multiple column listbox (I personally like FlexGrid by Component One). However... I am not sure how to go about storing the information. Should I go with a .sdf file database, registry, simply storing them in a file, or some other method?
What I need is to be able to:
read/write/delete from it
read possibly up to a 20mb file and sorting it without a lot of lag
be transported to multiple systems and maintain these writes (installed on many systems)
I know I could split up the reading/writing to anther thread. Even to other .DLL's and whatnot. But as for storing. Not sure what the best option is.
View 1 Replies
ADVERTISEMENT
Jul 31, 2010
I am working on a media player, and I would like to setup a local playlist feature. I am using a single ListBox and its "Display-" and "Value-Member" properties. The display is the song's Artist and Name, and the value is the song's file path (i.e 'C:UsersUSERMusicetc.').To write the file path to the .txt file, I believe I can use the following code:[code]
View 18 Replies
Mar 20, 2010
im trying to edit a code so that i can display user info in a listview rather than a listbox because listview has some options i want to use , i have 2 errors one in Public Sub removeClient and one in Private Sub AddClientToListview i would be very greatful if some could give a helping hand to resolve these errors
vb.net
Imports System.Net.Sockets
Public Class form1
[Code]....
View 2 Replies
Dec 7, 2009
I'm trying to get this form to display in the listbox the address from the info from the textboxes and it works except one problem, it displays all on one line. Its seems as if it accepts the ","'s and " " for the address but ignores the vbCrLf line separator. What am I doing wrong: Here is the code for the class:
[Code]....
View 3 Replies
Jul 6, 2010
This is my code which i used to try this but it inserts only the last value in the listbox but i need all the selected values seperated by comma [code]...
View 2 Replies
Feb 28, 2012
I am designing a test launch tool that I want the user to be able to select a product type from a list and then choose a station type from another list. Depending on what they choose will determine what is run (what is passed out).
The data will look like the following :
Product Station Test to load Config file to use
10-9890-1 mfgtest1 Progamming.xml config5.conf
10-9890-1 mfgtest2 Configuration.xml config92.conf
[Code].....
View 6 Replies
Jun 2, 2012
I am using vs2005 with access database.In that program I have a small problem.I have joined 2 tables and get 2 column with a parametrized query.The query will work efficiently on a access database.When applying thru vs environment it doesn't do anything.I think that is a small error in my code displaying the listbox.[code]
View 1 Replies
Apr 7, 2011
I have a listbox on my form which gets items added as the program progresses, when there are more items than the box can display, the vertical scrollbar appears, fine... so far so good.I would like the scrollbar default position to be at the bottom of it's column so that the last entered item is displayed but can't find the relevant command, I assume there is such a command.
View 2 Replies
Jun 22, 2011
I am making a program, obviously, and I require some assistance. I found an explanation on how to read information from a Text file and have modified it for my needs. Here is my (modded) version:
Public Function GetInfo(ByVal playlistname As String) As String
On Error Resume Next
Dim PlaylistInfo As String
[code].....
View 6 Replies
Jan 5, 2012
I would like to display all open workbooks in a listbox.The problem being that there may be a number of Excel Processes running.[code]...
View 7 Replies
Mar 17, 2009
how to correlate info from a textbox based on a listbox item selection. For example the user will select an item from the listbox, enter say the length of a song in the textbox say 2:00 for song #1, select say song #2, enter the song time for that song say 3:00, click on song #1 again and have the same textbox display the length of that song and be able to do that until there are no more songs on the list.
View 5 Replies
Dec 2, 2008
I have a structure like this[code]...
How can I store this in my.settings? When I select browse to find the type, or simply type in "Register", it does not work.
View 1 Replies
Dec 2, 2009
I need a piece of code that will take info from a textbox and store it as a txt.file. Also how would I go about taking info from a combobox?
View 6 Replies
May 13, 2009
I have just added a login form to my main form which just has a username textbox and a password textbox. What i basically want a user to be able to do is enter their username and password into these fields and then for the form to store the values there.
So if they enter their username and password, and then click OK on the login form, if they were to open up the login form their details would still be there?I want to be able to call on these values else where? How do i store the info in the username and password fields? And if they then closed the form and opened it up again would it still remember what username and password had been entered?
View 7 Replies
Jul 1, 2009
I am making a video conversion tool. I have a listview with one item per file.And i also have options to add subtitles to movies. I want it to be like this:Say the user add 2 movies. He select the first movie in the listview and then go to the subtitle tab beside. There he checks a checkbox so he can add subtitles. Some controls comes up that allows he to browse for subtitle and select which language the subtitle is. Then when he has selected these options, he select the other movie, the program saves the subtitle data somewhere and then erases all fields so he can fill them with a subtitle for the other movie.
My.Settings is way to simple for this. But i don't want SQL or db related stuff.Is there a good storing way i have missed?
View 4 Replies
Apr 10, 2011
I am trying to learn VB.NET and I've written a user entry screen to store and retrieve information. I keep getting this error. I understand that I have to either change the ref value from the calling code, but my problem is where is the calling code? Here is the error I'm getting (the program is underscoring udtTrans in the FileGet line in this segment).
Private Sub viewRecords()
'open the file and read fields of the first record into the textboxes
Try
FileOpen(1, strFilename, OpenMode.Random, OpenAccess.ReadWrite, OpenShare.Shared, Len(udtTrans))
FileGet(1, udtTrans, intCurrentRecord) 'gets first record
[Code] .....
View 2 Replies
Aug 25, 2010
I am trying to come up with a way to store 3 pieces of information for each employee in the company on a daily basis. So for instance:
Day 1: Joe, 8, 80
Day 2: Sam, 10, 90
Day 3: Bill, 5, 40
Day 4: Bob, 8, 40
Day 5: Sue, 2, 50
I am very new to collections and most of the applications that I build are Create, Read, Update and Delete type applications that don't really need arrays so I have almost no experience with either.
This is what I have so far.
VB
'
Dim iDays As Integer = NumberDaysPerMonth(Date.Now)
Dim DayNumber(iDays) As Integer
Dim EmployeeRecords As List(Of String) = New List(Of String)
For i = 1 To DayNumber.Count - 1
[Code] .....
View 4 Replies
Apr 17, 2009
I am writing a program that lets someone click on a picture to vote for their favorite pet. The part I am stuck at is: when the application is opened and closed it needs to remember how many votes there were. To do so, when the program is closed I have the information stored in a .txt file. it looks something to the effect of:
name, type, votes
andy, bear, 0
bart, dog, 0
candy, cat, 0
hopsie, bunny, 0
[Code]...
View 4 Replies
Dec 9, 2010
know open an xml file into a datagrid. The xml file is stored in a secured ftp with username and password. Just as an example if the site ftp.mysitesite.com, with username "xxx" and the password "XXX" has the file 123.xml, then how do I load 123 into a datagrid. Is it possible to store these info to a variable in app.Config and use that variable to access the site?
View 5 Replies
Apr 29, 2011
I want to store additional information about a listview item using a custom class, but I can't seem to get it to work.I'm currently using this code to accomplish something similar using a listbox item.I just want to do the same thing with a listview.
Public Class myListboxItem
Public id As String
Public rootFolder As String[code]....
I forgot to add "Inherits ListViewItem" to my class.I'll update the code listed here to serve as an example for others.
View 1 Replies
Jun 6, 2011
i am developing a software using microsoft visual studio basic 2010. I set up a connection string to my server and take the data from there. I am using gridcontrolview and put my "product" table in here. It contain 4 column: systemid, system, actualid, description. I want to display only system column (it's easy, just hide the others column) But, In "system" column, there are a lot of similar data, i want to display only distinct data from this column in the grid
example, the column consist: STSTEM
topaz
topaz
topaz
[Code]....
i try to user "add query", buat if i get rid of the other 3 column, there will be error message like "the output is different with the schema"
View 1 Replies
Oct 29, 2010
Ok, so I`ve been studying a bit of VB lately.. bought a few books and read lot`s of articles and seen hours of instructional videos, and I slightly start to get the hang of a few things.. :) I`ve recently started a fun little project, but I seem to lack a bit of knowledge to reach my goal. I`ll first try to describe my project:
[Cde]...
View 1 Replies
Feb 17, 2009
I finally got my last project done and Im updating it and making it more efficient. So instead of DGV to list users what Ive done is using a combobox to list the agents names in the database. I got that part done and I have that table as the datasource for the combox and that part works fine. However Im wanting when they select the Name from the combox it gets the values from the columns and displays them in the appropiate area. Ive tried like SELECT PhoneID FROM agents WHERE Agentname =" & comboname.text, but I cant get it to work that way.
View 4 Replies
Mar 23, 2011
I have a program and I get time data from a sqldb and display it in a column in a listbox. What are the proper steps for adding the time as I iterate through the data in the column? I figure I will need to do some conversions on the time to be able to add it and display it as a total.
View 9 Replies
Jun 10, 2010
how can i make my DGV columns not sortable?
View 3 Replies
Feb 24, 2010
Add persistence to multible DataGridView in terms of Hide/Show column and column width
View 1 Replies
Apr 29, 2009
Private Sub frmStudentScores_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
ListBox1.Items.Clear()
ListBox1.Items.Add("Joel Murach|97|71|83")
ListBox1.Items.Add("Doug Lowe|99|93|97")
[code]....
The code works accept for the txtScoreTotal I need to Add the Numbers together but all it does is For Example Joel Murach|97|71|83 it will put 977183 Instead of actually adding them together.
View 2 Replies
Dec 14, 2010
this is a library management system, i dont know why it doesnt work, my code in the issue form is just the same as the return form but it doesn't work right here. it just populate the listbox with the info. from the database. my code is here,
Dim nnn As Integer
Dim mmm As Boolean
Dim xxx As Integer
[Code]....
View 5 Replies
Apr 29, 2009
I have 2 forms 1 that shows a name in a txtbox and Scores in a Listbox and the other form takes the selected score when you press the select button and you can change. Now I have it to where the old score is removed but when i replace it with the new score it doesnt appear in the same spot as the old score.[code]...
View 3 Replies
Apr 2, 2009
Make a Quiz result sortable? Option Strict On[code]...
View 2 Replies