NetOfficeFw / NetOffice

🌌 Create add-ins and automation code for Microsoft Office applications.
MIT License
700 stars 145 forks source link

Running netoffice in windows service #395

Closed chandraarora closed 5 months ago

chandraarora commented 1 year ago

Hi

I have a question here if it will be possible to run in the windows service or it should be run always as console application or windows form.

Thanks Chandra

jozefizso commented 5 months ago

Yes, you can use NetOffice libraries in a Windows Service host. Keep in mind this requires special configuration of the service to be able to run Microsoft Office COM objects and the apps.

Please, refer to Microsoft documentation about the issue.

chandraarora commented 5 months ago

Thank you for your reply, do you have documentation link for Microsoft com object on server side?

Sent from Outlook for iOShttps://aka.ms/o0ukef


From: Jozef Izso @.> Sent: Sunday, June 9, 2024 5:25:59 PM To: NetOfficeFw/NetOffice @.> Cc: Chandra Arora @.>; Author @.> Subject: Re: [NetOfficeFw/NetOffice] Running netoffice in windows service (Issue #395)

Closed #395https://github.com/NetOfficeFw/NetOffice/issues/395 as completed.

— Reply to this email directly, view it on GitHubhttps://github.com/NetOfficeFw/NetOffice/issues/395#event-13091744011, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIRM7FWK6IBZOQW7J6UEVHLZGRXYPAVCNFSM6AAAAABJA7FKKOVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJTGA4TCNZUGQYDCMI. You are receiving this because you authored the thread.Message ID: @.***>

jozefizso commented 5 months ago

https://support.microsoft.com/en-us/topic/considerations-for-server-side-automation-of-office-48bcfe93-8a89-47f1-0bce-017433ad79e2

chandraarora commented 5 months ago

Thank you. We are ready to pay if it is possible to guide and make it running for server and we have also issues when we have high load of conversion then it stops working, we have queue where it should pickup and convert min 4 workers

Sent from Outlook for iOShttps://aka.ms/o0ukef


From: Jozef Izso @.> Sent: Sunday, June 9, 2024 5:54:44 PM To: NetOfficeFw/NetOffice @.> Cc: Chandra Arora @.>; Author @.> Subject: Re: [NetOfficeFw/NetOffice] Running netoffice in windows service (Issue #395)

https://support.microsoft.com/en-us/topic/considerations-for-server-side-automation-of-office-48bcfe93-8a89-47f1-0bce-017433ad79e2

— Reply to this email directly, view it on GitHubhttps://github.com/NetOfficeFw/NetOffice/issues/395#issuecomment-2156665607, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIRM7FVSW3LMXRPEJ6AK7ELZGR3EJAVCNFSM6AAAAABJA7FKKOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJWGY3DKNRQG4. You are receiving this because you authored the thread.Message ID: @.***>

jozefizso commented 5 months ago

Please, write me at jozef@goit.sk