Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Fax / December 2006

Tip: Looking for answers? Try searching our database.

Programmatic Fax Problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Yanir - 13 Dec 2006 20:48 GMT
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 = "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
Russ Valentine [MVP-Outlook] - 13 Dec 2006 21:08 GMT
You'll want to post in one of the programming groups. You won't find answers
here, I suspect.

Signature

Russ Valentine
[MVP-Outlook]

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 = "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
Yanir - 13 Dec 2006 21:17 GMT
I'll certainly do that, just hoping an outlook guru might have some
insight others might not. Faxcomex is used by outlook in xp and later.

On Dec 13, 4:08 pm, "Russ Valentine [MVP-Outlook]" <russ...@gmail.com>
wrote:
> You'll want to post in one of the programming groups. You won't find answers
> here, I suspect.
[quoted text clipped - 40 lines]
>
> -Yanir
Ken Slovak - [MVP - Outlook] - 13 Dec 2006 21:46 GMT
I don't think any of the Outlook developers would have a clue about this. I
certainly don't. It's more a library that might be used by Outlook but isn't
really Outlook related. I think it might be better to post in a Windows
group, that library might be related to one of the Windows faxing services.

Signature

Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm

I'll certainly do that, just hoping an outlook guru might have some
insight others might not. Faxcomex is used by outlook in xp and later.
Peter Jamieson - 16 Dec 2006 16:11 GMT
FWIW the approach I developed to help people mailmerge to traditional
faxmodems seems to work, but it uses a separate "print to TIFF" step. The
code's more complicated than you need, but it's at

http://tips.pjmsn.me.uk/t0001.htm

if you want to try something slightly different. As far as I know the
version that uses faxcomex has not been tried as much as the earlier
version.

Peter Jamieson

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 = "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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.