|
-
August 15th, 2005, 08:45 AM
#1
FaxComExLib document conversion
Finally after several days with many problems I made my VB6 app send faxes through MS fax printer on the server and get the status of each job.
I used FaxComExLib.
Now when objDocument.ConnectedSubmit methot is called the application associated with the type of the document is invoked. In my case it's MS Word (I'm faxing only Word documents). I would like to make it invisible along with messages displayed during conversion.
Is there any way to do that?
Thank you
Vlad
-
August 15th, 2005, 09:01 AM
#2
Re: FaxComExLib document conversion
 Originally Posted by vchapran
Now when objDocument.ConnectedSubmit methot is called the application associated with the type of the document is invoked. In my case it's MS Word (I'm faxing only Word documents). I would like to make it invisible along with messages displayed during conversion.
Is there any way to do that?
When you say the application is invoked, do you you mean that:
MS Word opens?
And you don't want MS Word to be shown?
-
August 15th, 2005, 09:42 AM
#3
Re: FaxComExLib document conversion
Right.
MS Word screen appears for a portion of second and I do not want it to do.
Thanks.
Vlad
-
August 15th, 2005, 12:39 PM
#4
Re: FaxComExLib document conversion
Well, it's a thing with Word. If I were to go to Windows Explorer or My Computer, right click a Word file and say Print - it does the same. I think it's because the document is closed and Word reads it quickly into memory, then exits. The same happens here with the documents you want to fax. They are closed, so Word reads them quickly.
Just a long shot in actually hiding the Word screen.
Include a reference to MS Word in your project - "Project"->"References"->find MS Word Object LIbrary
Code:
'open the doc
Dim wordo As New Word.Application
wordo.Application.Documents.Open fileName:="same name as the document to be faxed"
Word.Application.Visible = False 'hides the word application window
'fax the info here
'after fax complete
wordo.Quit False
Set wordo = Nothing
Hope this helps!
-
August 15th, 2005, 04:43 PM
#5
Re: FaxComExLib document conversion
No, it doesn't work.
I already have a code for Word objects, and I hide Word in that code. It's not visible during file preparation (I'm combining several documents into one, replacing some values with some data from a database etc), but during
objFaxDocument.ConnectedSubmit(objFaxServer) execution Word appears. It doesn't depend on when I close Word object - before or after ConnectedSubmit.
Thank you
Vlad
-
October 3rd, 2005, 08:55 AM
#6
Re: FaxComExLib document conversion
You can disable the messages in the actual Fax Console application * Tools * Fax Printer Configuration * Tracking (Tab) * Fax Monitor
I am trying to solve the same issue as you were having, just wondering if have figured it out. It’s not only word; I am faxing a PDF document and the same thing is happening. It kind makes sense that it has to invoke the app, but I would like to be able not to see it. I’ve tried all kinds of stuff to make it not appear or to hide it however unsuccessfully. In case of a PDF doc I can’t even get rid of the document. (Setting the document object does absolutely nothing)
Help appreciated
Thanks
-
October 18th, 2005, 02:42 PM
#7
Re: FaxComExLib document conversion
Hi vchapran
Can you please share you code.
I also need to fax via windows fax
Thanks
Tim
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|