Search found 163 matches

by Kees Bouw
Mon Oct 13, 2025 1:34 pm
Forum: Product
Topic: Translating C# to X#
Replies: 4
Views: 757

Re: Translating C# to X#

Hi Chris,

Thank you very much!


aArrayOfInts := <INT> {1,2,3,6,7,0}

Would this be the same as:

aArrayOfInts := ARRAY OF INT
aArrayOfInts := {1,2,3,6,7,0}
Or does the < > make it into something special? It looks like some sort of cast.


LOCAL aPoints AS Point[] // single dim fixed size ...
by Kees Bouw
Mon Oct 13, 2025 9:48 am
Forum: Product
Topic: Translating C# to X#
Replies: 4
Views: 757

Translating C# to X#

There are a lot of C# code examples on the internet and sometimes I have trouble translating them, in the most efficient way, to X#. For example this piece of code:
// Draw the custom border to appear 3-dimensional.
e.Graphics.DrawLines(SystemPens.ControlLightLight, new Point[] {
new Point (0, e ...
by Kees Bouw
Mon Sep 29, 2025 3:21 pm
Forum: Product
Topic: Windows.Forms and the VO.App class
Replies: 50
Views: 70074

Re: Windows.Forms and the VO.App class


Had been away for the weekend, will look into it in the next days. But especially about the Shell window, since you're starting with a Windows.Forms app, what's the point of having a VO style shell window? I don't think those classes were designed with supporting this in mind, so I suspect there ...
by Kees Bouw
Mon Sep 29, 2025 9:06 am
Forum: Product
Topic: Windows.Forms and the VO.App class
Replies: 50
Views: 70074

Re: Windows.Forms and the VO.App class


Hi Kees,

I don't think we ever encouraged people to use those classes, we know they have issues, but in case someone had successfully used them in vulcan, then why not having them as an option in X#, too?

Will have a look though, maybe there are ways to workaround the issues you reported, just ...
by Kees Bouw
Thu Sep 25, 2025 1:41 pm
Forum: Product
Topic: Windows.Forms and the VO.App class
Replies: 50
Views: 70074

Re: Windows.Forms and the VO.App class


Hi Kees,

I don't think this sample and class was intended to be used like that. If you start with a Windows.Forms app, then the winforms form is supposed to be used as the "Shell" and not have again a VO style ShellWindow. Instead, you can show VO style DataWindows etc, hosted inside a winform ...
by Kees Bouw
Thu Sep 25, 2025 8:22 am
Forum: Product
Topic: Windows.Forms and the VO.App class
Replies: 50
Views: 70074

Re: Windows.Forms and the VO.App class

robert wrote: Wed Sep 24, 2025 3:24 pm Kees,
Make sure you copy the CATO*.DLL files to the output folder
Robert
Hi Robert,

Yes, these files are in the output folder as can be seen in the zip of the solution I attached. So that is not the cause of the problems.

Kees.
by Kees Bouw
Wed Sep 24, 2025 2:08 pm
Forum: Product
Topic: Windows.Forms and the VO.App class
Replies: 50
Views: 70074

Re: Windows.Forms and the VO.App class

From the Vulcan example “HostingVOWindowSample.zip” I have tried to create a working X# example. Unfortunately there are several problems with it and I invite everyone to take a look and point out what I have missed or done wrong. I started by creating a new Windows.Forms application and a new form ...
by Kees Bouw
Wed Sep 17, 2025 12:08 pm
Forum: Product
Topic: Windows.Forms and the VO.App class
Replies: 50
Views: 70074

Re: Windows.Forms and the VO.App class


No problem.
Anything else desired from our "antiquarian bookshop"? :-)
There are still lot's of examples from my collection of the period between 1999 and 2019.
Every time I look into I always hesitate deleting something. There is an inner voice that begins to say:
May be there is something ...
by Kees Bouw
Wed Sep 17, 2025 9:27 am
Forum: Product
Topic: Windows.Forms and the VO.App class
Replies: 50
Views: 70074

Re: Windows.Forms and the VO.App class

ArneOrtlinghaus wrote: Wed Sep 17, 2025 6:09 am Here are the files I think you were mentioning. Paul made also some "Hybrid" solution examples, but I think that they are not anymore helpful.

Arne
Hi Arne,

Thank you very much for taking the time to find these files and share them on the forum!!

Kees.
by Kees Bouw
Tue Sep 16, 2025 2:44 pm
Forum: Product
Topic: Windows.Forms and the VO.App class
Replies: 50
Views: 70074

Re: Windows.Forms and the VO.App class


Hi Kees,

As Wolfgang kindly pointed out to me, the docs were actually part of the vulcan help file, in the Migrating to Vulcan section. As you were also using vulcan, you should have this, but I don't think it offers more than what the samples Wolfgang already sent you already did.


Hi Chris ...