Jesse Evans wrote: Referring to this[^], what was the first SciFi book you read? If I can remember correctly, it was Rendezvous with Rama by Arthur C Clarke.....great book....and series.... Cheers, Miah
miahrugger
Posts
-
First Sci-Fi... -
Worst films everIt had a very surprise ending....I mean, who knew that the ship was actually going to sink...;P Miahrugger
-
Add a Computer DomainTry something like the following:
string domain = ...;
string newComputer = ...;
string groupName = ...;// Connect to AD and get the computer container object
DirectoryEntry deDomain = new DirectoryEntry("WinNT://" + domain);
DirectoryEntry deNewComputer = new DirectoryEntry("WinNT://" + domain + "/" + newComputer + ", computer");// Connect to the group container and add the computer object
DirectoryEntry deGrp = deDomain.Children.Find(groupName, "Group");
if (deGrp.Name != null)
deGrp.Invoke("Add", new Object[]{deNewComputer.Path.ToString()});
deGrp.CommitChanges(); -
reading remote machine registryYou can read from a remote registry using the following static method:
Microsoft.Win32.RegistryKey.OpenRemoteBaseKey(...)
However, according to the MSDN documentation, the following must be ensured: In order for a key to be opened remotely, both machines (the service, and client) must be running the remote registry service, and have remote administration enabled. Cheers, Miahrugger -
Which is your favorite programming language? And which is your least favorite?Favorites: Perl, C++, C# (I actually like this as an interpreted language :) ) Dislikes: FORTRAN (College class, and I hated every minute of it), Java (easy to program, but to dang slow!!) Cheers, Miahrugger