Howto: Start with X#

This forum is meant for examples of X# code.

Post Reply
User avatar
wriedmann
Posts: 3644
Joined: Mon Nov 02, 2015 5:07 pm
Location: Italy

Howto: Start with X#

Post by wriedmann »

If you know VO, and need to start with X#, I would recommend the following:

- start with XIDE instead of Visual Studio, so you can concentrate first on the language, and then, if you know the language, you can switch to Visual Studio
- start first playing with the application types that X# offers: "Basic X# application" and "Basic X# Form Application"
- then try to understand this document: www.govulcan.net/portal/LearningVulcanNET/GettingStarted/tabid/59 /Default.aspx. It is for Vulcan, but most things apply also to X#
- look here in the forums, specially in the Pearls section and the Examples section:
https://www.xsharp.eu/forum/public-examples
https://www.xsharp.eu/forum/pearls
Most of these should have compilable code.
- on my webpage there are also some usable samples, most of them using WPF:
https://www.riedmann.it/verschiedenes_vulcan.php

And read a good C# book, maybe one from Microsoft Press. I could recommend the author Holger Schwichtenberg and his ".NET 4 Crash Course" (available also in German)
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
hans
Posts: 4
Joined: Fri May 19, 2017 1:32 pm

Howto: Start with X#

Post by hans »

Hi Wolfgang,
after 7 years not working with VO and neither worked with Vulcan I want to go on working on my program for my program is written in VO 2.0b-4 and VO doesn't work with Windows 10. But my program does. With VO I program only for application for myself and not for any market. Now I want to use XIDE, but where can I get it? Can you give me a hint please.
Thanks Hans
ic2
Posts: 1798
Joined: Sun Feb 28, 2016 11:30 pm
Location: Holland

Howto: Start with X#

Post by ic2 »

Hello Hans,


It's straightforward. First you register yourself on this site (direct link is https://www.xsharp.eu/component/comprofiler/registers). Then you select Downloads from the menu and install XSharp. X# works in the free Community version of Visual Studio (and of course any paid version). During the installation, XIDE installation is also offered. XIDE looks more like VO so it may be preferred above Visual Studio which has more options but also moire nuisances.

Good luck with X#!

Dick
User avatar
wriedmann
Posts: 3644
Joined: Mon Nov 02, 2015 5:07 pm
Location: Italy

Howto: Start with X#

Post by wriedmann »

Hi Hans,

it may be sound a bit negative: if you have an urgent need for a change in your program it may be better to setup a virtual machine with Windows XP and install your VO there and make all the changes there.

There have been many changes in VO since 2.0, and most of them made the compiler stronger to prepare the migration to X#. I don't know how big your application is, but I suspect there could be many things to change, and if you have not touched VO for more 7 years, it may be a very frustrating experience.

Then, if you have more time, you can try to migrate without any pressure. Again, I don't know your application, but at least the migration of my own is not completely painless - mostly because I have done many things that are not allowed in .NET.
And since an X# program runs in the .NET environment, it has to obey to these rules.

Of course, if you are willing to migrate, we will try to assist you.

Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
FoxProMatt

Howto: Start with X#

Post by FoxProMatt »

Wriedmann - I downloaded a sample file from your wesbite,but I do not know what to do with this file.

I have XIDE installed on my computer, and the latest 2.0.0.8 version of X# installed.

What now?

"WinformsDataBindingApp.viaef"

(Remember - I am new to X# and XIDE).

BTW - is it possible that I can use this file in Visual Studio? That wold be my preference.
User avatar
lumberjack
Posts: 723
Joined: Fri Sep 25, 2015 3:11 pm

Howto: Start with X#

Post by lumberjack »

Matt,
In XIDE, on your Project Name in the Right Pane, Right Click, then select Import application, select the viaef and off you go.
FoxProMatt

Howto: Start with X#

Post by FoxProMatt »

Okay, I found I was able to right-click on an exiting Project in XIDE (or create a new Project) and I clicked Import Application, and that loaded it up, and then I was able to run it.
User avatar
wriedmann
Posts: 3644
Joined: Mon Nov 02, 2015 5:07 pm
Location: Italy

Howto: Start with X#

Post by wriedmann »

Hi Matt,
please excuse me for my late answer - unfortunately I need some sleep, working all day... And since I'm based in Italy, my sleeping times may be different from yours.
Visual Objects had a possibility to export applications to a single file, and also XIDE has this functionality. And because I use XIDE, and XIDE is easier for beginners coming from VO, and XIDE is installed normally with X#, I have decided to release my samples as XIDE export files.
Maybe I should add also Visual Studio versions of them.....
Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
Post Reply