PDA

View Full Version : خطا در ارسال فکس



resident
جمعه 28 فروردین 1394, 15:48 عصر
سلام.

در خط سوم کد زیر





"C:\\Desktop\\salam.docx"=string FileName


FAXCOMLib.FaxServer faxServer = new FAXCOMLib.FaxServerClass();
FaxDoc faxDoc = (FaxDoc)faxServer.CreateDocument(FileName);


خطای زیر رو دارم.


Unable to cast COM object of type 'System.__ComObject' to interface type 'FAXCOMLib.FaxDoc'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{FA21F4C5-5C4C-11D1-83CF-00C04FB6E984}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).

کسی میدونه چرا؟؟؟