Switch to English?
Yes
Переключитись на українську?
Так
Переключиться на русскую?
Да
Przełączyć się na polską?
Tak
Post your project for free and start receiving proposals from freelancers within minutes after publication!

Convert the program to C# to service

Translated
C#

Applications 1

Application viewing is only available registered users.
  1. 1479    72  0
    2 days45 USD

    Hello to Victor.
    I know why your service doesn’t work.
    Ready to make a service putting tasks in the default order of the print on a break
    (or if you need something else)

    You can talk to LS.

  2. 283    9  0
    2 days7 USD

    I wrote in my comments what to do. The program (both) is already available. We need to clarify the details.

  3. 6087    284  0
    1 day11 USD

    Good day . I know how to solve your problem. I can provide a project for VS.

  4. 1314    44  5   1
    5 days22 USD

    Good day . In general, it is ready to fall. I understand that this program has to look at the line of the press and do something with it...

  • Bogdan Onyshenko
    23 October 2022, 10:17 |

    Доброе утро. А можете описать вкратсце что делает программа?

  • Viktor Terehin
    23 October 2022, 10:27 |

    https://upread.ru/art.php?id=361

    код взят отсюда, только там через форму, а мне надо службу сделать

    консольное приложение работает. могу скинуть проект

  • Denis S.
    23 October 2022, 10:44 |

    Добрый день

    Попробуйте просто убрать вот эти строки:

    string[] dirs = Directory.GetFiles(@"C:\Windows\System32\spool\PRINTERS");

                            if (dirs.Length > 0)


    Скорее всего, ошибка из-за них, т.к. винда ни одной пользовательской службе не даст лазить по системным директориям в таком виде. 


    Этот код просто проверяет наличие очереди - так это можно сделать иначе:

    server.GetPrintQueues()

  • Viktor Terehin
    23 October 2022, 12:19 |

    что-то не очень помогло пока.

    я так понимаю это сложная задача и никто не хочет браться(

  • Denis S.
    23 October 2022, 12:40 |

    да-да... очень сложная


  • Gennady P.
    24 October 2022, 16:21 |

    Это задача немного сложнее. 

    Надо две программы:

    1 Console или  WinForms программа которая запустит инсталлятор, сделает все настройки и запустит (остановит, удалит)) службу

    2 Сама служба с инсталятором.

    Делал уже такую, могу переделать под вашу задачу.


  • Gennady P.
    24 October 2022, 17:25 |

    Сам цикл надо переделать через  FileSystemWatcher

  • Vladimir G.
    28 October 2022, 21:12 |

    А можно сделать программу, которая будет прятаться в трей в значок и не быть службой? Её не будет видно на экране и в строке задач.

    Подходит такое?

Current freelance projects in the category C#

Creation of a plugin for integration with the POS system Syrve, C#

Develop a plugin for the Syrve POS system (on-premise), which is installed on the establishment's server. The plugin must: (1) transmit data to our server in real-time — orders, table statuses, payments, receipts; (2) receive commands from Reservble — booking confirmations,…

C#Web Programming ∙ 1 day 23 hours back ∙ 11 proposals

Creation or refinement of firmware and logic for three autonomous LoRa stations based on ESP32.

112 USD

Creation or refinement of firmware and logic for three autonomous LoRa stations based on ESP32. The devices must set up a Wi-Fi access point, serve a local site via a browser (HTTP), receive text and images within a radius of 5-10 km (plus or minus), store data (preferably on…

C & C++C# ∙ 2 days 6 hours back ∙ 3 proposals

S1GG1L

A person is needed who can take the initial code of the Minecraft launcher for the project, change the design at their discretion, but there are small style requirements for it to be in purple tones. Regarding payment, please suggest a price for the work. However, the budget is…

C#Gaming Apps ∙ 4 days 15 hours back ∙ 7 proposals

Improvement in the existing version of 1C retail block for the distribution center (DC)

In general, I will explain what kind of database we have - There is a main server where there is a retail database (where all receipts are recorded) - a UTP database - where all sales are transferred - it calculates the markup and stock balances - small databases of retail…

C & C++C# ∙ 9 days 16 hours back ∙ 6 proposals

It is necessary to migrate the current working program from FoxPro to C#.

Hello everyone! We have a program in FoxPro (it has several modules, it's an accounting program), we have the source code of the program, and if necessary, we can consult with people who support the current program. What needs to be done: 1. Analyze how everything works,…

C#Desktop Apps ∙ 12 days 6 hours back ∙ 19 proposals

Client
Project published
3 years back
169 views