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. Other Discussions
  3. The Back Room
  4. Help me! =) [modified]

Help me! =) [modified]

Scheduled Pinned Locked Moved The Back Room
designhelplounge
26 Posts 9 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.
  • P pimpdog 0

    Don't come back to CP for help until you learn how to program. Whoever is paying you to program this is getting ripped off. I better not find anything like that running on my computer.

    B Offline
    B Offline
    Bobbz
    wrote on last edited by
    #5

    [Message Deleted]

    P 1 Reply Last reply
    0
    • S soap brain

      Bobbziz wrote:

      if (online.IndexOf(User.Identity.Name) <= 0) { if (String.IsNullOrEmpty(online)) { online = User.Identity.Name;

      That's what's wrong. Now go and fix it.

      B Offline
      B Offline
      Bobbz
      wrote on last edited by
      #6

      Thank you :D it is working really fine now here is the new code thank you is workin really fine now... here is the new code ----------------- if (online.IndexOf(User.Identity.Name) == -1) { if (String.IsNullOrEmpty(online)) { online = User.Identity.Name; } else { online = online + "," + User.Identity.Name; } Application.Remove( "online"); Application.Add( "online", online); } ListBox1.Items.Clear(); char[] splitter = { ',' };

      Waddatah

      1 Reply Last reply
      0
      • B Bobbz

        [Message Deleted]

        P Offline
        P Offline
        pimpdog 0
        wrote on last edited by
        #7

        It appears you have a long way to go until you learn what programming is really about. I think you should start with C and DOS to really understand computing.

        1 Reply Last reply
        0
        • R R Giskard Reventlov

          Nobody is going to help you whilst you continue to post in this forum. Figure out the right place to ask the question using proper English (sorry if this is not your native language but this is an English language website). Otherwise you'll get your arse chewed for being a brainless dick and nobody will EVER respond to your whiny pleas for help. Got it?

          me, me, me

          P Offline
          P Offline
          pimpdog 0
          wrote on last edited by
          #8

          Look at his code. Its hard to tell if he is a troll or for real. Who would write code like that?

          R B 3 Replies Last reply
          0
          • R R Giskard Reventlov

            Nobody is going to help you whilst you continue to post in this forum. Figure out the right place to ask the question using proper English (sorry if this is not your native language but this is an English language website). Otherwise you'll get your arse chewed for being a brainless dick and nobody will EVER respond to your whiny pleas for help. Got it?

            me, me, me

            B Offline
            B Offline
            Bobbz
            wrote on last edited by
            #9

            i am sorry :( but i am new at this.. hehe thank you now i know.. no iam from sweden so english is not my native language so sorry :/ but i promise to be better on english

            Waddatah

            L 1 Reply Last reply
            0
            • P pimpdog 0

              Look at his code. Its hard to tell if he is a troll or for real. Who would write code like that?

              R Offline
              R Offline
              R Giskard Reventlov
              wrote on last edited by
              #10

              I agree: it's probably one of the normal trolls playing with a new name. And they wonder why people can't be bothered with them.

              me, me, me

              B 1 Reply Last reply
              0
              • P pimpdog 0

                Look at his code. Its hard to tell if he is a troll or for real. Who would write code like that?

                B Offline
                B Offline
                Bobbz
                wrote on last edited by
                #11

                thanks for the comment it is working now i saw i made a little mistake but the code i sent wasn´t the full code

                Waddatah

                P 1 Reply Last reply
                0
                • B Bobbz

                  thanks for the comment it is working now i saw i made a little mistake but the code i sent wasn´t the full code

                  Waddatah

                  P Offline
                  P Offline
                  pimpdog 0
                  wrote on last edited by
                  #12

                  I know but even with that sample I can tell your code is terribly sloppy and inefficient. Stop thinking in strings and start thinking in 1s and 0s.

                  O 1 Reply Last reply
                  0
                  • P pimpdog 0

                    Look at his code. Its hard to tell if he is a troll or for real. Who would write code like that?

                    B Offline
                    B Offline
                    Bobbz
                    wrote on last edited by
                    #13

                    this code is working really good { public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { if (User.Identity.Name == null) { Response.Redirect("login.aspx"); } String online; if (Application["online"] != null) { online = Application["online"].ToString(); } else { online = ""; } if (online.IndexOf(User.Identity.Name) == -1) { if (String.IsNullOrEmpty(online)) { online = User.Identity.Name; } else { online = online + "," + User.Identity.Name; } Application.Remove("online"); Application.Add("online", online); } ListBox1.Items.Clear(); char[] splitter = { ',' }; foreach (String onlineuser in online.Split(splitter)) { ListBox1.Items.Add(onlineuser); } } protected void Button2_Click(object sender, EventArgs e) { String chat; String oldChat; if (Application["chat"] != null) { oldChat = Application["chat"].ToString(); } else { oldChat = ""; } chat = oldChat + "<br>" + User.Identity.Name + ":" + txtSkriv.Text; Application.Remove("chat"); Application.Add("chat", chat); } protected void Button3_Click(object sender, EventArgs e) { Session.Clear(); Response.Redirect("login.aspx"); } protected void ListBox1_SelectedIndexChanged(object sender, EventArgs e) { } } }

                    Waddatah

                    P 1 Reply Last reply
                    0
                    • R R Giskard Reventlov

                      I agree: it's probably one of the normal trolls playing with a new name. And they wonder why people can't be bothered with them.

                      me, me, me

                      B Offline
                      B Offline
                      Bobbz
                      wrote on last edited by
                      #14

                      That code is working really fine --------------------------------------------------------------------- { public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { if (User.Identity.Name == null) { Response.Redirect("login.aspx"); } String online; if (Application["online"] != null) { online = Application["online"].ToString(); } else { online = ""; } if (online.IndexOf(User.Identity.Name) == -1) { if (String.IsNullOrEmpty(online)) { online = User.Identity.Name; } else { online = online + "," + User.Identity.Name; } Application.Remove("online"); Application.Add("online", online); } ListBox1.Items.Clear(); char[] splitter = { ',' }; foreach (String onlineuser in online.Split(splitter)) { ListBox1.Items.Add(onlineuser); } } protected void Button2_Click(object sender, EventArgs e) { String chat; String oldChat; if (Application["chat"] != null) { oldChat = Application["chat"].ToString(); } else { oldChat = ""; } chat = oldChat + "<br>" + User.Identity.Name + ":" + txtSkriv.Text; Application.Remove("chat"); Application.Add("chat", chat); } protected void Button3_Click(object sender, EventArgs e) { Session.Clear(); Response.Redirect("login.aspx"); } protected void ListBox1_SelectedIndexChanged(object sender, EventArgs e) { } } }

                      Waddatah

                      1 Reply Last reply
                      0
                      • B Bobbz

                        this code is working really good { public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { if (User.Identity.Name == null) { Response.Redirect("login.aspx"); } String online; if (Application["online"] != null) { online = Application["online"].ToString(); } else { online = ""; } if (online.IndexOf(User.Identity.Name) == -1) { if (String.IsNullOrEmpty(online)) { online = User.Identity.Name; } else { online = online + "," + User.Identity.Name; } Application.Remove("online"); Application.Add("online", online); } ListBox1.Items.Clear(); char[] splitter = { ',' }; foreach (String onlineuser in online.Split(splitter)) { ListBox1.Items.Add(onlineuser); } } protected void Button2_Click(object sender, EventArgs e) { String chat; String oldChat; if (Application["chat"] != null) { oldChat = Application["chat"].ToString(); } else { oldChat = ""; } chat = oldChat + "<br>" + User.Identity.Name + ":" + txtSkriv.Text; Application.Remove("chat"); Application.Add("chat", chat); } protected void Button3_Click(object sender, EventArgs e) { Session.Clear(); Response.Redirect("login.aspx"); } protected void ListBox1_SelectedIndexChanged(object sender, EventArgs e) { } } }

                        Waddatah

                        P Offline
                        P Offline
                        pimpdog 0
                        wrote on last edited by
                        #15

                        I don't know much about ASP.NET, but I think you should make your program a desktop application. That would == better performance, and funner. You can make it do all kinds of neat things when your not trapped in a web browser. Since you are learning how to program, desktop applications are the way to go. If it was a desktop app, I could have that thing working and optimized pretty quickly, but unfortunately I don't know ASP.NET or networking.

                        B 1 Reply Last reply
                        0
                        • P pimpdog 0

                          I don't know much about ASP.NET, but I think you should make your program a desktop application. That would == better performance, and funner. You can make it do all kinds of neat things when your not trapped in a web browser. Since you are learning how to program, desktop applications are the way to go. If it was a desktop app, I could have that thing working and optimized pretty quickly, but unfortunately I don't know ASP.NET or networking.

                          B Offline
                          B Offline
                          Bobbz
                          wrote on last edited by
                          #16

                          Thank you for the tip ;)

                          Waddatah

                          1 Reply Last reply
                          0
                          • P pimpdog 0

                            Don't come back to CP for help until you learn how to program. Whoever is paying you to program this is getting ripped off. I better not find anything like that running on my computer.

                            O Offline
                            O Offline
                            Oakman
                            wrote on last edited by
                            #17

                            I doubt you find any source code running on your computer.

                            Jon Smith & Wesson: The original point and click interface

                            1 Reply Last reply
                            0
                            • P pimpdog 0

                              I know but even with that sample I can tell your code is terribly sloppy and inefficient. Stop thinking in strings and start thinking in 1s and 0s.

                              O Offline
                              O Offline
                              Oakman
                              wrote on last edited by
                              #18

                              pimpdog wrote:

                              Stop thinking in strings and start thinking in 1s and 0s.

                              Did you make that up all by yourself? :laugh: :laugh: :laugh:

                              Jon Smith & Wesson: The original point and click interface

                              Z 1 Reply Last reply
                              0
                              • B Bobbz

                                i am sorry :( but i am new at this.. hehe thank you now i know.. no iam from sweden so english is not my native language so sorry :/ but i promise to be better on english

                                Waddatah

                                L Offline
                                L Offline
                                leckey 0
                                wrote on last edited by
                                #19

                                You can start to be better by NOT POSTING PROGRAMMING QUESTIONS IN THIS FORUM.

                                Shhhhh..... http://craptasticnation.blogspot.com/[^]

                                L 1 Reply Last reply
                                0
                                • L leckey 0

                                  You can start to be better by NOT POSTING PROGRAMMING QUESTIONS IN THIS FORUM.

                                  Shhhhh..... http://craptasticnation.blogspot.com/[^]

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

                                  Hes a troll Leckey. Look at some of his posts, his English isnt as bad as he professes. Probably Kyle. He often did this in the lounge in the guise of an Indian.

                                  Morality is indistinguishable from social proscription

                                  O 1 Reply Last reply
                                  0
                                  • L Lost User

                                    Hes a troll Leckey. Look at some of his posts, his English isnt as bad as he professes. Probably Kyle. He often did this in the lounge in the guise of an Indian.

                                    Morality is indistinguishable from social proscription

                                    O Offline
                                    O Offline
                                    Oakman
                                    wrote on last edited by
                                    #21

                                    I think its Joshua. He seems to be flooding Soapbox with his aliases. Having a long involved conversation with himself is what he'd think was hysterically funny.

                                    Jon Smith & Wesson: The original point and click interface

                                    L P 2 Replies Last reply
                                    0
                                    • O Oakman

                                      I think its Joshua. He seems to be flooding Soapbox with his aliases. Having a long involved conversation with himself is what he'd think was hysterically funny.

                                      Jon Smith & Wesson: The original point and click interface

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

                                      Its a little too clever for Henize, the profile even has a link to a swedish website thats under construction. I am not suggetsing this site was created by Kyle, but that he fond it, and constructed the fake persona around it.

                                      Morality is indistinguishable from social proscription

                                      O 1 Reply Last reply
                                      0
                                      • L Lost User

                                        Its a little too clever for Henize, the profile even has a link to a swedish website thats under construction. I am not suggetsing this site was created by Kyle, but that he fond it, and constructed the fake persona around it.

                                        Morality is indistinguishable from social proscription

                                        O Offline
                                        O Offline
                                        Oakman
                                        wrote on last edited by
                                        #23

                                        You may be right. Disappointing, though. Kyle has been behaving himself recently.

                                        Jon Smith & Wesson: The original point and click interface

                                        1 Reply Last reply
                                        0
                                        • O Oakman

                                          I think its Joshua. He seems to be flooding Soapbox with his aliases. Having a long involved conversation with himself is what he'd think was hysterically funny.

                                          Jon Smith & Wesson: The original point and click interface

                                          P Offline
                                          P Offline
                                          pimpdog 0
                                          wrote on last edited by
                                          #24

                                          No its not me. This isn't my style of trolling. I like to offend and shock people.

                                          T 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