Search results

  1. Skydiver

    Question Advanced guessing game - Code review

    First of all, never upload the obj directory into github. The same way you never upload the final build output bin directory, you shouldn't upload the obj directory which contains the intermediate results of compiling/linking/building. This is pointless if all you are trying to do is show that...
  2. Skydiver

    Resolved Assigning value to nested array

    I'm glad you figured it out. Since your teachers seem to be taking time to teach you about object oriented class design, I would remind you of The Law of Demeter. Perhaps your teachers haven't gotten to it yet, or maybe their current focus right now is to teach you about arrays, but it's...
  3. Skydiver

    Question Format Date in C#

    With the standard Excel UI, when you prefix text with a single quote, Excel treats the cell input as plain text and will not try to guess at the data type. Perhaps you can try the same. Otherwise, I'm quite sure there is a way with the Excel Object Model to tell it that cell B1 should be treated...
  4. Skydiver

    Question Format Date in C#

    This is not a C# question of how to save in specific date format. This is an Excel Object Model question of how to make Excel save a CSV with the date in a particular format. Moving out of WinForms...
  5. Skydiver

    Question My filter control is not working properly on my database project, can someone help me fix it?

    Why would that be your expectation? That is not how a standard Windows Combobox works. That behaviour you are expecting is how some web sites work.
  6. Skydiver

    Answered How download dynamic HTML of a site?

    Because: 1. Twitter had an API which you should be using to extract data from Twitter; and 2. This feels like an XY Problem.
  7. Skydiver

    Answered How download dynamic HTML of a site?

    The first question is why are you uploading HTML from twitter.com to some other location. It feels like you are violating the Twitter Terms of Service by trying to do some screen scraping.
  8. Skydiver

    Question IO Doesnt work on x64 or on x86 configaration only on Any CPU RRS feed

    Or instead of hand copying your "CVSTEST.csv" into the output path, actually use the Visual Studio feature to "Copy if newer" or "Alway copy" option when building. This this take care of putting the file into the correct place.
  9. Skydiver

    Question Serialization for game

    Can you explain what security issue you are having with the binary formatter? Are you talking about the typical Java (and C#) blind instantiation of an object from an "untrusted" source? If so, then you have to ensure that it is a trusted source: secure the stream end-to-end; add some kind of...
  10. Skydiver

    Question My filter control is not working properly on my database project, can someone help me fix it?

    You keep on saying: "When I click on that row and filter" Can you show us the event handler that handles this row selection and setting of filters? The code you presented in your original post is for a keyup event. Keyup events are usually associated with textboxes where you type in things. You...
  11. Skydiver

    Resolved Saving DataGridView to Excel without saving file question

    If I recall correctly, one of the events you can register for on the Excel app object was a notification when the app was closing.
  12. Skydiver

    Question packaging up a completed project

    "Visual Studio 2015 C#" doesn't tell us much since you can create a large variety of applications with Visual Studio 2015 using C#. By ".net form" can I assume you mean WinForms? Or do you mean WebForms?
  13. Skydiver

    Question How to get nested complexType parameters for an operation from a SOAP wsdl?

    As I said in post #4: step through the code with the debugger. Don't just run it. I think that you'll find that when you call OutputElements() on line 71 (which produced the output from line 138), that the rest of the foreach loop for in getParams() has not yet seen the succeeding elements.
  14. Skydiver

    Question Configuration Manager

    Read the documentation I linked to. In particular the sample code. Notice that config was a variable, not a class.
  15. Skydiver

    Question Configuration Manager

    Correct. The idea in dotNetCore is that an app is not supposed to change the configuration. That's because the configuration passed in to the dotNetCore application is an amalgam of the settings read in from the appsettings.json, appsettings.<env>.json, environment variables, and the command...
  16. Skydiver

    Question My filter control is not working properly on my database project, can someone help me fix it?

    Let me see if I understand your code correctly. You are waiting for key up events in your txtSearch text box. For lines 3-6, If the text box is empty, you fill the data set with all the available data. If the text box is not empty (lines 8-17), then you fill the data set with the matching...
  17. Skydiver

    Question packaging up a completed project

    In depends on what kind of project you are working on. Is it a desktop application? Is it a web application?
  18. Skydiver

    Question How to get nested complexType parameters for an operation from a SOAP wsdl?

    You need to build up the "object tree". Notice how the type of "HelloRequest" is "helloRequest": <xs:element name="HelloRequest" type="tns:helloRequest"/> And notice how "helloRequest" contains the "Name" that you are looking for: <xs:complexType name="helloRequest"> <xs:sequence>...
  19. Skydiver

    Question Configuration Manager

    Read the documentation. Notice how Config.Save() is used to write out the configuration.
Top Bottom