Help!

Programmatic Fax Problems


Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Fax RSS
Next:  change sort order of contacts in Outllook 2003  
Author Message
Yanir
External


Since: Dec 13, 2006
Posts: 3



PostPosted: Wed Dec 13, 2006 12:45 pm    Post subject: Programmatic Fax Problems
Archived from groups: microsoft>public>outlook>fax (more info?)

I've been developing a asp.net site that sends a fax generated by a
script. I use the faxcomex object to send the fax.

I create an html file and save it with a .doc extension attatch it to
the body when I call the script. When the script is executed word
launches and prints to the fax-modem and it's on it's way. This works
with other applications that support the print verb command.

One problem is when I copy the files to my test IIS from the debug IIS.
the page just hangs.

here is my fax function:
-------------------------------------------------------------------------------------------
Dim faxServer As New Object
Dim faxDocument As New Object

faxServer = CreateObject("FAXCOMEX.FaxServer")
faxDocument = CreateObject("FAXCOMEX.Faxdocument")
faxServer.connect("")
faxDocument.body = "c:\temp_proposal.doc"
faxDocument.documentname = "Felix Storch Proposal"
faxDocument.Recipients.Add(faxnum)
Dim JobID = faxDocument.ConnectedSubmit(faxServer)
faxServer = Nothing
faxDocument = Nothing
-------------------------------------------------------------------------------------------

I suspect it may be a permissions problem but I gave asp.net and IUSR
administrative access to see if that resolved it and nothing.

Additionaly, I plan to put this on my windows 2003 server which doesn't
have word or other applications to launch to execute the print, I
wouldn't those aps constantly launching anyway.
Any suggestions for either problem would be greatly appreciated.

-Yanir
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Fax All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum