Search results

  1. S

    Resolved 32feet.NET send file using Obex URI

    Firstly, welcome to the forums. Second, why are you using a dated API who's docs are out of date? I am sure there are other modern up-to-date libraries you can use for Bluetooth file sending. Thirdly, why are you not using a UriBuilder properly? This : Is not how you build up a Uri. You...
  2. S

    Question .net core 2.1 console app with http client factory question

    That is why I said regarding my previous post : I was assuming, but I was also alluding to this. If the OP is not using his own/or his client's database to store the returned data from this questionable API, then how do you know how many orders have been placed through the App you are...
  3. S

    Question .net core 2.1 console app with http client factory question

    You've read more of his topics than I have. So you'd know. I assumed he was querying an API and saving the data to his own/external database? Maybe I'm wrong, or maybe he can explain if what I proposed is at all possible? If it's not, then create your own API, one you can control, instead of...
  4. S

    Question .net core 2.1 console app with http client factory question

    The id should be set to AI and marked as a primary key for the record in which it represents in that table, and it should only be treated as such, and nothing else. The orderDate should be used to determine if an order in the database is older than the order you get from your API provider or...
  5. S

    Question .net core 2.1 console app with http client factory question

    If the data being received by your API has a newer date/datetime than that of your where clause of the date/datetime you are checking against in your database, then you can update those tables where the data is of an older date/time. This assumes your API provides a date/time for the data being...
  6. S

    Question .net core 2.1 console app with http client factory question

    How does one normally check if data exists before you update records? You can update records without reading them if they match a condition? That condition depends if it exists in your database data structure. Ie a datetime field, last updated etc. Its hard to answer that when you haven't told...
  7. S

    Question Saving Hierarchically Recursive object Iteratively

    Careful how you word things. I pick up on stuff like this and grill people for it, when its often not what they meant. Your UI is not for getting data from. That's what models are for.
  8. S

    Resolved How to get client's IP address and port in UDP Echo server?

    That he is; Skydiver is one of the most talented programmers I've had the privilege of befriending over the last few years. I'm at this years, and I still learn new things from him occasionally. You will always learn something from him. I hope he will consider working for my company in a years...
  9. S

    Answered Why does the image not show up in row 1

    The Vertical and Horizontal Alignments aren't the best setting to use when the GridRow/ColumnDefinitions use "*" over the nested controls set grid positions/spans. If the <RowDefinition Height="*" /> was set to auto, the Vertical/Horizontal properties would not be needed inline on whatever...
  10. S

    Answered Split the main form into smaller files

    Only one of the files should have the constructor/call to InitializeComponent(); Both files don't need this, and to my understanding they both need to use the same partial declaration class name within the two files. The designer code will only be called once providing only one of the files...
  11. S

    Answered Split the main form into smaller files

    Marked as best answer. You went out of your way on this one JohnH. Nicely explained too. (y) Question though; did you find having the partial declaration : public partial class A1 in both files caused a problem, because it shouldn't, as far as I understand it. I'm just trying to understand that...
  12. S

    Answered Panels and bring to front

    You are very welcome. Sorry I can't help you further. Making the changes proposed above should resolve your white space issue but you will also notice the size of the other controls in that panel will also change. Just a heads up, but what you are used to in Winforms, will not be what you will...
  13. S

    Answered Panels and bring to front

    I can't do a lot with your designer code as I don't have some of the images etc you are using and it's throwing your design out of whack. Set your PanReports panel to use AutoSize false and AutoSizeMode to GrowAndShrink. Also set the position of your btnLogout to be something about 957, -1...
  14. S

    Resolved Passing a list to Oracle Parameter

    You are 40 posts in, and that's long enough to be on the forums to know not to screenshot code. Please use the code tags button </> when posting code on the forums.
  15. S

    Question How to convert C++ file into C# programming language

    Please remember to use code tags when posting code on the forum. </>
  16. S

    Answered Split the main form into smaller files

    Here is the documentation for what you want to do : Partial Classes and Methods - C# Programming Guide If you want to do it correctly, you will need to read how its done. The separation of the same class into different files is something more common in C++. A1.cs : public partial class A1{}...
  17. S

    Answered Split the main form into smaller files

    The compiler doesn't care what files are in the project, and they will be compiled if included in the projects configuration, providing your code matches up as it was wrote. Anyway, why are you trying to adapt your C++ habits in a C# app?
  18. S

    Question retrieving information from sqlite database

    Uncanny, we've been here before so you know my response. Guess we will agree to disagree again. I'll flavour using the shown event, thanks. Also, any loading that needs doing can be done normally providing you set long running tasks to run on a non UI thread. Perhaps I should have been more...
  19. S

    Question retrieving information from sqlite database

    So this goes deeper and is somewhere at the bas of the kernel, it appears? I wonder why the decision was made to bury or allow the exception to be swallowed?
Top Bottom