Search results for query: *

  1. G

    Changes in Registry ?

    OK, shall have to spend some time on this.
  2. G

    Changes in Registry ?

    Right, it did not exist. I created it, but still did not get the correct results. Anyway, as you say yourself, "the default value (4) will only be returned if the key value does not exist". That is right in .Net 5, but it seems that in .Net 6, if the key value does not exist, you get null, and...
  3. G

    Changes in Registry ?

    Hello everybody, On my previous machine, I had this to read a value in the registry: private bool getReg() { object v = Registry.GetValue( @"HKEY_CURRENT_USER\Console\SonsTest", "JouerSelectReminder", 4...
  4. G

    Resolved Garbage written in StreamWriter

    So, to sum up, there is no surprise, we see the source of the null characters the same way. I have got to see whether something causes an instability on my machine. PowerToys took several hours to install, and I am not sure about their spell checker. As Firefox often slows down, and sometimes...
  5. G

    Resolved Garbage written in StreamWriter

    Oh, definitely, this is good to know.
  6. G

    Resolved Garbage written in StreamWriter

    Oh, I was confused on this, I answered correct to point 4 "you did not change the default Streamwriter encoding". But I did not doubt about which one you suggested for it.
  7. G

    Resolved Garbage written in StreamWriter

    Did I post it? Oh, I thought I clicked on Preview while trying to scroll ...
  8. G

    Resolved Garbage written in StreamWriter

    Oh sorry, it is an integer. Traditionally I should rather have written intNbTickets, but recently in the examples in the documentation, I often saw variables names with just one character for the type, so I followed the (bad) example. That is right. using (StreamWriter sw = new...
  9. G

    Resolved Garbage written in StreamWriter

    Hello everybody, With this instruction : sw.WriteLine($"{DateTime.Now} ; {iNbTickets,2}"); a log is written. This application works quite well for several months, it is on its third machine now. A few lines written per week. On one line, a certain number of null characters have been added at...
  10. G

    Lock on a database file

    Hello, In fact, nobody here answered, using EF. And I see that the most recent job description I received mentioning Entity Framework is two years old. Can we consider this as abandoned? It seems there is still work to do to follow-up the solution of the errors that appear, so it is good to know...
  11. G

    Lock on a database file

    Complement of information concerning SSMS. I opened this thread by reporting a problem with version 15.0.18386.0 of SSMS. It seems version 15.0.18424.0 of SSMS displays the category table properly, except I just had to adjust the widths of the columns. Between both the size of the download is...
  12. G

    Lock on a database file

    Oh, so you do not have problems with it, of course.
  13. G

    Lock on a database file

    Well, the first time I tried, the data was displayed in SSMS and in the server explorer, so I thought it was the same ... In fact there is quite a history with that, an Entity Framework project failed to access the database, I was invited to repair SQL Server with its installation program...
  14. G

    Lock on a database file

    Hum, so you mean I should refer to Microsoft ? By the way, it is strange that this only happens with a file database.
  15. G

    Lock on a database file

    Hello everybody, On a SQL file database (MDF file), SSMS raises me an error when I try to display the data of a table : Activity Monitor Log SyncLock called without an initialized synchronization object When giving it the path, ProcExp only finds explorer.exe, and it is normal as I...
  16. G

    Resolved Hiccup in Visual Studio Community 2019, about Windows Forms

    Oh, look into "More" is an idea that sometimes elapses in confused moments.
  17. G

    Resolved Hiccup in Visual Studio Community 2019, about Windows Forms

    Sorry, in the workloads, mobile and desktop are together in one checkbox, this disturbed me. I eventually checked it, in a few minutes it should be OK. Sorry for the confusion, and thank you for your assistance.
  18. G

    Resolved Hiccup in Visual Studio Community 2019, about Windows Forms

    I presume I click on "Install more tools and functionalities". Then in Visual Studio Installer I have four tabs: Workloads Individual Components Linguistic Modules Installation Places Do I find the Repair in that, or perhaps I go through the Windows Parameters ? N.B. The Verify button in the...
  19. G

    Resolved Hiccup in Visual Studio Community 2019, about Windows Forms

    Oh, when searching the preview tool, I realized that I was not authenticated any more. I had put this in the clipboard : The filters are "C#", "Windows", "Desktop", which are the domains in which I develop until now. If I click to erase all filters, I find some project types, but not Windows...
  20. G

    Resolved Hiccup in Visual Studio Community 2019, about Windows Forms

    Yes, I can modify an existing project, but not create a new one, nor create a form, except by inheriting from a form of the project. I tried "SDK.Net Framework 4.7", that indeed was missing. But it seems something more is still missing. It is possible I fail on the translations, as I have a...
Back
Top Bottom