As babies smash on the keyboard, colored shapes, letters and numbers appear on the screen. Baby Smash will lock out the Windows Key, as well as Ctrl-Esc and Alt-Tab so your baby can’t get out of the application. Pressing ALT-F4 will exit the application and Shift-Ctrl-Alt-O brings up the options dialog. I’m always interested in [...]
8
2009
Baby Smash! by Scott Hanselman
16
2007
Launching and Monitoring External Programs from VB.NET Applications
With .NET things have gotten much simpler. The System.Diagnostics namespace exposes
a Process class that you can use to launch external programs. At the simplest level,
you can launch a new process with the shared Process.Start method, passing it either
the name of an executable file or a filename with an extension associated with an
executable application. For example, [...]
30
2007
Integrating Visio 2007 and Active Directory
Cool article that demonstrates several concepts in programming Visio 2007. This sample
uses a template, connects to Active Directory based on input from the user, dynamically
populates a drawing with user objects, dynamically fills in custom properties like
ldap path for each user object, displays different icons if a user is disabled or
locked out, and gives some right [...]
2
2006
How to add static items and results from data binding to a DropDownList control by using Visual Basic .NET
An example of mixing static items and databound items in a drop down list.
This article demonstrates how to add static items and data-bound items to a DropDownList
control. The sample in this article populates a DropDownList control with an initial
item.
How
to add static items and results from data binding to a DropDownList control by using
Visual Basic .NET.
3
2006
Get the creation date for users from Active Directory
This sample connects to active directory and retrieves the name and createTimeStamp
field for every user in a given OU or Container (and subcontainers). You will
need to change the ContainerPath variable to an appropriate value for your domain.
If you are binding to the builtin users container in Active Directory use a path like:
LDAP://CN=Users,DC=subdomain,DC=domain,DC=com
If you are binding [...]
15
2006
Code Sample: Retrieving all users in an OU
Using Directory Searcher. This sample shows how to get the results back quickly using
only the directorysearcher without binding to each individual directoryEntry. To do
this you must specify the properties you want to load before doing the search.
Dim searcher As DirectorySearcher
Dim results As SearchResultCollection
Dim searchRoot As New DirectoryEntry(“LDAP://CN=Users,DC=mytest,DC=whitworth,DC=org”)
searcher = New DirectorySearcher(searchRoot)
searcher.PropertiesToLoad.Add(“telephoneNumber”)
searcher.PropertiesToLoad.Add(“cn”)
searcher.Filter = “(&(objectClass=user)(objectCategory=person))”
results = searcher.FindAll
dim result [...]