Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 560249
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T12:19:23+00:00 2026-05-13T12:19:23+00:00

I need two seperate lists, which every item is Integer, String, Bitmap – and

  • 0

I need two seperate lists, which every item is Integer, String, Bitmap – and one which every item is Integer, String String. However I don’t know how to do this, or even where to look – I’ve googled for custom objects and custom object lists. What I’m trying to do is this.
Custom Object1 is Integer, String, Bitmap
Custom Object2 is Integer, String, String

In one thread I’ll be adding items to List1(Of Object1), and processing them, and adding the results to List2(Of Object2), however I need to be able from other threads to look at the list and say only give me the items where Integer = (my thread ID), is this possible? Any help, or even links to information that would be relevant to this request would be helpful?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T12:19:24+00:00Added an answer on May 13, 2026 at 12:19 pm

    Do something like this:

    Public Class Type1
        Private _ThreadID As Integer
        Public Property ThreadID() As Integer
           Get
               Return _ThreadID
           End Get
           Set
               _ThreadID = Value
           End Set
        End Property
    
        Private _MyString As String
        Public Property MyString() as String
            Get
                Return _MyString
            End Get
            Set 
                _MyString = Value
            End Set
        End Property
    
        Private _MyBitmap As Bitmap
        Public Property MyBitmap As Bitmap
            Get
                Return _MyBitmap
            End Get
            Set
                _MyBitmap = Value
            End Set
        End Property
     End Class
    

    .

    Dim list1 As New List(Of Type1)()
    ''#  ... Add some items to the list...
    
    ''# List items with a given thread id:
    Dim SomeThreadID As Integer = GetMyThreadID()
    list1.Where(Function(o) o.ThreadID = SomeThreadID)
    

    Of course, you’ll want to use more meaningful names. As for the multi-threading aspect, look into using the Monitor class to lock your lists across all threads while one thread is using it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 273k
  • Answers 273k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer A plug-in architecture is what you need to look-up and… May 13, 2026 at 2:15 pm
  • Editorial Team
    Editorial Team added an answer You'll want to read the iPhone Application Programming Guide section… May 13, 2026 at 2:15 pm
  • Editorial Team
    Editorial Team added an answer Something like that: def attr value = read_attribute :attr value… May 13, 2026 at 2:15 pm

Related Questions

I asked a similar question yesterday which may have been poorly worded, either way
I have the situation where i use GIS software which stores the information about
I'm writing a method that forms part of the public interface of a Java
I just ran into something weird. I have two JSON arrays which holds different
Is there a PHP implementation of markdown suitable for using in public comments? Basically

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.