View Single Post
Old 01-03-2007, 05:53 PM  
KMR Stitch
I am cool
 
Join Date: Jul 2003
Posts: 14,494
I got a VB .net Question Very Basic (this is day 1 for me)

The CLR has been unable to transition from COM context 0x1b1800 to COM context 0x1b1970 for 60 seconds. The thread that owns the destination context/apartment is most likely either doing a non pumping wait or processing a very long running operation without pumping Windows messages. This situation generally has a negative performance impact and may even lead to the application becoming non responsive or memory usage accumulating continually over time. To avoid this problem, all single threaded apartment (STA) threads should use pumping wait primitives (such as CoWaitForMultipleHandles) and routinely pump messages during long running operations.


What does that error mean? here is my code
Code:
Module Module1


    Sub Main()
        Console.WriteLine("Welcome to Visual Basic .NET!")
        Console.Write("Please Type Your name: ")
        Dim name As String
        name = Console.ReadLine()
        Console.WriteLine("Hello, {0}!", name)
        Console.WriteLine()
        Console.WriteLine("Press Enter to Quit...")

        Console.ReadLine()
    End Sub

End Module
KMR Stitch is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote