Search found 2313 matches

by robert
Fri Apr 19, 2024 1:56 pm
Forum: Product
Topic: Miscellaneous questions about converting VO code to X#
Replies: 43
Views: 2104

Re: Miscellaneous questions about converting VO code to X#

Kees,
The strange syntax in VO is for indexed assigns.
What is SELF:PKey in this context?

Robert
by robert
Fri Apr 19, 2024 12:00 pm
Forum: Chit-Chat
Topic: ace32.dll I was debugging and searched for some documantation and x#
Replies: 4
Views: 290

Re: ace32.dll I was debugging and searched for some documantation and x#

Ace32 is part of Advantage and the functions in there are all documented in the advantage documentation.
If PeStudio can list all calls than it should also be able to show you the parameters to these calls.
The advantage documentation should show you which parameters are strings.
Robert
by robert
Thu Apr 18, 2024 6:04 am
Forum: Welcome
Topic: Lurking
Replies: 1
Views: 209

Re: Lurking

Bruce,
- The X# compiler is a DotNet process. Just like the C# compiler it can also run on Linux
- Programs compiled with X# can also run on Linux. Either on Mono, or with .Net Core and .Net 5 or later.
So yes, it can be offered as language on Exercism.

Robert
by robert
Tue Apr 16, 2024 7:39 am
Forum: VO & Vulcan
Topic: Which RDD Class should be used for DBF/DBZ/DBV
Replies: 21
Views: 5341

Re: Which RDD Class should be used for DBF/DBZ/DBV

vini wrote: Tue Apr 16, 2024 6:42 am Hi Robert,

Any updates on DBFBlob and DBFMemo support in the latest release ?
This should be included in the upcoming 2.20 build.

Robert
by robert
Mon Apr 15, 2024 6:22 pm
Forum: 3rd party products
Topic: BBrowser OwnerDrawValues BarCharts not working after X# Update 2.17 -> 2.18
Replies: 9
Views: 402

Re: BBrowser OwnerDrawValues BarCharts not working after X# Update 2.17 -> 2.18

Frank,
Where does the Fieldspec come from that is used for the column?
Can you (for now) change the type by calling the SetType() method from the fieldspec like this:

Code: Select all

local oFs as Fieldspec
oFs := oColumn:Fieldspec
oFs:SetType("O")
Robert
by robert
Mon Apr 15, 2024 1:49 pm
Forum: 3rd party products
Topic: BBrowser OwnerDrawValues BarCharts not working after X# Update 2.17 -> 2.18
Replies: 9
Views: 402

Re: BBrowser OwnerDrawValues BarCharts not working after X# Update 2.17 -> 2.18

Guys, I am sorry for this problem. We changed the fieldspec class because FoxPro tables support more datatypes than just CDLMN (for example also Integer (I), Currency (Y) and DateTime (T). And the VO documentation also does not list 'O' as acceptable value for FieldSpec:ValType We'll make sure it is...
by robert
Fri Apr 12, 2024 4:20 pm
Forum: 3rd party products
Topic: ReportPro (2) in ADS environment
Replies: 18
Views: 843

Re: ReportPro (2) in ADS environment

DIck, Anyhow, it remains a mystery; interesting that nobody (including myself) does actually know how it works. I think I know how this works, but I did not look into your problem. Did you ever include an example (report + code running the report +data files)? To explain this I would have to run the...
by robert
Thu Apr 11, 2024 10:30 am
Forum: Product
Topic: Miscellaneous questions about converting VO code to X#
Replies: 43
Views: 2104

Re: Miscellaneous questions about converting VO code to X#

Kees, I must confess that I still do not understand how this is supposed to work, how can a number (a DWORD in this case) become a structure? Yet the code above worked in VO. What would be the safest way to make it work in X#? A structure in VO (when declared with AS) is a pointer to a memory locati...
by robert
Fri Mar 29, 2024 8:05 am
Forum: 3rd party products
Topic: Convert AdoRecordSet to DataTable
Replies: 1
Views: 208

Re: Convert AdoRecordSet to DataTable

Alex, There is no built in way to do this. You would have to create a DataTable and its columns and add rows for each of the rows in the recordset. I would probably use GetRows() to get all rows in the RecordSet and then use the ItemArray property of the DataRow to set all field values in one assign...
by robert
Fri Mar 29, 2024 7:48 am
Forum: 3rd party products
Topic: X# Report asks for missing DBF which is clearly present
Replies: 4
Views: 395

Re: X# Report asks for missing DBF which is clearly present

Dick,
If the same table is used in different sections with different aliases, then the solution where you're setting it for each of the aliases is the expected solution.
Robert