Search found 360 matches

by Jamal
Tue May 27, 2025 11:30 pm
Forum: Product
Topic: xBase Tables Client/Server RDD
Replies: 0
Views: 6697

xBase Tables Client/Server RDD

Hi Dev Team!

Please refer to a post on Feb 08, 2022 by Robert https://www.xsharp.eu/forum/topic?p=21996#p21996 which he says:

"Our plan is create a client server solution for both xbase tables , but more importantly also for SQL tables, so you can use both record oriented and set oriented data ...
by Jamal
Wed May 21, 2025 5:06 pm
Forum: Deutsches Forum
Topic: Windows 11 Drucker auslesen
Replies: 26
Views: 19137

Re: Windows 11 Drucker auslesen

Martin,

You need to include on top of the Form prg:

Code: Select all

USING System.Windows.Forms
USING System.Drawing.Printing
Let me know if need a full example as X# Visual Studio solution.
by Jamal
Mon May 19, 2025 9:44 pm
Forum: Deutsches Forum
Topic: Windows 11 Drucker auslesen
Replies: 26
Views: 19137

Re: Windows 11 Drucker auslesen

You can show a Printer Dialog or a Printer Dialog with Properties button enabled:


PRIVATE METHOD ShowPrinterDialogButton_Click(sender AS System.Object, e AS System.EventArgs) AS VOID STRICT
LOCAL printDoc AS PrintDocument
LOCAL printDialog AS printDialog
LOCAL result AS DialogResult ...
by Jamal
Tue Apr 15, 2025 3:26 pm
Forum: VO & Vulcan
Topic: Why does this not give a runtime error?
Replies: 13
Views: 10643

Re: Why does this not give a runtime error?

Dick,

That's weird! May be Robert (Mr. Compiler) can jump it and shed some light.

My suggestions for now:
1. Search your program and libraries for ALTD() and either remove or comment out to prevent any side effects.
2. Reindex the VO repository, touch all library dependencies and your program.
3 ...
by Jamal
Mon Apr 14, 2025 8:42 pm
Forum: VO & Vulcan
Topic: Why does this not give a runtime error?
Replies: 13
Views: 10643

Re: Why does this not give a runtime error?

Dick,

I am not sure what compiler options could/would/might cause any such an issue because there are several, such as: Type Inference, Overflow checking, etc.

It is best to create a small test app and see if you can reproduce the issue with different compiler options.

Again: What version of VO ...
by Jamal
Mon Apr 14, 2025 7:33 pm
Forum: VO & Vulcan
Topic: Why does this not give a runtime error?
Replies: 13
Views: 10643

Re: Why does this not give a runtime error?

Dick,

What version of VO are you running?

In VO 2.8 SP4b, I get the below runtime error using a similar code.

Error Code: 33 [ ]
Subsystem: BASE
Function: =>LOGIC
Argument: 8
Type: NUMERIC
Requested type: LOGIC

Note: this could possibly be related to program compiler options.

Jamal
by Jamal
Mon Apr 07, 2025 5:50 pm
Forum: Product
Topic: How to create a Windows forms custom control
Replies: 18
Views: 12533

Re: How to create a Windows forms custom control

Hi Kees,

It would be hard to tell without a small sample showing the issue; but naturally no one is asking for your NDA project.

I repeat what Fabrice and Chris said, this could also be caused by the app's compiler options.

Anyway, the following is not fully a strongly typed ASSIGN since you ...
by Jamal
Fri Apr 04, 2025 4:09 pm
Forum: Product
Topic: How to create a Windows forms custom control
Replies: 18
Views: 12533

Re: How to create a Windows forms custom control

Hi Kees,

Please upload the project and the subclass lib project to help you better.
by Jamal
Wed Apr 02, 2025 7:29 pm
Forum: Product
Topic: How to create a Windows forms custom control
Replies: 18
Views: 12533

Re: How to create a Windows forms custom control

Hi Kees,

I updated the post which has the CustomClassLibrary.zip which contains the custom control.

Please extract the project and add it to the solution.

Jamal
by Jamal
Wed Apr 02, 2025 6:03 pm
Forum: Product
Topic: How to create a Windows forms custom control
Replies: 18
Views: 12533

Re: How to create a Windows forms custom control

Hi Kees,

In addition to what Fabrice mentioned, please see the download both attached projects, demo app and a custom control lib to see how it is done.

XSharpTempWinformsApp.zip
(2.86 MiB) Downloaded 1402 times
CustomClassLibrary.zip
(1.21 MiB) Downloaded 1391 times
Jamal