Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~9K People Reached
Favorite Forums
Member Avatar for stevetaylor15

Hey, I'm trying to compare dates, essentially I want to copy all files that have a date modified of 3 days older or less than 3 days old modified. So far i have the following, it did look to be working before, maybe i made some mistake below: [code] string …

Member Avatar for ddanbe
0
214
Member Avatar for stevetaylor15

Hi guys, I want to run the following in a c# loop but I just don't know how to pass a multi value for a parameter with a comma. The actual cmdlet would be below and does work in exchange powershell: Set-CalendarProcessing –ResourceDelegates [email]jonDoe@test.com,johnnydoe@test.com[/email] -identity [email]testroom@test.com[/email] –AutomateProcessing AutoUpdate I know …

Member Avatar for paperless
0
298
Member Avatar for stevetaylor15

hi guys, i'm running a recordset read as below and within that running commands against a 2010 exchange server. i wanted to know what you thnk the fastest method there is of doing this?Is the best mehod to put the connection to the exchange server outside the rdr.read, and then …

Member Avatar for paperless
0
242
Member Avatar for stevetaylor15

I was just a bit confused about something sorry. If you have two classes, Ribbon1 and ThisAddIN below. How can I call Example()? - All are in the same namespace.. [CODE] public partial class Ribbon1 { private void button1_Click_1(object sender, RibbonControlEventArgs e) { //Call Example() from ThisAddIn Class Example(); } …

Member Avatar for williamrojas78
0
199
Member Avatar for stevetaylor15

Does anyone know how to add a new button to the 'New E-Mail' Window of Outlook 2010?! - Preferably on the 'Message' ribbon. I had a lok and it's pretty confusing with limited documentation. THanks!

Member Avatar for Tekmaven
0
91
Member Avatar for stevetaylor15

Hi i have a string array, such as: [CODE] string[] test = {"one@test.com","@test.com","@contoso.com"} [/CODE] And I want to modify values only where the address has no first portion that is "@domain.com", so the example return would be: [CODE] string[] test2 = {"one@test.com","*@test.com","*@contoso.com"} [/CODE] ANy ideas how to do this please?

Member Avatar for stevetaylor15
0
7K
Member Avatar for stevetaylor15

I'm trying to return anattribute an identify if it has null or emtpy value. I know if i give the attribute a value it returns it find, but if it has no value it returns "object reference not set to an instance of an object"! How do i identify an …

Member Avatar for stevetaylor15
0
253
Member Avatar for stevetaylor15

I want to compare 2 properties from Win32_operatingSystem and Win32_BIOS but i'm new to c# and unsure. Is there a way to run the queries below without a foreach, so i can access the 2 variables 'sn' and 'csn' and make a comparison? I know the answer is easy it …

0
69
Member Avatar for stevetaylor15

Hey guys, I'm trying to disable a local workstation user account using WMI setpropertyvalue. the code but it doesn't actually work. The put() causes the exception. it return 'invalid object' if i run this without the put() it find the object and return the value.. Any ideas? thanks! Steve [CODE] …

0
61
Member Avatar for stevetaylor15

Was wondering if someone could help quickly, will only take you a second as i'm sure it's easy! Firstly I just want to confirm that my method of taking a commnand line argument and passing it is correct. Secondly I want to know how to deal with argument that have …

Member Avatar for sknake
0
94
Member Avatar for stevetaylor15

I want to specify a global variable and read/write that variable in various contexts, do you guys know how I do this? because I want to read from various context I want to be able set this global var within the public static void Main(string[] args) and then read this, …

Member Avatar for sknake
0
138