Search found 20 matches
- Tue Sep 09, 2025 3:00 pm
- Forum: Visual FoxPro
- Topic: Execscript support, Runtime compilation or razor templates?
- Replies: 10
- Views: 15723
Re: Execscript support, Runtime compilation or razor templates?
I would love to support the project, but my company won't do so until we have a successful pilot project. And it's not been going well so far.
- Fri Jun 20, 2025 2:00 pm
- Forum: Visual FoxPro
- Topic: Execscript support, Runtime compilation or razor templates?
- Replies: 10
- Views: 15723
Re: Execscript support, Runtime compilation or razor templates?
Thanks so much for your help. I am eagerly awaiting the new release!
- Fri Jun 20, 2025 1:58 pm
- Forum: Chit-Chat
- Topic: What is the Xanthi repository for?
- Replies: 3
- Views: 7986
What is the Xanthi repository for?
On GitHub, there is a project https://github.com/X-Sharp/Xanthi that appears to be some sort of database interface. But there's no readme for it and I'm curious what this is for. Seems to be related to this issue: https://github.com/X-Sharp/XSharpPublic/issues/768
- Mon Jun 09, 2025 2:18 pm
- Forum: Visual FoxPro
- Topic: Execscript support, Runtime compilation or razor templates?
- Replies: 10
- Views: 15723
Re: Execscript support, Runtime compilation or razor templates?
I modified the example to be able to run the program as an application. It works as an app, and fails as a library. Note that I had to update System.Memory as well. See attached. In the revised sample, I removed the separate console app. Simply change the project type and startup project to test as ...
- Fri Jun 06, 2025 9:29 pm
- Forum: Visual FoxPro
- Topic: Execscript support, Runtime compilation or razor templates?
- Replies: 10
- Views: 15723
Re: Execscript support, Runtime compilation or razor templates?
I am getting this error message when trying to run ExecScript from a XSharp class library called from an ASP.Net razor template. Note that this works fine from an XSharp executable.
"The invoked member is not supported in a dynamic assembly."
Here is my Execscript call:
RETURN ExecScript("RETURN ...
"The invoked member is not supported in a dynamic assembly."
Here is my Execscript call:
RETURN ExecScript("RETURN ...
- Mon Jun 02, 2025 4:35 pm
- Forum: Visual FoxPro
- Topic: Execscript support, Runtime compilation or razor templates?
- Replies: 10
- Views: 15723
Execscript support, Runtime compilation or razor templates?
I have a web application framework that uses a custom templating solution akin to VBScript to generate html.
Here is an example:
<html>
<body>
<%
LOCAL ldToday
ldToday = DATE()
%>
Today is <<tdToday>>
</body>
</html>
This template is converted to a foxpro string containing:
TEXT TO lchtml ...
Here is an example:
<html>
<body>
<%
LOCAL ldToday
ldToday = DATE()
%>
Today is <<tdToday>>
</body>
</html>
This template is converted to a foxpro string containing:
TEXT TO lchtml ...
- Thu May 08, 2025 2:04 pm
- Forum: Visual FoxPro
- Topic: Trouble with COPY TO command
- Replies: 11
- Views: 9372
Re: Trouble with COPY TO command
We are using a mix of DBF and SQL Server Cursor Adapters. Will the Cursor Adapters work with just DBFVFP? Or is there a way to specify DBFVFPSQL for the Cursor Adapters?
- Wed May 07, 2025 3:16 pm
- Forum: Visual FoxPro
- Topic: Trouble with COPY TO command
- Replies: 11
- Views: 9372
Re: Trouble with COPY TO command
I've stripped the project down to its bare minimum to reproduce the error (see attached). Note that TmpOper.dbf is the target of the copy to command while pfComA.dbf is the source. I am using XSharp.RT.dll - Product Version 2.21 GA.
- Tue May 06, 2025 5:11 pm
- Forum: Visual FoxPro
- Topic: Trouble with COPY TO command
- Replies: 11
- Views: 9372
Re: Trouble with COPY TO command
The workaround isn't actually working, just failing silently. The dbf file shows as zero bytes in windows explorer until closed, then it disappears.
- Tue May 06, 2025 4:53 pm
- Forum: Visual FoxPro
- Topic: Trouble with COPY TO command
- Replies: 11
- Views: 9372
Re: Trouble with COPY TO command
I was able to work around this as follows. Not sure posting the full code will help, but the solution is attached. You can login as BRIAN/BRIAN
gcTempPath = "" && this can be any existing folder, here I'll just use an empty string.
SELECT pfcoma
// these are for my workaround below
SCATTER ...
gcTempPath = "" && this can be any existing folder, here I'll just use an empty string.
SELECT pfcoma
// these are for my workaround below
SCATTER ...

