15,913,685 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by kaniption (Top 11 by date)
kaniption
30-Apr-15 17:06pm
View
Thank you sir!
kaniption
30-Apr-15 16:36pm
View
Ah, I see, okay thank you.
It says under Property "System.Windows.Forms.Listview"
kaniption
30-Apr-15 10:43am
View
I'm not sure what you mean by "type". Please excuse my noobness - I'm fairly new to VB.
The ListView I am working with has a View of "Large Icon" and my ListView is entitled "UserListView"
kaniption
30-Apr-15 8:35am
View
The images are uploaded via the application I'm building to the server and then pulled via open connection to the application into pictureboxes in various parts of my app. I understand how to pull from the server to a picturebox, what I can't comprehend is pulling it to display with the appropriate item in my listview within the code I have. The images I'm pulling are bitmaps.
That part isn't the problem and working fine. My listview even works fine pulling the data and displays everything, but the picture.
kaniption
27-Apr-15 14:36pm
View
Awesome Richard! You are the man!!! That worked to perfection! I see I was close with my code but obviously still had a ways to go.
Thanks for helping a low level programmer such as myself - this was driving me nuts!!! Smile | :)
kaniption
27-Apr-15 13:28pm
View
okay, updated it again. now its not checking anything. :/
Are you able to provide an example so that I can see what I am doing incorrectly? I've researched for about 12 hours online now and I cannot figure it out.
kaniption
27-Apr-15 12:44pm
View
Sure thing, I pasted new code - its now updating the checkboxes but unfortunately is is checking everything and not just the ones I am looking to be checked. I am saving the information in a similar manner and someone suggested I retrieve it this way as well.
kaniption
27-Apr-15 12:39pm
View
Deleted
sure thing! :)
Dim QueryBrands As String
QueryBrands = "SELECT * FROM tblBrandsTerminals WHERE XIDTerminal = '" + TermXID.Text + "'"
Dim reader As SqlDataReader
Dim commandsql = New SqlCommand(QueryBrands, con)
reader = commandsql.ExecuteReader
While reader.Read()
For index As Integer = 0 To BrandListBox.Items.Count - 1
BrandListBox.SetItemChecked(index, False)
'attempts to check mark boxes
Dim XDRV As DataRowView = CType(BrandListBox.Items(index), DataRowView)
Dim XDR As DataRow = XDRV.Row
BrandListBox.SetItemChecked(index, BrandListBox.Items.IndexOf(TermXID.Text))
Next
End While
reader.Close()
kaniption
27-Apr-15 10:04am
View
I only have two columns in this table, that of which I have to reference. Otherwise you are correct, I would have selected the columns needed normally and not *. I was just taking the easy way out considering there are only two columns. I have added the parameter @XIDTerm in place of the textbox per your suggestion, but obviously still having issues.
kaniption
23-Apr-15 14:20pm
View
Vamshi,
Thank you for the assistance. When changing it to
SelectedItems
, it now only documents one item checked, whereas I had 3 items checked, and also no longer puts in a value. Instead I get System.Data.DataRowView
kaniption
23-Apr-15 13:34pm
View
I'm no longer getting an error message. Please see my updated code.
Show More