Faxing Word Doc

O

Ones Self

Hi,

I'm trying to automagically fax a Word document. It all works fine,
except that when ever the file is queued for faxing, Word pops up for
a second, and then shuts dowm. I guess it does that because it's printing
it or something. The problem is that it's really annoying. Is there a way
to not have Word pop up?

Thanks
 
A

Archan Das [MSFT]

It is not possible to stop that.

--
Archan Das
Microsoft Printing, Imaging and Fax Team

This posting is provided "AS IS" with no warranties, and confers no rights.

Please do not send email directly to this alias. This alias is for newsgroup
purposes only.
 
Joined
Sep 20, 2006
Messages
4
Reaction score
0
U can stop to open the word file

Dim FS As New FAXCOMLib.FaxServer

Dim FD As FAXCOMLib.FaxDoc

FS.Connect(ServerToConnect.Trim())

FD = FS.CreateDocument(str_Path_Of_File_To_Be_Faxed.Trim) \\\file Name to be send

FD.FileName = str_Path_Of_File_To_Be_Faxed.Trim

FD.FaxNumber="45454545"

FD.DisplayName = "TEST"

FD.DiscountSend = 0

FD.SendCoverpage = 0

faxcnt = FD.Send() \\Error occurs Here

FS.Disconnect()

I use this mathod in XP and work fine but if u transfer it to server having os windows 2003 server and ASp.NET 2.0 it gives error as mentione below:

{"Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))"}
System.UnauthorizedAccessException: {"Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))"}
Data: {System.Collections.ListDictionaryInternal}
HelpLink: Nothing
InnerException: Nothing
Message: "Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))"
Source: "Interop.FAXCOMLib"
StackTrace: " at FAXCOMLib.IFaxDoc.Send()
at FaxApplication.Upload_Files.FaxTheFiles() in F:\Inetpub\wwwroot\Fax2\Upload_Files.aspx.vb:line 160"
TargetSite: {System.Reflection.RuntimeMethodInfo}

so if u have solution for this than it is welcome.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top