Search results

  1. Skydiver

    Improving Coding Standards and Quality

    Ah so the "you" was "you, the team", rather than "you, the individual". So if the team decision is to use Allman style in JavaScript even though it is against the language convention, because the majority of the devs are C# and former Pascal developers, and only 10% of the code is JavaScript as...
  2. Skydiver

    Improving Coding Standards and Quality

    This contradicts itself: If nobody cares, then there shouldn't be any pre-tuned configs for developers. Developers should then be allowed to choose their preference (since nobody cares, right?), and then commit that version. Let the next person suffer through reformatting to their preferred...
  3. Skydiver

    best design for an responsibility system

    Have your looked at role based access?
  4. Skydiver

    Method not returning all elements in a list

    Same for me as well. I suspect that the bug in the OP's code is not in the method posted above, but rather in the code that processes the results.
  5. Skydiver

    Help needed with tutorial

    When you run your code in the debugger, which line is throwing that error? Also, a link to the tutorial would probably help us get more context, as well.
  6. Skydiver

    SQLite Table Problem

    By "setup" I assume you are talking about the Windows Forms Designer. Not everything needs to be dragged and dropped or configured in the designer. You can simply write some code.
  7. Skydiver

    SQLite Table Problem

    Busy right now, but I suggest using a more modern book or tutorial to learn C#. Things that make your current code dated: - Use of ArrayList instead of the recommend List<T>. - The old Unix and/or DOS style of having to run a program twice to get it to initialize its files -- in your case your...
  8. Skydiver

    FastCGI stable library for .NET Core

    And for a little bit of comic relief, consider the irony of this error message I just got...
  9. Skydiver

    FastCGI stable library for .NET Core

    If you had done your own research, then you need to tell us that you've already done this and list which ones you have considered and then the reasons why you discarded those. That would include what specific requirements you had. How are we supposed to deduced that from your original post where...
  10. Skydiver

    Question C#game. whack a mole

    How do we know those positions you have hard coded are correct and match up correctly with the holes that are rendered on screen if you don't show us the code for rendering the screen? Are you sure you've not setup some kind of transform on the GDI context that does the rendering?
  11. Skydiver

    Question How do I update a specific line of text in richtextbox and then sort it every time spacebar is pressed?

    But there is no need to compare the previous text with the new text. The assignment description above says that it is only the last line that needs to be sorted when the space bar is pressed. So that means that you can always take the last line, read the numbers found there, sort the numbers...
  12. Skydiver

    FastCGI stable library for .NET Core

    Google can help you find a psychologist, as well. You do know that depression is in the DSM IV.
  13. Skydiver

    Question How do I update a specific line of text in richtextbox and then sort it every time spacebar is pressed?

    You are overcomplicating things. Why do you need new and old RichTextBoxes?
  14. Skydiver

    FastCGI stable library for .NET Core

    Let me Google that for you...
  15. Skydiver

    FastCGI stable library for .NET Core

    Since you say you have 10+ years of experience in your profile, what has your own searches found? So far all your posts to this forum have been low value questions with nary a response to any questions we have trying to get more information from you.
  16. Skydiver

    C# 8.0 .NET Core HTTP/2 server

    Since you say you have 10+ years of experience in your profile, what has your own searches found? So far all your posts to this forum have been low value questions with nary a response to any questions we have trying to get more information from you.
  17. Skydiver

    Question How do I update a specific line of text in richtextbox and then sort it every time spacebar is pressed?

    With the RichTextBox to append text you simply append to the Text property like you were doing in your original post. What do you think you were doing in all your lines of code where you had richTextBox.Text += ...? The more interesting problem is how to replace existing text. The standard...
  18. Skydiver

    Question How do I update a specific line of text in richtextbox and then sort it every time spacebar is pressed?

    Looks like fun: using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace SimpleCSWinForms { class Program : Form { Program() { var rtb = new RichTextBox() {...
  19. Skydiver

    tcp read bytes

    On my machine that is setup for US-ENG as its default culture, here's the output I get: 0x19 is the ASCII control character EM (End Medium) 0x22 is the double quote 0x50 is the capital letter 'P' 0x12 is the ASCII control character DC2 (Device Control 2) Notice that depending on the encoding...
  20. Skydiver

    tcp read bytes

    What is the return value from stream.Read()? Did to that actually read 27 bytes? What is System.Text.Encoding.Default on your system? It varies between different environments. See the documentation. Depending on the encoding, bytes will be decoded into the .NET Framework's internal Unicode...
Top Bottom