Title: Message

You get a error form the faxserver that Axapta can not resolve to a errormessage.

Check if you get an object of FaxDoc.

/Jesper

 

Original Message      
 processed by Tobit InfoCenter 
Subject: 
RE: [development-axapta] Sending Fax using COM (31-Mrz-2004 14:48)
From:    
[EMAIL PROTECTED]
To:      
[EMAIL PROTECTED]
 
Why? It is not the Axapta COM object that I'm using, it's the FaxCom.dll.
 
Eva Aksnes
-----Original Message-----
From: Carsten M. Horlacher [mailto:[EMAIL PROTECTED]
Sent: 31. mars 2004 14:39
To: [EMAIL PROTECTED]
Subject: RE: [development-axapta] Sending Fax using COM

Could you successful pass the com connector test within Axapta. If not
try re-registering the AxCom component.

Carsten


-----Original Message-----
From: eva_aksnes [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 31, 2004 1:22 PM
To: [EMAIL PROTECTED]
Subject: [development-axapta] Sending Fax using COM



I am using Microsoft Shared Fax to send a fax from Axapta without
opening the faxwizard. This is my code:

static void SendFax(Args _args)
{
    COM FaxServer;
    COM FaxDoc;
   

    FaxServer = new COM('FaxServer.FaxServer');

    FaxServer.Connect('Server');
    FaxDoc = COM::createFromVariant(FaxServer.CreateDocument
(C:\\Temp\\Test.txt'));

    FaxDoc.FaxNumber('055784585');
    FaxDoc.RecipientName('Ann');
    FaxDoc.Send();    //LINE 15
    FaxServer.Disconnect();
}

But I get an error at the line 15.
Error translated from norwegian:
Method 'Send' in COM-object in class 'IFaxDoc' returns the errorcode
0x80070002(<unknown>), which means; <unknown>.

Is there anyone that can give me a clue what's wrong here?





Yahoo! Groups Links








***
This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, received late or incomplete, or could contain viruses. The sender therefore does not accept liability for any error or omission in the contents of this message, which arises as a result of e-mail transmission.
***



Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to