Windows.Forms and the VO.App class

This forum is meant for questions and discussions about the X# language and tools
User avatar
Kees Bouw
Posts: 172
Joined: Wed Nov 06, 2019 11:35 am
Location: Netherlands

Re: Windows.Forms and the VO.App class

Post by Kees Bouw »

wriedmann wrote: Mon Sep 08, 2025 9:38 am Hi Kees,
I had written that in my first message, and the Powerpoint Presentation explains it even better.
Wolfgang
Hi Wolfgang,

Ah yes, I should have remembered. Sorry about that. I will investigate the code and see what I have to change in my application.

Thank you very much!

Kees.
TerryB1
Posts: 7
Joined: Thu Jan 30, 2025 12:08 pm
Location: United Kingdom

Re: Windows.Forms and the VO.App class

Post by TerryB1 »

Hi Kees

PMFJI But I have been following this with interest. You said that your intent is to "change all VO windows to Windows.Forms forms".

I would be interested to know why you have chosen the route you have. I cannot comment much about Windows Forms (I use mainly WPF), but it appears to me that following your route will end up with a significant amount of unnecessary code doing the same thing. "Too many cooks spoil the broth" to sum up one of Wolfgang's comments.

Terry.
User avatar
Chris
Posts: 5474
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

Re: Windows.Forms and the VO.App class

Post by Chris »

Hi KTerry,

Kees said he will replace all VO Windows with Windows.Forms windows, so I do not understand why you say there will be unnecessary code doing the same thing. As you probably know, switching to Windows.Forms has a lot of advantages compared to staying with the VOGUI, from the top of my head:

- More stability
- 32/64 bit
- Unicode
- More available controls
- Thousands of 3rd party controls available to use
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
TerryB1
Posts: 7
Joined: Thu Jan 30, 2025 12:08 pm
Location: United Kingdom

Re: Windows.Forms and the VO.App class

Post by TerryB1 »

Hi Chris

Yes I agree. It was the ROUTE Kees appeared to be taking to get there that I was querying. It seemed to be a bit circuitous to me (a lot of learning - time consuming). Why not go straight there using VS?

Good to be in direct contact after so long. Hope all is well with you.

Terry
User avatar
Chris
Posts: 5474
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

Re: Windows.Forms and the VO.App class

Post by Chris »

Hi Terry,

Yeah, it's been like 20+ years since the CULE.Net era :)
All good here (except we still have 33C in September...), hope you're doing fine also!

About the conversion, I assume the app was first converted from VO, which is easy enough to do quickly by still using the VOGUI classes and have a working X# version of the app. Converting further to Windows.Forms is a much more time consuming process.
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
User avatar
wriedmann
Posts: 4018
Joined: Mon Nov 02, 2015 5:07 pm
Location: Italy

Re: Windows.Forms and the VO.App class

Post by wriedmann »

Hi Robert, hi Chris,
there was somewhere a documentation about hosting a Windows Forms form in a VOGUI application, and about hosting a VOGUI window in a Windows Forms application. AFAIK that documentation was done by Paul P.
Unfortunately, I cannot find that anymore.
Maybe you can find it and add it to the X# help.
Thank you very much!
Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
User avatar
Chris
Posts: 5474
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

Re: Windows.Forms and the VO.App class

Post by Chris »

Hi Wolfgang,

Yeah, I was thinking about that, too. Unfortunately, I can't find it either...
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
User avatar
wriedmann
Posts: 4018
Joined: Mon Nov 02, 2015 5:07 pm
Location: Italy

Re: Windows.Forms and the VO.App class

Post by wriedmann »

Hi Chris,
so I think I will have to search on old backups from the VN times.
On my current machine it was never installed (even if it is about 5 years old now...)
Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
User avatar
Kees Bouw
Posts: 172
Joined: Wed Nov 06, 2019 11:35 am
Location: Netherlands

Re: Windows.Forms and the VO.App class

Post by Kees Bouw »

Chris wrote: Tue Sep 09, 2025 1:26 pm Yeah, I was thinking about that, too. Unfortunately, I can't find it either...
Hi Chris,

Can you think of anyone who may still have this documentation? I would very much like to see it!

Kees.
FFF
Posts: 1733
Joined: Fri Sep 25, 2015 4:52 pm
Location: Germany

Re: Windows.Forms and the VO.App class

Post by FFF »

Guys,
first: as imho whatever you find is Paul's property, why not contact him?
second: i found two wmf zips from 2011 here - vmm105_VOonWinFormApp and vmm104-800x500_WinformOnVO - is that, what you look for?
third: Wolfgang, i see "VOGuiWinforms.viaef" from you in 2019 here - would that help?
Regards
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)
Post Reply