Rod

What error message do you get back?  I'm having difficulties with COM
at the moment too and will post about them here.

On Apr 3, 5:19 pm, "rod higgins" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm having a problem talking to the MS Fax service object. My code
> below fails on the last line while trying to send the faxdocument.
> Anyone used thisCOM objectbefore?
>
> <!----------------------------
>
> script to test faxing a pdf
> document via Microsoft fax
>
> ------------------------------>
>
> <cfset path = GetDirectoryFromPath(GetBaseTemplatePath())>
> <cfset faxDocumentObjRef = "">
>
> <cfset objFaxServer = createobject("COM", "FaxServer.FaxServer")>
> <cfset objFaxDocument =
> objFaxServer.CreateDocument("#path#sample.pdf")>
> <cfset objFaxDocument.FaxNumber("<mynumber>")>
> <cfset objFaxDocument.RecipientName("Tom Jones")>
> <cfset objFaxDocument.FileName("#path#sample.pdf")>
>
> <cfdump var="#objFaxServer#">
> <cfdump var="#objFaxDocument#">
>
> <cfset objFaxDocumentRtnVal = objFaxDocument.Send()>
>
> Thanks in advance.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to