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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Fax Inbox read in C#
|
#2
|
|||
|
|||
The following code snippet might be helpful.
Note: Do add the FaxComex.dll to the C# project using FAXCOMEXLib; : : //number of messages to be fetched int count = 10; string messageId; FaxServerClass fax = new FaxServerClass(); fax.Connect(""); FaxFolders folders = fax.Folders; FaxIncomingArchive incoming = folders.IncomingArchive; FaxIncomingMessageIterator iterator = incoming.GetMessages(count); FaxIncomingMessage message ; for(int i=0;icount && (!iterator.AtEOF) ;i++) { message = iterator.Message; messageId = message.Id; iterator.MoveNext(); } --- Renu Bhattar [MSFT] Microsoft Printing, Imaging and Faxing This posting isprovided "AS IS" with no warranties and confers no rights. Please do not send mail directly to this aloas. This alias is for newsgroup purposes only. "Rambabu" wrote in message ... I want to read Fax inbox items and Send items uisng C# Application Any one Know this one send to me |
#3
|
|||
|
|||
I got Error
An unhandled exception of type 'System.InvalidCastException' occurred in FAx1.exe Additional information: QueryInterface for interface FAXCOMEXLib.IFaxFolders failed. How to retify this error Can you send as possible as -- Message posted via http://www.officekb.com |
#4
|
|||
|
|||
But i got QueryInterface for interface FAXCOMXLib.IFolder Error
How to remove this error -- Message posted via http://www.officekb.com |
#5
|
|||
|
|||
Renu Bhattar (MSFT) wrote: The following code snippet might be helpful. Note: Do add the FaxComex.dll to the C# project using FAXCOMEXLib; : : //number of messages to be fetched int count = 10; string messageId; FaxServerClass fax = new FaxServerClass(); fax.Connect(""); FaxFolders folders = fax.Folders; FaxIncomingArchive incoming = folders.IncomingArchive; FaxIncomingMessageIterator iterator = incoming.GetMessages(count); FaxIncomingMessage message ; for(int i=0;icount && (!iterator.AtEOF) ;i++) { message = iterator.Message; messageId = message.Id; iterator.MoveNext(); } --- Renu Bhattar [MSFT] Microsoft Printing, Imaging and Faxing This posting isprovided "AS IS" with no warranties and confers no rights. Please do not send mail directly to this aloas. This alias is for newsgroup purposes only. "Rambabu" wrote in message ... I want to read Fax inbox items and Send items uisng C# Application Any one Know this one send to me |
#6
|
|||
|
|||
Renu Bhattar (MSFT) wrote: The following code snippet might be helpful. Note: Do add the FaxComex.dll to the C# project using FAXCOMEXLib; : : //number of messages to be fetched int count = 10; string messageId; FaxServerClass fax = new FaxServerClass(); fax.Connect(""); FaxFolders folders = fax.Folders; FaxIncomingArchive incoming = folders.IncomingArchive; FaxIncomingMessageIterator iterator = incoming.GetMessages(count); FaxIncomingMessage message ; for(int i=0;icount && (!iterator.AtEOF) ;i++) { message = iterator.Message; messageId = message.Id; iterator.MoveNext(); } --- Renu Bhattar [MSFT] Microsoft Printing, Imaging and Faxing This posting isprovided "AS IS" with no warranties and confers no rights. Please do not send mail directly to this aloas. This alias is for newsgroup purposes only. "Rambabu" wrote in message ... I want to read Fax inbox items and Send items uisng C# Application Any one Know this one send to me |
#7
|
|||
|
|||
Do you have the interop DLL GAC-ed or placed in the same directory as the
program (exe file)? Also share out your code unless you are sure you didn't modify anything at all from what Renu wrote in the previous post. -- Raghavendra R 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.' "rambabu alaparthi via OfficeKB.com" wrote in message ... I got Error An unhandled exception of type 'System.InvalidCastException' occurred in FAx1.exe Additional information: QueryInterface for interface FAXCOMEXLib.IFaxFolders failed. How to retify this error Can you send as possible as -- Message posted via http://www.officekb.com |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
hotmail as default inbox | Hotmail as default inbox on Outlook Toda | General Discussion | 0 | February 3rd, 2005 07:59 PM |
Loosing Email From Inbox | JonR | Outlook Express | 1 | August 25th, 2004 01:08 PM |
Outlook hangs when accessing IMAP inbox | Chris Barnes | General Discussion | 3 | August 10th, 2004 08:23 PM |