Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows Server 2003Windows 2000Windows NTSmall Business ServerVirtual ServerExchange ServerIISHost Integration ServerISA ServerSMSWSUSMOMWindows Media ServerSecurityCertification
Related Topics
SQL ServerMS WindowsMS OfficePC HardwareMore Topics ...

Windows Server Forum / Exchange Server / Development / July 2004

Tip: Looking for answers? Try searching our database.

Rule.dll & C#

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Erkan ?ZKURT - 14 Jul 2004 09:06 GMT
Hi,
I want to use rule.dll in my application to create exchange rules. I use C#
and I can't add action to my rule.

myRule.Actions.  here add method is missing.
How can I add action to my rule?
Thank you.
Tom Rizzo [MSFT] - 17 Jul 2004 16:26 GMT
What does your code look like?

Tom

Signature

Looking for a good book on programming Exchange, Outlook, ADSI and
SharePoint?  Check out http://www.microsoft.com/MSPress/books/5517.asp

This posting is provided "AS IS" with no warranties, and confers no rights.

> Hi,
> I want to use rule.dll in my application to create exchange rules. I use C#
[quoted text clipped - 3 lines]
> How can I add action to my rule?
> Thank you.
Erkan ?ZKURT - 26 Jul 2004 15:22 GMT
Hi,
This is my code

MSExchange.Action objAction=new MSExchange.ActionClass();
  objAction.ActionType=MSExchange.ACTION_TYPES.ACTION_COPY;
  MSExchange.Rules objeRules=new MSExchange.RulesClass();
  MSExchange.Rule objRule=new MSExchange.RuleClass();
  objRule.Actions.  Here Add method is missing

rule.dll working correctly in visual basic 6 and I solved my problem
by creating a dll that uses rule.dll in visual basic. But I still
wonder whether I can use rule.dll in c# or not?

Thank you
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.