WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Programmatic Fax Problem

 
   Home -> Office -> Fax RSS
Next:  Programmatic Fax Problems  
Author Message
Yanir

External


Since: Dec 13, 2006
Posts: 3



(Msg. 1) Posted: Wed Dec 13, 2006 12:48 pm
Post subject: Programmatic Fax Problem
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 = "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
Login to vote
Yanir

External


Since: Dec 13, 2006
Posts: 3



(Msg. 2) Posted: Wed Dec 13, 2006 1:17 pm
Post subject: Re: Programmatic Fax Problem [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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....TakeThisOut@gmail.com>
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" <yhirshb....TakeThisOut@gmail.com> wrote in messagenews:1166042907.676509.279530@t46g2000cwa.googlegroups.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
Back to top
Login to vote
Russ Valentine [MVP-Outlo

External


Since: Mar 21, 2005
Posts: 6346



(Msg. 3) Posted: Wed Dec 13, 2006 4:08 pm
Post subject: Re: Programmatic Fax Problem [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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

--
Russ Valentine
[MVP-Outlook]
"Yanir" <yhirshberg.TakeThisOut@gmail.com> wrote in message
news:1166042907.676509.279530@t46g2000cwa.googlegroups.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
Back to top
Login to vote
Ken Slovak - [MVP - Outlo

External


Since: Oct 17, 2003
Posts: 2898



(Msg. 4) Posted: Wed Dec 13, 2006 4:46 pm
Post subject: Re: Programmatic Fax Problem [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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" <yhirshberg DeleteThis @gmail.com> wrote in message
news:1166044675.700853.102650@l12g2000cwl.googlegroups.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.
Back to top
Login to vote
Peter Jamieson

External


Since: Aug 10, 2004
Posts: 2198



(Msg. 5) Posted: Sat Dec 16, 2006 4:11 pm
Post subject: Re: Programmatic Fax Problem [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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" <yhirshberg DeleteThis @gmail.com> wrote in message
news:1166042907.676509.279530@t46g2000cwa.googlegroups.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
Back to top
Login to vote
Display posts from previous:   
       Home -> Office -> 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
Categories:
 Windows XP
 Windows Vista
 Windows Other
  Office
 Office Other
 Security
 WinRAR
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET