I am working with the DirectoryServices.AccountManagement tools in VB.NET, specifically, finding a UserPrincipal, but I need to retrieve the Department field which that class does not offer. So I have implemented this extension class, which I found here. According to that post it was generated...
All I'm trying to do is get an 'open file' dialog to work. In XP it was the easiest thing in the world but in Windows 7 (64 bit) the old dialogs don't exist. From some googling I've found this can supposedly be done with BrowseForFolder which has an option to include browsing for files.
This...
I'm far from an expert in Javascript but I have done this before and it's usually pretty simple. Can a trained eye see what I've done wrong here? Nothing happens when I change the 'state' in the form.
<script language="javascript">
function newState()
{...
I'm hoping to get some help with the syntax for calling a function (provided by 3rd party software) that returns a boolean value.
This is the full extent of the documentation provided on the function by the third party.
f_validate_answer
FUNCTION f_validate_answer(p_pidm...
I can find a ton of information on using lp to print, and I need it for it's lpforms functionality. What I cannot find is what package I need to download to install it.
Is anyone familiar with this package?
We are setting up a new server and before we get too far we want to test a backup and restore. I don't have the tape drive in yet, so I backed the system up to the hard drive in a tar file (uncompressed.)
Now I want to restore it to a temp directory I've created just to make sure we can do that...
When this runs on my php page mysql returns an error "column image_data cannot be null". However, I can copy and paste the query from the output of 'echo $dbQuery' and run that directly on the mysql server and it accepts it with no problems.
I have also tried this without 'addslashes' but get...
I have a php page that uploads files into a mysql table. I need to be able to handle files up to 20MB. Initially, it would only take files up to 1MB, so I upped the global max_allowed_packet to 20MB (The current value shows 20,971,520)
Now, I can upload files up to 2 MB, but no larger.
Before...
I am new to Visual Studio 2008 (Professional) and I have a finished program that I am trying to publish. The one-click publishing thing works fine, but I want more control over the install (I want the program in Program Files, not the weird long path it goes in now, I want to give the user...
I am working with a Windows forms application that allows a user to open a file, which the program reads using a textreader object. I can't assign the text reader object to the file until the open file dialog completes, so I am unable to use the text reader object outside of the 'open file'...
I have installed Debian 5.0.4 (lenny) from the CD ISO (disk 1) onto a slightly older Dell desktop box, (2.8Ghz, 1GB ram, 2GB swap.)
Something is causing it to hang and I'm not Linux savvy enough to know where to begin troubleshooting. It takes forever and ever to load GNOME, and during that it...
I have no idea how to do that.
I am supposed to hash a string, along with a secret code (so i guess 2 strings) using the HMAC-SHA256 algorithm.
Any guidance on how to do this would appreciated.
I am working with this small script to MailEnable a user (no mailbox). The workstation has exchange management tools installed so cdoexm.dll is registered, but I'm having trouble calling MailEnable on the IMailRecipient interface.
strADsPath = "LDAP://domaincontroller/CN=username, OU=Users...
The webserver is Win 2003 running IIS 6.
I am working on an asp page to create user accounts in active directory. The accounts are getting created just fine but my CDO objects aren't working when I try to create the mailboxes.
Specifically, the line:
Set objMailbox =...
I am working on an asp page to create user accounts in active directory. The accounts are getting created just fine but my CDO objects aren't working when I try to create the mailboxes.
Specifically, the line:
Set objMailbox = CreateObject(CDOEXM.IMailboxStore)
generates the error:
Microsoft...
I have an ASP page that runs a bit slow so I need to display a 'processing you request' type message when the code begins to execute and then clear that and replace it with the desired information after the script is finished. I don't know how to do this properly.
I tried something like this...
I know there are a lot of examples available for sending e-mail from vbscript but they all seem to involve using an SMTP relay or creating an Outlook.Application object.
I can't use either of these methods. I simply want to us a CDO.Message object with an Exchange server on my domain.
I have...
Recently I ran a vbscript to delete about 1200 mailboxes from Exchange 2003. We do not wish to delete the network accounts, we just needed to get rid of their mailboxes. The problem is that they are all still listed in the Global Address List and we want them out of there.
Is there a simple...
the deleteMailbox command worked fine with Exchange 2000 in the code below. I haven't changed the script at all but doesn't work with Exchange 2003 and generates NO error. it behaves as if deletes the mailbox just fine but the mailboxes never actually go away. Is there a new method for 2003...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.