Windows service

This forum is meant for examples of X# code.

Post Reply
User avatar
softdevo@tiscali.it
Posts: 191
Joined: Wed Sep 30, 2015 1:30 pm

Windows service

Post by softdevo@tiscali.it »

Hi to all.
Has anyone written a windows service with X#?
Where can I find an example?

Thank you

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

Windows service

Post by wriedmann »

Hi Danilo,

yes, I have.

You will find the XIDE project export here.

Please see the notes in the Start.prg file.
XSharpService.zip
(2.42 KiB) Downloaded 88 times
Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
User avatar
Horst
Posts: 336
Joined: Tue Oct 13, 2015 3:27 pm

Windows service

Post by Horst »

Hi Wolfgang

I had download that zip and inside is a viaef file. how to import it to xide or vs15?

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

Windows service

Post by wriedmann »

Hi Horst,

Visual Studio does not know any exports or imports, only XIDE. So you have to import it there.

In the XIDE project pane inthe context menu there is an "Import application" entry.

Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
User avatar
Horst
Posts: 336
Joined: Tue Oct 13, 2015 3:27 pm

Windows service

Post by Horst »

Hallo Wofgang

I cant import the app because the menu is gray ,not usable. i have Xide 1.10

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

Windows service

Post by wriedmann »

Hi Horst,

this is strange. You have to right-click from the project name, I think.
xide_import.png
xide_import.png (18.82 KiB) Viewed 839 times
Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
User avatar
Horst
Posts: 336
Joined: Tue Oct 13, 2015 3:27 pm

Windows service

Post by Horst »

xide.png
xide.png (6.45 KiB) Viewed 839 times
looks different when i click right
FFF
Posts: 1580
Joined: Fri Sep 25, 2015 4:52 pm
Location: Germany

Windows service

Post by FFF »

Horst,
the screenshot looks like you are in "Empty project", not in a "normal, real" project. Was never happy with the naming, but lacked a better idea ;)
In Empty you may run only single prgs, not apps.

So, use select proj, make a "new" project, then you'll see the import options in contextmenu

HTH
Karl
Regards
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)
User avatar
Horst
Posts: 336
Joined: Tue Oct 13, 2015 3:27 pm

Windows service

Post by Horst »

Thanks Karl

This was it
Post Reply