Faxing using MS Fax SDK and Windows Service w/o desktop interactio

From: Chet (Chet_at_discussions.microsoft.com)
Date: 12/04/04


Date: Fri, 3 Dec 2004 16:47:03 -0800

I'm trying to write a Windows Service that will utilize MS Fax to
programatically send faxes. The Service must work whether or not a user is
logged in, but I'm predictably running into problems with desktop
interaction. My code has no user interface, but the "ConnectedSubmit"
function of the Extended COM Fax library causes the application associated
with the fax document to launch, print the document to the fax server, and
then shut down. Though far from ideal, this will work if the "Allow Desktop
Interaction" option is selected in the SCM and a user is logged in. But if a
user is not logged in, the Connected Submit function just hangs until someone
logs in, and then proceeds to launch the app, etc. Does anyone have any
suggestions? Is there any way to send the fax in the background without
interacting with the desktop?

Thank you very much in advance-

Chet



Relevant Pages

  • Re: IIS5/XP/aspnet_wp, changing user
    ... I have an authenticated web page that wants to launch a couple of ... launch the process, but as soon as Process.Startgets called, it ... This post said that running under NETWORK SERVICE would/should fix the ... But, with a windows service, you should be able to fire it up. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Interesting behavior of iexplore.exe when using CreateProcessAsUser...
    ... I've recently written a windows service that provides failover and replication capabilities for 3rd party applications and it works great and I can launch console or UI applications just fine either in session 0 where the service is running, or if configured, into session 1 so that the user can see the UI of the product configured to be launched/maintained/restarted - whatever. ... The service is running under the local system account, this is Vista Ultimate 32-bit, and I was wondering if it has to do with the fact that iexplore.exe is so sensitive to relative security levels (for example, when launching a trusted URL from an instance showing a default URL, iexplore.exe will launch a separate instance...) ...
    (microsoft.public.win32.programmer.kernel)
  • CreateProcessWithLogonW Problem using from service
    ... I have an application that is launched from a windows service on Windows 2000 ... The service is running as a user and not as system or administrator. ... I am trying to use CreateProcessWithLogonW to launch the process but I get ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Problem in launching process from a windows service!
    ... our server which is a windows service got a problem. ... > This windows service will launch a process to process user's data each ... > So, I wrote a test projects to test this, and you guys can download it ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Fax service
    ... "Pavan Kumar" wrote in message ... > I am able developing a windows service to send faxes .This windows ... > Now the problem is my windows service is unable to send faxes it fails ...
    (microsoft.public.win2000.fax)

Loading