Add To FaxDocument.Bodies?

Feb 2, 2010

FaxDocument.Bodies is an object. I understand it should look something like Fax1.txt;Fax2.txt;Fax3.txt So is that not a string of Filepaths seperated by ';'. When I tried ... FaxDocument.Bodies = strBodies it gave me this ... Com Exception The operation identifier is not valid. (Exception from HRESULT: 0x800710DD)

I have also forced the strBodies to be type object and that doesn't work also

View 1 Replies


ADVERTISEMENT

Faxing With FaxComExLib, What Is FaxDocument.DocumentName?

Dec 5, 2005

I am successfully sending faxes from a windows XP client through the fax service on a windows 2003 server. The fax prints at the recipient's end with a line at the top that looks something like "1C5W999387430409E.txt". I hope this is a really simple question. Is this the "DocumentName" as in oFaxDocument.DocumentName = "Some Text". If it is not, how can I eliminate the line of text at the top of the fax.

View 5 Replies

Way That FaxDocument.ConnectSubmit Does NOT Open Word

Oct 5, 2009

Is there a way that when I send a fax using FaxDocument and FaxServer that it does not display Microsoft Words?I am sending my fax as FaxDocument. ConnectSubmit(faxServer) and I also tried FaxDocument.Submit("") and both of them pops windows for a brief time when sending.

View 1 Replies

C# - Why Aren't Code Regions Allowed Within Method Bodies In .NET

Jun 30, 2010

I'm refactoring VB.NET code where methods routinely run five hundred lines and the references are so tightly coupled that the code defies simple refactoring such as method extraction. And that's why I thought I would try regions within a method body. I just wanted to organize the code for the short term. But the IDE didn't let me (resulted in a compiler error.) I'm just curious as to why? Seems like code regions shouldn't impact the compiler, intellisense etc. Am I missing something? (Still using VS 2005 btw.)

Interesting: This seems to be language specific. It's OK in C# (I didn't check that initially) but not in VB.NET.

public module MyModule
Sub RunSnippet()
dim a as A = new A (Int32.MaxValue )

[code]....

that gets a compiler error but the C# version is ok.

View 5 Replies

Warning: 0 : Use Procedure Bodies Is Now Obsolete.Use Check Parameters Instead

Apr 2, 2012

I'm getting this warning in my Output window (which doesn't affect functionality but I don't really understand it:

Warning: 0 : Use Procedure Bodies is now obsolete.Use Check Parameters instead

I'm using MySql.Data 6.3.7.0?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved