The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

    • @Raoul_SB @Ipie33 @hugodejonge Misschien heb ik iets gemist, maar waar heeft Valerie het over "dus het boeit ze niets" van zorgmedewrkers? 5 minutes ago
    • RT @locuta: Ongelooflijk dit. Niet alleen de inhoud, maar ook dat dit tot maart 2020 nog de gangbare praktijk was.. 12 minutes ago
    • RT @draude71: @DickenzMaat @locuta Ze willen zeker weten dat de data die ze doorverkopen wel klopt ūüėá 15 minutes ago
    • RT @locuta: Ik begin iets beter te begrijpen waarom vaccineren (onder andere) zo lang duurt: als 92-jarigen d√≠t soort informatie allemaal m‚Ķ 15 minutes ago
    • RT @isotopp: ‚ÄúA micro commit is a tiny commit. It consists of the changes necessary to do one tightly-scoped change. ... For years we just‚Ķ 20 minutes ago
  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 2,230 other followers

Archive for January 16th, 2020

visual studio code – Does the “editorWhitespace.foreground” workbench.colorCustomizations setting in VSCode actually work? – Stack Overflow

Posted by jpluimers on 2020/01/16

[WayBack] visual studio code – Does the “editorWhitespace.foreground” workbench.colorCustomizations setting in VSCode actually work? – Stack Overflow

Yes, it does. But after reading [WayBack] vscode-docs/theme-color-reference.md at master · Microsoft/vscode-docs · GitHub: Editor Colors or [WayBack] Visual Studio Code Theme Color Reference you might want to put it in the config straight like this:

see the editor white spaces, enable Toggle Render Whitespace.

  • editorWhitespace.foreground: Color of whitespace characters in the editor.

However, you need to embed it like this:

"workbench.colorCustomizations": {
    "editorWhitespace.foreground": "#333",
    "editorIndentGuide.background": "#333"
  }

The embedding makes it work.

References:

–jeroen

Posted in .NET, Development, Software Development, Visual Studio and tools, Visual Studio Code | Leave a Comment »

Delphi – BDE to FireDAC: pack table, regenerate index – Stack Overflow

Posted by jpluimers on 2020/01/16

This works with any tool that can access ADO based dBase databases with MDX indices: [WayBack] delphi РBDE to FireDAC: pack table, regenerate index РStack Overflow.

Related: [WayBack] CREATE INDEX for Paradox | Microsoft Docs

Thank you Thomas for this addition to my link archive!

–jeroen

via:¬†[WayBack] > An old program of ours uses dBase tables and an .MDX index – other systems use these tables too, so we’re stuck with them. We wish to replace BDE with… – Thomas Mueller (dummzeuch) – Google+

 

Posted in Database Development, dBase, Development, Software Development | Leave a Comment »

Mad With PowerShell: FileInfo and DirectoryInfo objects are not populated upon creation in PowerShell

Posted by jpluimers on 2020/01/16

[WayBack] Mad With PowerShell: FileInfo and DirectoryInfo objects are not populated upon creation in PowerShell.

TL;DR:

  • Apart from the FullName¬†property, the other poprerties of¬†FileInfo and DirectoryInfo are populated later than their instance creation
  • A call to their Refresh¬†method populates or re-populates them
  • That method is implicitly called when you request other properties than FullName

Example: see the [Archive.is]fileinfo.cs: Length property

–jeroen

Posted in .NET, C#, CommandLine, Development, F#, PowerShell, Software Development, VB.NET | Leave a Comment »

 
%d bloggers like this: