Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. list view problem

list view problem

Scheduled Pinned Locked Moved Visual Basic
helpdotnetcomdebuggingquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    souravghosh18
    wrote on last edited by
    #1

    Hi all, I am using a list view in my project to display some data. The listview has over 5000 element to display.but when i run my program through debug mode then it gives the following error "The CLR has been unable to transition from COM context 0x1a1010 to COM context 0x1a1180 for 60 seconds. The thread that owns the destination context/apartment is most likely either doing a non pumping" but when i run the exe then it is working fine. can any body give me any clue,why it is happening ?

    S L 2 Replies Last reply
    0
    • S souravghosh18

      Hi all, I am using a list view in my project to display some data. The listview has over 5000 element to display.but when i run my program through debug mode then it gives the following error "The CLR has been unable to transition from COM context 0x1a1010 to COM context 0x1a1180 for 60 seconds. The thread that owns the destination context/apartment is most likely either doing a non pumping" but when i run the exe then it is working fine. can any body give me any clue,why it is happening ?

      S Offline
      S Offline
      Simon_Whale
      wrote on last edited by
      #2

      how are you loading the data?

      As barmey as a sack of badgers Dude, if I knew what I was doing in life, I'd be rich, retired, dating a supermodel and laughing at the rest of you from the sidelines.

      1 Reply Last reply
      0
      • S souravghosh18

        Hi all, I am using a list view in my project to display some data. The listview has over 5000 element to display.but when i run my program through debug mode then it gives the following error "The CLR has been unable to transition from COM context 0x1a1010 to COM context 0x1a1180 for 60 seconds. The thread that owns the destination context/apartment is most likely either doing a non pumping" but when i run the exe then it is working fine. can any body give me any clue,why it is happening ?

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        souravghosh18 wrote:

        can any body give me any clue,why it is happening ?

        Are you doing that processing on the UI-thread? Have you considered moving it to a backgroundworker?

        I are Troll :suss:

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups