Code from a job. The code fails with: The method 'Send' in the COM -
object, in class 'IFaxDoc' returned errorcode 0x8007000D (<unknown>),
which means: <unknown>.   (Transelated from norwegian)

Can you help me?

Is there something wrong in the creating for FaxDoc?
The code work on a single computer, but not on a SmallBusiness -
server...

    COM FaxServer;
    COM FaxDoc;
    ;

    FaxServer = new COM('FaxServer.FaxServer');
    FaxServer.Connect('Server');
    FaxDoc = COM::createFromVariant(FaxServer.CreateDocument
('C:\\Temp\\Test.txt'));
    FaxDoc.FaxNumber('0,99999999');
    FaxDoc.RecipientName('Eva');
    FaxDoc.SendCoverpage(0);
    FaxDoc.Send();
    FaxServer.Disconnect();

    FaxDoc.detach();
    FaxServer.detach();


Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to