April 2008 - Posts
Hi all, welcome back, When working with System.DirectoryServices.DirectoryEntry in .NET , we may change the password of the user with a code like the following ( C# ): user.Invoke("ChangePassword", new object[] { oldPassword, newPassword } But invoking
Read More...
Hi all, welcome back, Today I'll post a very straight forward sample which gets a list of all users in an Organizational Unit ( OU ) in Active Directory ( AD ) using VBScript : ' Get OU ' strOU = "OU=Users,DC=domain,DC=com" ' Create connection to AD '
Read More...
Hi, welcome back, The other day we faced a very similar issue to the one I commented on this post: RSACryptoServiceProvider fails when used with ASP.NET . We were getting a very similar exception: "System.Configuration.ConfigurationErrorsException: Failed
Read More...
Hi all, welcome back, The other day we were using CAPICOM in a client script run in Internet Explorer . We were trying to sign some string with the private key of a certificate we previously installed in the client machine, but we kept getting the error
Read More...
Hi all, welcome back, Today I'll share with you a couple of VBScript samples I developed the other day. They use WMI and its StdRegProv class to read the Windows registry . This sample will take a registry key and show its subkeys and the values within
Read More...
Hi all, welcome back, The other day I worked on an issue which happened when using WMI method Win32_Process.Create to spawn a process from an ASP.NET application. This method was returning an ERROR_NOT_ENOUGH_MEMORY (8) and the new process wasn't created.
Read More...
Hi all, welcome back, The other day I had the pleasure to collaborate with my colleague Raffaele Limosani on a CryptoAPI case in Windows Mobile . I don't give technical support to Windows Mobile, and I don't know the specifics on mobile development. He
Read More...