GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   I got a VB .net Question Very Basic (this is day 1 for me) (https://gfy.com/showthread.php?t=692535)

KMR Stitch 01-03-2007 05:53 PM

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


dropped9 01-03-2007 05:55 PM

means you suck...

but i have your answer...

























format c:

smack 01-03-2007 05:58 PM

what line is it erroring on?

i've never even seen that error.

KMR Stitch 01-03-2007 06:00 PM

I was in compile mode... and then after like 2mins it gave me that error..

smack I didn't know you were a coder =)

smack 01-03-2007 06:03 PM

i dabble :glugglug

smack 01-03-2007 06:07 PM

you have anything else in your form?

how are you calling that sub? are you using threading?

tical 01-03-2007 07:21 PM

thats a shitty first project, here you go... same end result

Code:

Console.Writeline("Welcome to VB.net")
Dim name as String
name = InputBox("What is your name?")
Console.Writeline("Hello, " & name & "!")



All times are GMT -7. The time now is 11:10 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123