We use Remote Desktop Services to provide our clients with SaaS access to our Windows desktop application. An issue on one of our cloud servers running Windows Server 2019 has been plaguing me for a while. Server performance was sluggish, and I noticed in Task Manager that wsappx was using high CPU. That’s the AppX Continue reading "Windows Server AppX Installation Failures"
ParallelFox 2.0 was featured in a session at Southwest Fox 2023 and provided to attendees in October 2023. It is now released to all FoxPro developers, and it contains the following new features: See the New in 2 and VFP Advanced Support pages for more details. Installation The easiest way to install ParallelFox 2.0 is Continue reading "ParallelFox 2.0 Released"
Generally speaking, a COM object must be registered in the Windows registry to be used by applications. In the past, I have not had an issue with this, as it was just another step in the installation package. In recent years, we have been offering cloud services to our clients. On a single server, we Continue reading "Reg-Free COM with Out-of-Process Servers"
I have been calling FoxPro code from C# via COM Interop (using DotNet2Fox) for several years, but I ran across an interesting issue last week. I have some FoxPro code that performs calculations and returns the results to .NET. I expected one of those values to be zero, but according to C#, it was -3.5527136788005e-15. Continue reading "Double Trouble with COM Interop"
Years ago, Greg Green reported that FoxTabs was conflicting with his custom VFP editors, due to VFP s limitations binding to Win Msg events. Greg wrote this framework to deal with the limitation, and I made some modifications. I wrote about this on my blog, and BindWinEvent has been included with FoxTabs ever since. More recently, Continue reading "BindWinEvent and FoxTabs 1.3"
I m happy to announce that DotNet2Fox has been accepted as part of the VFPX project. What is DotNet2Fox? , you say? Good question! DotNet2Fox was first presented and released at Virtual Fox Fest 2021 (October), and I somehow failed to mention that here on my blog! That is being rectified right now DotNet2Fox is an open-source Continue reading "DotNet2Fox is now part of VFPX!"
I previously wrote about COM Interop with .NET Core 1.0 and .NET Core 2.0. I haven’t had a chance to write it about it since, so this discusses both .NET Core 3.x and .NET 5.0. If it wasn’t obvious from the previous articles, this is about calling COM components from .NET. I believe work was Continue reading "COM Interop with .NET Core 3.x and .NET 5.0"
The last release of ParallelFox was over 8 years ago in January 2012. Also, 3 years have somehow elapsed since CodePlex was shut down and VFPX moved to GitHub. Time most definitely flies! I have been using Doug Hennig s Project Explorer on some projects. I decided to implement it with my VFPX projects, as well Continue reading "ParallelFox 1.3 Released"
We previously discussed that COM Interop does not function in .NET Core 1.0. What about .NET Core 2.0? The answer is YES… with limitations. The first and most obvious is that COM Interop only works with Windows, not other platforms. The second limitation is that the .NET Core implementation does not include IDispatch, which means Continue reading "COM Interop with .NET Core 2.0"
Nearly a decade ago, I started this blog on the Foxite.com Community Weblog, a free service made available to the FoxPro community by Eric den Doop. I wanted more control on the admin side especially for dealing with spam – so I have moved the blog to my own site: joelleach.net. All posts/comments have Continue reading "Welcome to JoelLeach.net!"
TypeScript brings full class-based inheritance to JavaScript projects. This works very well, but you may run into some unexpected behavior when setting properties in a subclass and using those properties in the parent constructor. Here is a simple example that demonstrates the problem: MyBaseClass is defined as an abstract class. Like other OOP languages, this Continue reading "Setting Subclass…
UPDATE: COM Interop with .NET Core 2.0 The short story is that COM interop does not function in .NET Core 1.0. .NET Core is Microsoft’s open-source, cross-platform implementation of the core libraries in the .NET Framework. With its cross-platform focus, the exclusion of COM interop is intentional. ASP.NET Core is Microsoft’s open-source web framework that Continue reading "COM Interop with .NET…
A few of our clients were getting an obscure error when running reports. I couldn’t find any information on the error online, so I thought I would post a potential workaround here to help the next person that runs into it. While the report is running and being prepared for preview, a dialog pops up Continue reading "Report Metadata Error"
Over the years, there have been debates about whether it is best to use source control integrated with the VFP Project Manager or to keep it separate. I’ve always preferred to have the integrated experience. Regardless of which side you fall on, it is very useful to have textual representations of VFP’s binary source files Continue reading "SCCTextX for Data"
You may or may not have noticed that most new products coming out of Microsoft these days do not include support for Windows XP or Windows Server 2003. Here is a sampling: SQL Server 2012 .NET Framework 4.5 Visual Studio 2012 (Vista not supported either) Office 2013 (Vista not supported either) On a related noted, Continue reading "The End of the Road for Windows XP?"