Search found 2960 matches

by wriedmann
Mon Nov 04, 2024 12:23 pm
Forum: Product
Topic: Doubts about "dialects"
Replies: 11
Views: 548

Re: Doubts about "dialects"

Hi Robert,
IMHO this would be great for most of us.
Wolfgang
by wriedmann
Mon Nov 04, 2024 9:13 am
Forum: Product
Topic: Doubts about "dialects"
Replies: 11
Views: 548

Re: Doubts about "dialects"

Hi Karl, as far as I had understand he asked if he could use the VFP dialect and use the functionalities of the Core dialect - that means the .NET Framework. But you can use all functions of the runtime in all dialects except the Core dialect (that does not knows about arrays, floats, dates and ...
by wriedmann
Mon Nov 04, 2024 5:10 am
Forum: Product
Topic: Doubts about "dialects"
Replies: 11
Views: 548

Re: Doubts about "dialects"

Hi Xinjie, you have to separate 3 different things: - the dialect changes the compiler behavior to mimic some xbase languages syntax. So using the Foxpro dialect the compiler "understands" things that only VFP supported. The Core dialect is basically C# with xbase syntax and does not needs any ...
by wriedmann
Tue Oct 29, 2024 11:04 am
Forum: Product
Topic: Implicit Namespace for own libraries/XIDE
Replies: 7
Views: 387

Re: Implicit Namespace for own libraries/XIDE

Hi Chris,
thank you very much!
This way it works.
Wolfgang
P.S. since one of the libraries we would like to use this manner is a COM library that we also use from VO, we have opted to not do that because otherwise would also need to distribuite and load the XSharp.Core library
by wriedmann
Tue Oct 29, 2024 9:46 am
Forum: Product
Topic: Implicit Namespace for own libraries/XIDE
Replies: 7
Views: 387

Re: Implicit Namespace for own libraries/XIDE

Hi Chris, The Global Namespace option needs to be used in the library where you want to prefix all classes with that namespace. Yes, I know that and I'm using that alle the time in my Core dialect libraries and applications. n order to use that library from another app/library without prefixing ...
by wriedmann
Tue Oct 29, 2024 9:31 am
Forum: Product
Topic: Implicit Namespace for own libraries/XIDE
Replies: 7
Views: 387

Re: Implicit Namespace for own libraries/XIDE

Hi Chris,
the reference is in the /ins compiler option page in the X# help file.

About the namespace: it does not seems to work:
PostgreSQLHelper.png
and gives this error
CompileError.png
Wolfgang
by wriedmann
Tue Oct 29, 2024 7:19 am
Forum: Product
Topic: Implicit Namespace for own libraries/XIDE
Replies: 7
Views: 387

Implicit Namespace for own libraries/XIDE

Hi Chris/Robert, I would like to add the possibility to use the implicit namespace compiler option also for some of my own libraries. In the X# documentation is mentioned that there is an attribute [assembly: VulcanImplicitNamespaceAttribute( "SomeNameSpace )] but in the sources there is a reference ...
by wriedmann
Mon Oct 14, 2024 3:30 pm
Forum: Product
Topic: SetAnsi(false) not needed in X# with ADS?
Replies: 9
Views: 860

Re: SetAnsi(false) not needed in X# with ADS?

Hi Dick,
do you have ever tried to put a euro character in an ADS database field? At least with VO I was never able to do that....
Wolfgang
by wriedmann
Mon Oct 14, 2024 9:19 am
Forum: Product
Topic: SetAnsi(false) not needed in X# with ADS?
Replies: 9
Views: 860

Re: SetAnsi(false) not needed in X# with ADS?

Hi Chris, in VO SetAnsi( false ) is needed for ADS to stop conversions. The ADS help says: "In order for the Advantage RDD to work properly, the SetAnsi value must be False. The Advantage RDD takes care of all conversion and always returns the data in the native Windows format-ANSI. If you ...
by wriedmann
Sat Oct 12, 2024 5:57 am
Forum: Visual FoxPro
Topic: Encountered some problems when creating myTextBox by inheriting TextBox
Replies: 2
Views: 293

Re: Encountered some problems when creating myTextBox by inheriting TextBox

Hi Xinjie,
the C# code

Code: Select all

Procedure OnKeyDown(KeyEventArgs e)
in X# has to be written as

Code: Select all

Procedure OnKeyDown(e as KeyEventArgs)
Wolfgang