A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Outlook » Fax
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Programmatic Fax Problem



 
 
Thread Tools Display Modes
  #1  
Old December 13th, 2006, 09:48 PM posted to microsoft.public.outlook.fax
Yanir
external usenet poster
 
Posts: 3
Default Programmatic Fax Problem

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

  #2  
Old December 13th, 2006, 10:08 PM posted to microsoft.public.outlook.fax
Russ Valentine [MVP-Outlook]
external usenet poster
 
Posts: 9,440
Default Programmatic Fax Problem

You'll want to post in one of the programming groups. You won't find answers
here, I suspect.

--
Russ Valentine
[MVP-Outlook]
"Yanir" wrote in message
oups.com...
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

  #3  
Old December 13th, 2006, 10:17 PM posted to microsoft.public.outlook.fax
Yanir
external usenet poster
 
Posts: 3
Default Programmatic Fax Problem

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]"
wrote:
You'll want to post in one of the programming groups. You won't find answers
here, I suspect.

--
Russ Valentine
[MVP-Outlook]"Yanir" wrote in ooglegroups.com...
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


  #4  
Old December 13th, 2006, 10:46 PM posted to microsoft.public.outlook.fax
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 368
Default Programmatic Fax Problem

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.

--
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


"Yanir" wrote in message
oups.com...
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.

  #5  
Old December 16th, 2006, 05:11 PM posted to microsoft.public.outlook.fax
Peter Jamieson
external usenet poster
 
Posts: 4,550
Default Programmatic Fax Problem

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

"Yanir" wrote in message
oups.com...
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


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:33 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.