Search results for query: *

  1. Skydiver

    Reading text from html source

    If you launch the "Developer Command Prompt" or the "Developer PowerShell" it will set up the PATH environment variable within the shell to include the location that the primary .NET Framework tool chain. Alternatively, if you run where.exe /r \ al.exe you can also find it. And if you don't...
  2. Skydiver

    Reading text from html source

    Personally, though, I think this is a case of premature optimization. For .NET Framework: Just a over half a megabyte of diskspace with debug symbols. You likely will never use the debugging symbols, so you can deleted the .PDB and be less that 400KB. For .NET: Less than 400KB of diskspace.
  3. Skydiver

    Reading text from html source

    Actually, I should have asked first whether you are targeting .NET Framework, or .NET. If you are targeting .NET Framework: How the Runtime Locates Assemblies - .NET Framework If you are targeting .NET, this is more relevant: Default probing - .NET Core - .NET
  4. Skydiver

    Reading text from html source

    No it will not be inefficient for memory. Windows knows of it is the same DLL, and so it will keep only one version for each program that uses it. Now if it disk space, rather than memory that you are worried about. The modern mantra is that: "disk space is cheap". Each program can have its own...
  5. Skydiver

    Reading text from html source

    You can use the Visual Studio Package Installer to install the HTML Agility Pack. Here's a direct link to the Nuget Package: HtmlAgilityPack 1.11.61 From that link you can find a link to the web site that has more details about the library: Html Agility Pack As well as the source code: GitHub -...
  6. Skydiver

    Bind javascript to controller model

    My suggestion is start with a minimal object model, test, and get it working. Start with an object that contains a single integer. Get that working. Then add a string as another field and get that working. Then next a field that is an array of integers and get that working. Next a field that...
  7. Skydiver

    Reading text from html source

    In general, regular expressions cannot span multiple lines. Those look to be two lines. As an aside, the common response you'll get is that if you are using regular expressions to parse HTML, you are doing it wrong. In this case, it looks like you are trying to use regular expressions to remove...
  8. Skydiver

    Hide Console Windows

    What do you think the args is on this line of code? static void Main(string[] args)
  9. Skydiver

    Hide Console Windows

    When you launch via the task scheduler, it can be user interactive so your check for Environment.UserInteractive is not appropriate. You should instead pass in a command line parameter when launching via the task scheduler. As for your console window issue, that is the default windows behavior...
  10. Skydiver

    Question: Propper Design and Implementation of a WinForms Custom Control

    I should amend what I wrote in post #3. Microsoft is not prescriptive about how you write the private internals of your WinForms code. Microsoft is prescriptive about your code's public facing API. Microsoft is also prescriptive about how Windows UI should look and act like. If ever you hear...
  11. Skydiver

    Question: Propper Design and Implementation of a WinForms Custom Control

    Microsoft is not prescriptive about how to write WinForms code (unlike WPF where they advocate using MVVM). WinForms was designed to be an easy transition for people who used to write Win32 API or MFC code, and the subset of VB6 programmers. All that mattered was that you handled the Windows...
  12. Skydiver

    Insert Null Values into a Sqlite Table

    It's not a matter of changing my code to be dropped in for your use. It's a matter of looking at what operations are being done and understanding. At runtime for each field for the game, the names of the columns are computed. Given the of the column, a name for a parameter is computed. These...
  13. Skydiver

    Insert Null Values into a Sqlite Table

    @titojd : Consider the following pseudo code: var columnNames = new List<string>(); var parameterNames = new List<string>(); for(int columnNumber = 1; columnNumber <= 25; columnNumber++) { columnName = $"n{columnNumber:D2}" parameterName = $"@{columName}"; valueString =...
  14. Skydiver

    Insert Null Values into a Sqlite Table

    When you are copying and pasting lines of code, that is typically a code smell that tells you you should look at using loops and/or helper functions. You can use a loop to dynamically build your insert statement. Or since you are using string instead of numbers for your columns, you could use...
  15. Skydiver

    Insert Null Values into a Sqlite Table

    Show us your code for successful insertion into SQLite with 15 fields. Then show us your code for unsuccessful insertion into SQLite with 25 fields.
  16. Skydiver

    Version problem between ML.NET and tensorflow models

    This might help if you attack the problem from Python/Colab side rather than the ML.NET side: https://stackoverflow.com/a/77725736/56987 But to answer your question, in general there is no way to have two version of the same assembly loaded into the same .NET appdomain. I'm not sure if you can...
  17. Skydiver

    Trouble on placing a map on the blazor server app

    Perhaps I'm missing something, but why not just run it directly in the HTML page? Why do this dance between a razor page/component, C#, and JavaScript? https://wiki.openstreetmap.org/wiki/OpenLayers_Simple_Example
  18. Skydiver

    Version problem between ML.NET and tensorflow models

    According to NuGet, It should already be at 3.0.1. But regardless, I only see a dependency on TensorFlow.NET, not SciSharp.TensorFlow.Redist. Does the docs tell you that you need to install this extra component because the NuGet package doesn't have the correct set of transitive dependencies?
  19. Skydiver

    Version problem between ML.NET and tensorflow models

    What version of ML.NET do you have installed?
  20. Skydiver

    XSRF-Token

    Looking at post #3, it looks like you tried that and didn't get the expected results. Oh well, still glad that you got it working.
Back
Top Bottom