PDA

View Full Version : Subject: FaxIncomingMessageIterator operation failed


Michael
April 13th 06, 10:46 AM
hello

I am doing a program to get the fax from the inbox of microsoft fax service
I use Visual Studio .Net 2005, on windows xp sp2

The code is simple as below:

objfaxserver.Connect("")
objfaxincarch = objfaxserver.Folders.IncomingArchive
objfaxincarch.Refresh()
objfaxincarch.Save()
objfaxincmsgiter = objfaxincarch.GetMessages(100)
Try
objfaxincmsgiter.MoveFirst()

Do While Not objfaxincmsgiter.AtEOF()
...........
...........
End Try

There is always error "Operation failed" (0x80070103) with the methods of
objfaxincmsgiter as type FaxIncomingMessageIterator.

Can anyone help me?

--
Michael

Google