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. C#
  4. [STAThread]

[STAThread]

Scheduled Pinned Locked Moved C#
csharpquestion
9 Posts 7 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.
  • L Offline
    L Offline
    lawrenceinba
    wrote on last edited by
    #1

    what is the function of [STAThread] in c#

    the quieter u become more u hear

    D C realJSOPR 3 Replies Last reply
    0
    • L lawrenceinba

      what is the function of [STAThread] in c#

      the quieter u become more u hear

      D Offline
      D Offline
      Deresen
      wrote on last edited by
      #2

      Please use the power of google: First hit on C# STAThread[^]

      V 1 Reply Last reply
      0
      • D Deresen

        Please use the power of google: First hit on C# STAThread[^]

        V Offline
        V Offline
        Vikram A Punathambekar
        wrote on last edited by
        #3

        I wanted to respond with the Google search page myself, but I was called away from my desk :)

        Cheers, Vıkram.


        I've never ever worked anywhere where there has not been someone who given the choice I would not work with again. It's a job, you do your work, put up with the people you don't like, accept there are probably people there that don't like you a lot, and look forward to the weekends.   - Josh Gray.

        1 Reply Last reply
        0
        • L lawrenceinba

          what is the function of [STAThread] in c#

          the quieter u become more u hear

          C Offline
          C Offline
          CPallini
          wrote on last edited by
          #4

          Possibly to make you asking about. :rolleyes: BTW usuall ydocumentation [^] helps. :)

          If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
          This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
          [My articles]

          1 Reply Last reply
          0
          • L lawrenceinba

            what is the function of [STAThread] in c#

            the quieter u become more u hear

            realJSOPR Offline
            realJSOPR Offline
            realJSOP
            wrote on last edited by
            #5

            They say the sea is cold, but the sea contains the hottest blood of all, and the wildest, the most urgent. All the whales in the wider deeps, hot are they, as they urge on and on, and dive beneath the icebergs. The right whales, the sperm-whales, the hammer-heads, the killers there they blow, there they blow, hot wild white breath out of the sea! And they rock, and they rock, through the sensual ageless ages on the depths of the seven seas, and through the salt they reel with drunk delight and in the tropics tremble they with love and roll with massive, strong desire, like gods. Then the great bull lies up against his bride in the blue deep bed of the sea, as mountain pressing on mountain, in the zest of life: and out of the inward roaring of the inner red ocean of whale-blood the long tip reaches strong, intense, like the maelstrom-tip, and comes to rest in the clasp and the soft, wild clutch of a she-whale's fathomless body. And over the bridge of the whale's strong phallus, linking the wonder of whales the burning archangels under the sea keep passing, back and forth, keep passing, archangels of bliss from him to her, from her to him, great Cherubim that wait on whales in mid-ocean, suspended in the waves of the sea great heaven of whales in the waters, old hierarchies. And enormous mother whales lie dreaming suckling their whale- tender young and dreaming with strange whale eyes wide open in the waters of the beginning and the end. And bull-whales gather their women and whale-calves in a ring when danger threatens, on the surface of the ceaseless flood and range themselves like great fierce Seraphim facing the threat encircling their huddled monsters of love. And all this happens in the sea, in the salt where God is also love, but without words: and Aphrodite is the wife of whales most happy, happy she! and Venus among the fishes skips and is a she-dolphin she is the gay, delighted porpoise sporting with love and the sea she is the female tunny-fish, round and happy among the males and dense with happy blood, dark rainbow bliss in the sea.

            "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
            -----
            "...the staggering layers of obscenity in your statement make i

            L L 2 Replies Last reply
            0
            • realJSOPR realJSOP

              They say the sea is cold, but the sea contains the hottest blood of all, and the wildest, the most urgent. All the whales in the wider deeps, hot are they, as they urge on and on, and dive beneath the icebergs. The right whales, the sperm-whales, the hammer-heads, the killers there they blow, there they blow, hot wild white breath out of the sea! And they rock, and they rock, through the sensual ageless ages on the depths of the seven seas, and through the salt they reel with drunk delight and in the tropics tremble they with love and roll with massive, strong desire, like gods. Then the great bull lies up against his bride in the blue deep bed of the sea, as mountain pressing on mountain, in the zest of life: and out of the inward roaring of the inner red ocean of whale-blood the long tip reaches strong, intense, like the maelstrom-tip, and comes to rest in the clasp and the soft, wild clutch of a she-whale's fathomless body. And over the bridge of the whale's strong phallus, linking the wonder of whales the burning archangels under the sea keep passing, back and forth, keep passing, archangels of bliss from him to her, from her to him, great Cherubim that wait on whales in mid-ocean, suspended in the waves of the sea great heaven of whales in the waters, old hierarchies. And enormous mother whales lie dreaming suckling their whale- tender young and dreaming with strange whale eyes wide open in the waters of the beginning and the end. And bull-whales gather their women and whale-calves in a ring when danger threatens, on the surface of the ceaseless flood and range themselves like great fierce Seraphim facing the threat encircling their huddled monsters of love. And all this happens in the sea, in the salt where God is also love, but without words: and Aphrodite is the wife of whales most happy, happy she! and Venus among the fishes skips and is a she-dolphin she is the gay, delighted porpoise sporting with love and the sea she is the female tunny-fish, round and happy among the males and dense with happy blood, dark rainbow bliss in the sea.

              "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
              -----
              "...the staggering layers of obscenity in your statement make i

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

              And a second bag of WTF for you Mr. Simmons

              Check out the CodeProject forum Guidelines[^]

              1 Reply Last reply
              0
              • realJSOPR realJSOP

                They say the sea is cold, but the sea contains the hottest blood of all, and the wildest, the most urgent. All the whales in the wider deeps, hot are they, as they urge on and on, and dive beneath the icebergs. The right whales, the sperm-whales, the hammer-heads, the killers there they blow, there they blow, hot wild white breath out of the sea! And they rock, and they rock, through the sensual ageless ages on the depths of the seven seas, and through the salt they reel with drunk delight and in the tropics tremble they with love and roll with massive, strong desire, like gods. Then the great bull lies up against his bride in the blue deep bed of the sea, as mountain pressing on mountain, in the zest of life: and out of the inward roaring of the inner red ocean of whale-blood the long tip reaches strong, intense, like the maelstrom-tip, and comes to rest in the clasp and the soft, wild clutch of a she-whale's fathomless body. And over the bridge of the whale's strong phallus, linking the wonder of whales the burning archangels under the sea keep passing, back and forth, keep passing, archangels of bliss from him to her, from her to him, great Cherubim that wait on whales in mid-ocean, suspended in the waves of the sea great heaven of whales in the waters, old hierarchies. And enormous mother whales lie dreaming suckling their whale- tender young and dreaming with strange whale eyes wide open in the waters of the beginning and the end. And bull-whales gather their women and whale-calves in a ring when danger threatens, on the surface of the ceaseless flood and range themselves like great fierce Seraphim facing the threat encircling their huddled monsters of love. And all this happens in the sea, in the salt where God is also love, but without words: and Aphrodite is the wife of whales most happy, happy she! and Venus among the fishes skips and is a she-dolphin she is the gay, delighted porpoise sporting with love and the sea she is the female tunny-fish, round and happy among the males and dense with happy blood, dark rainbow bliss in the sea.

                "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                -----
                "...the staggering layers of obscenity in your statement make i

                L Offline
                L Offline
                Luc Pattyn
                wrote on last edited by
                #7

                Now that clarified STAThread. Could you please also explain MTAThread? :doh:

                Luc Pattyn [Forum Guidelines] [My Articles]


                - before you ask a question here, search CodeProject, then Google - the quality and detail of your question reflects on the effectiveness of the help you are likely to get - use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets


                modified on Sunday, June 12, 2011 8:34 AM

                realJSOPR 1 Reply Last reply
                0
                • L Luc Pattyn

                  Now that clarified STAThread. Could you please also explain MTAThread? :doh:

                  Luc Pattyn [Forum Guidelines] [My Articles]


                  - before you ask a question here, search CodeProject, then Google - the quality and detail of your question reflects on the effectiveness of the help you are likely to get - use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets


                  modified on Sunday, June 12, 2011 8:34 AM

                  realJSOPR Offline
                  realJSOPR Offline
                  realJSOP
                  wrote on last edited by
                  #8

                  And now, for some haiku... A thread semaphore Ordered chaos is timely Relinquished again

                  "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                  -----
                  "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                  L 1 Reply Last reply
                  0
                  • realJSOPR realJSOP

                    And now, for some haiku... A thread semaphore Ordered chaos is timely Relinquished again

                    "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                    -----
                    "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                    L Offline
                    L Offline
                    Luc Pattyn
                    wrote on last edited by
                    #9

                    This site needs a literary forum now. :)

                    Luc Pattyn [Forum Guidelines] [My Articles]


                    - before you ask a question here, search CodeProject, then Google - the quality and detail of your question reflects on the effectiveness of the help you are likely to get - use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets


                    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