Search found 2510 matches

by robert
Tue Jul 22, 2025 6:48 am
Forum: Product
Topic: InCollect() Deprecated
Replies: 3
Views: 8622

Re: InCollect() Deprecated

Johannes,
This function always returns FALSE in X#:
See:

https://github.com/X-Sharp/XSharpPublic ... GC.prg#L52

Robert
by robert
Thu Jul 17, 2025 10:27 am
Forum: Chit-Chat
Topic: Xsharp summit 2025
Replies: 1
Views: 6748

Re: Xsharp summit 2025

Basile,
We are planning a Summit for early 2026.
More information will follow shortly

Robert
by robert
Mon Jul 14, 2025 8:52 am
Forum: Examples
Topic: Open DBF directly from C# using XSharp Assemblies
Replies: 4
Views: 31964

Re: Open DBF directly from C# using XSharp Assemblies

Charl,

Yes, that is possible. Unfortunately, we do not have an example for this.
But this is the short description of what you need to do.

To open DBFs you need to include XSharp.Core, XSharp.RT, XSharp.RDD and XSharp.Macrocompiler.
The easiest way to open the DBFs is to use the completely ...
by robert
Mon Jul 14, 2025 8:43 am
Forum: Product
Topic: Error XS1031 Type Expected: 2.18.04 --> 2.23.0.2
Replies: 9
Views: 12651

Re: Error XS1031 Type Expected: 2.18.04 --> 2.23.0.2

Jonathan,


Thanks Robert,

That option is disabled in my XIDE. I've looked around in the .xiproj file but adding VO15=1 in various places didn't seem to help.
Sorry to ask again - any suggestions on enabling that option?

Thanks,
Jonathan


If the option is disabled, then I suggest that you ...
by robert
Sun Jul 13, 2025 9:47 am
Forum: Product
Topic: Error XS1031 Type Expected: 2.18.04 --> 2.23.0.2
Replies: 9
Views: 12651

Re: Error XS1031 Type Expected: 2.18.04 --> 2.23.0.2

Jonathan,

Try to enable the /vo15 (Allow untyped locals) flag on the compiler options page.
In the past, this option was automatically enabled when compiling in the VO dialect.

Robert
by robert
Mon Jun 23, 2025 7:53 am
Forum: Chit-Chat
Topic: What is the Xanthi repository for?
Replies: 3
Views: 8229

Re: What is the Xanthi repository for?

Brian,

What Wolfgang said mostly covered it.
We were looking into creating an alternative for ADS, with a Client- Server model. The server part could be using DBF but also any other database, such as SQLite, MySql etc.
The client would use an RDD to communicate with the server.
The problem with ...
by robert
Tue Jun 10, 2025 11:50 am
Forum: Visual FoxPro
Topic: Execscript support, Runtime compilation or razor templates?
Replies: 10
Views: 16339

Re: Execscript support, Runtime compilation or razor templates?

Brian,
I can confirm the problem with the latest public build 2.21.
However, this now works as expected with the latest subscriber build 2.23.

We plan to release a public build 2.23 later this month.

Robert
by robert
Sat Jun 07, 2025 8:35 am
Forum: Visual FoxPro
Topic: Execscript support, Runtime compilation or razor templates?
Replies: 10
Views: 16339

Re: Execscript support, Runtime compilation or razor templates?

Brian,
I am not in the office right now, so it is difficult to test and answer this.
I suspect that has to do with some startup code that is not running when you call ExecScript from a non X# appplication.
Normally this code is added to the main app and automatically running when the app is started ...
by robert
Mon Jun 02, 2025 7:12 pm
Forum: Visual FoxPro
Topic: Execscript support, Runtime compilation or razor templates?
Replies: 10
Views: 16339

Re: Execscript support, Runtime compilation or razor templates?

Brian,
Yes, we support ExecScript.
We have not looked at Razor Templates. I suspect that they are for C# only. I don't think they even support Visual Basic.

Robert
by robert
Wed May 28, 2025 3:49 pm
Forum: Product
Topic: Questions about choices: VS version, Dialect & .Net Framework version
Replies: 7
Views: 12585

Re: Questions about choices: VS version, Dialect & .Net Framework version

Dick
VS 2019 - 2022
VS 2019 is a 32 bits application. If you are using 32 bits 3rd party controls on forms, then you can only design these forms with VS2019. These forms will not open in VS2022. That is why some people keep using VS 2019 side by side with VS 2022. IIRC The IDE for VS 2019 needs .Net ...