Search found 2313 matches

by robert
Thu Mar 28, 2024 1:24 pm
Forum: Xbase++
Topic: Xbase++ forum
Replies: 24
Views: 7374

Re: Xbase++ forum

Den, To make the X# compiler automatically recognize your C# static method as a function, you will have to add an attribute to the C# assembly (and not the X# assembly) The code below assumes that the functions are in the XbTools.XbTools class, and that the namespace XbTools may contain classes that...
by robert
Thu Mar 28, 2024 6:14 am
Forum: 3rd party products
Topic: X# Report asks for missing DBF which is clearly present
Replies: 4
Views: 402

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

Dick,
We will need the report and its files and the exact configuration on the machine (path of the exe, path of the report and path of the dbf files, X# version etc) where the problem is occurring.

Robert
by robert
Thu Mar 21, 2024 11:05 am
Forum: Chit-Chat
Topic: XSharp Power Tools 2022 - Visual Studio extension
Replies: 16
Views: 4949

Re: XSharp Power Tools 2022 - Visual Studio extension

Dick,
Choose "Search" from the Quick Links hamburger menu. Enter "Power Tools". I got 34 hits, including your last message.

Robert
by robert
Thu Mar 21, 2024 7:13 am
Forum: 3rd party products
Topic: Illegal characters in path error X# ReportPro
Replies: 9
Views: 665

Re: Illegal characters in path error X# ReportPro

Dick,
In VO the routines to extract filename and path were completely written in the ReportPro code.
In X# we use standard routines from the .Net Framework to extract path and filename from the string.
Apparently these routines do not like the name that is stored in the report.

Robert
by robert
Wed Mar 20, 2024 4:37 pm
Forum: 3rd party products
Topic: Illegal characters in path error X# ReportPro
Replies: 9
Views: 665

Re: Illegal characters in path error X# ReportPro

There seems to be a reference to an external picture that is incorrect. Can you share the rpt file?

Robert
by robert
Mon Mar 18, 2024 7:33 am
Forum: Deutsches Forum
Topic: Änderungen in X# 2.18.0.4
Replies: 7
Views: 444

Re: Änderungen in X# 2.18.0.4

Franz, Hi Robert, //SELF:ExecuteCommand(readerName, "00a40804021fff":ToByteArray(), REF response2) SELF:ExecuteCommand(readerName, "00a40804021fff":ToByteArray(), OUT response2) Is transfer by reference (REF) obsolete? ExecuteCommand is defined as PUBLIC METHOD ExecuteCommand(rea...
by robert
Mon Mar 18, 2024 7:27 am
Forum: Deutsches Forum
Topic: Add Application in ein anderes Project per XIDE
Replies: 6
Views: 351

Re: Add Application in ein anderes Project per XIDE

Franz,
Add a reference to the C# DLLs in your main project and make sure that they are copied to the bin folder.

Robert
by robert
Sat Mar 16, 2024 12:05 pm
Forum: Product
Topic: Textblock
Replies: 9
Views: 551

Re: Textblock

Chris, Guys, I was also thinking about this, maybe we can introduce another pair of block comment markers like (* ... *) that could nest with the existing markers /* ... */ That should not be too difficult to implement. But TextBlock .. End Textblock should work too. If we do this, what do you expec...
by robert
Fri Mar 15, 2024 10:51 am
Forum: Product
Topic: How to create DBF
Replies: 2
Views: 330

Re: How to create DBF

Horst, The difference that you are referring to is the 0x61 and 0x62 in position 8 (0 based). This indicates the location where the header ends and where the data starts. When the file has zero records (like your example) then some xbase dialects differ there with 1 byte. But you do not have to be a...
by robert
Thu Mar 14, 2024 4:18 pm
Forum: Deutsches Forum
Topic: OleAutoObjectEx
Replies: 2
Views: 220

Re: OleAutoObjectEx

Franz I suggest you create the following code. I will add that to the runtime for the next build. class OleAutoObjectEx inherit OleAutoObject constructor(cProgId as string) super(cProgId) constructor(cProgId as string) super(cProgId) constructor(cProgId as string, fRotCheck as logic) super(cProgId, ...