<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3320037355810146832</id><updated>2024-09-09T15:36:15.852-07:00</updated><title type='text'>Duncan&#39;s VB.Net Applications</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://sluijter.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3320037355810146832/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://sluijter.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Duncan Sluijter</name><uri>http://www.blogger.com/profile/09452912279458107272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3320037355810146832.post-7277673644416206861</id><published>2008-03-06T14:58:00.000-08:00</published><updated>2009-07-17T13:49:24.737-07:00</updated><title type='text'></title><content type='html'>&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;User properties&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJR0brkn1ahqwdmZjs138sfHIwcQX4xlJDvJedNmfX4zm0sGgQkYrd5RsR4XuxayEBYsh2q1AkMSVsU8MSlqN3v3ZszfocJGQdkhIbmltFCKRECC9B4uvD_DpKllFTp7GlnwLIeCBmHpY/s1600-h/GG.PNG&quot;&gt;&lt;img style=&quot;margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 355px; height: 400px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJR0brkn1ahqwdmZjs138sfHIwcQX4xlJDvJedNmfX4zm0sGgQkYrd5RsR4XuxayEBYsh2q1AkMSVsU8MSlqN3v3ZszfocJGQdkhIbmltFCKRECC9B4uvD_DpKllFTp7GlnwLIeCBmHpY/s400/GG.PNG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5359533937802045826&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;Change users Distinguished Name / Displayname according to naming-convention via a regular expression, Initials, First name, Lastname (also according to naming-convention), Gender, ProfilePath, HomeDirectory, Quota, Exchange quota and log to Excel/File.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;A staggering 10.000 users accounts changes are done with my tool every year. In one organization only!&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;&lt;br /&gt;Added the functionality to change the username &lt;/span&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;according to naming-convention via a regular expression and automatically change all variables that are affected by that action; Change &lt;/span&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;ProfilePath&lt;/span&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;HomeDirectory&lt;/span&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;, change (terminal) &lt;/span&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;ProfilePath&lt;/span&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;, change &lt;/span&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;HomeDirectory&lt;/span&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt; and add e-mail addresses in the Active Directory.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;&lt;br /&gt;Search option is also implemented works automatically if there are more than one hits on a search. You can search on parts of or complete usernames, displaynames and msn numbers!&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhE3PC4aok-NxEhZ7tGQtxSdI64IRS23rqUkPfIwWTZDP8KZno0hBkNsRyLMRKn0x_Lafl4GjoF7MSeJwzDvxhHOLiaN7LJdIuseA2cvWg2ibK6n7UopuTr_KiHytfBb_vV7OMxmzc96ek/s1600-h/SS.jpg&quot;&gt;&lt;img style=&quot;margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 335px; height: 400px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhE3PC4aok-NxEhZ7tGQtxSdI64IRS23rqUkPfIwWTZDP8KZno0hBkNsRyLMRKn0x_Lafl4GjoF7MSeJwzDvxhHOLiaN7LJdIuseA2cvWg2ibK6n7UopuTr_KiHytfBb_vV7OMxmzc96ek/s400/SS.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5356452944605243410&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;Programmed in VB.net 2005 Using ActiveDS*, tsuserexlib, System.Collections, System.Diagnostics, System.DirectoryServices, System.Drawing, System.IO, System.Management, System.Net, System.Net.Mail, System.Net.Mime, System.Management, System.Security, System.Text.Regularexpressions, System.Threading&lt;/span&gt; .&lt;br /&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;&lt;br /&gt;Create Users&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjF7bgdzlY0eslIk14ltjgXh_V-6wFFgvBGMqWaYXp096KgHIyQcqmUDABCG8EsX4Vz9aIxKYBg8S-hA0Za0ser6Tlw8z1N2J3HnpzGYAYHdqwzqqKxDkpeLKONZpnRniaWM8S_RuiCqVE/s1600-h/GA.JPG&quot;&gt;&lt;img style=&quot;margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 400px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjF7bgdzlY0eslIk14ltjgXh_V-6wFFgvBGMqWaYXp096KgHIyQcqmUDABCG8EsX4Vz9aIxKYBg8S-hA0Za0ser6Tlw8z1N2J3HnpzGYAYHdqwzqqKxDkpeLKONZpnRniaWM8S_RuiCqVE/s400/GA.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5356455345495148226&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;Create users in multiple Windows Domains with mailbox, home folder, profile folder, Exchange mailbox, e-mail aliases and copy user Active Directory Group Memberships. Plus quota and Exchange quota and log to e-mail and HTML file.&lt;br /&gt;&lt;br /&gt;A staggering 1750 users accounts are created with my tool every year. In one organization only!&lt;br /&gt;&lt;br /&gt;Programmed in VB.net 2005 using ActiveDS*, CDOEXM, System.Collections, System.DirectoryServices, System.IO, System.Management, System.Net, System.Net.Mail, System.Net.Mime, System.Threading, System.Security, System.Security.AccessControl, System.Security.Principal, System.ComponentModel, System.Text.RegularExpressions&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;Image Renamer&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;Renames all jpg files in a folder and if selected all subfolders to the jpg create-date. For better viewing in Explorer and chronological view. Will also create an option to resize pictures.&lt;br /&gt;&lt;br /&gt;Programmed in VB.net 2008 using WIA COM&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;Duncan&#39;s Killer&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;An application I&#39;ve written to kill a process on a remote or local computer. Just fill in the computername and the process to kill.&lt;br /&gt;&lt;br /&gt;Programmed in VB.net 2005 &lt;/span&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;using WMI/Management Class&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;Active Directory Queries&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;Different applications for disabling and destroying accounts. Including profile folders and personal folders. Cleanup of over 2500 non-used user accounts. Removal based on official hospital policy.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt; VB.net 2005 using ActiveDs*, System, System.IO, System.DirectoryServices, System.Management, System.Net, System.Net.Mail, System.Net.Mime, System.Threading,  System.ComponentModel.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;&lt;br /&gt;&lt;br /&gt;*ActiveDS is needed to convert the ActiveDS.LargeInteger (64-bit) to Int64. Needed for reading dates in Active Directoy. Time and date are stored in as the total of nanoseconds from 01-01-1601.&lt;br /&gt;&lt;br /&gt;All Option Explicit and Option Strict programming. For faster applications and access time, build time, runtime time&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;Duncan&#39;s Key Reader and Changer&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;I created this application because I lost my Windows XP key. And being a programmer getting it from the registry as a base24 encrypted key wasn&#39;t hard. However getting it converted to a genuine key was a little harder. Now it can read and change Windows 2000, Windows XP Home and Professional and Windows Vista Home basic, Home Premium, Business and Ultimate Product Keys. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;font-family:verdana;&quot; &gt;If you have an OEM version you can&#39;t use the key generated from this program. In this case you MUST use the Product Key provided on the computer case. Read the disclaimer carefully!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;I found out that after Office 2000 the registration key was also stored as a base24 encrypted key. This application can read the key but Microsoft has not yet created a way to change this key. I will test removing the key and see how Windows responds. For now reading the key is paramount.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;In the picture below you can see the application. Of course with edited dummy keys. Completely created in VB.net 2008&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;a style=&quot;font-family: verdana;&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhikbYDE3K9YdlDcFjrySCMK54xL2jNpfh6w95cVmjlyZtlPuhJNNNV0_udRE5zwWmO26ZbtKYBT8kHUz6U3SGDdKZdwU_D64eEhkVQYVE2yFXTEWuO10B6u2hwJEE5jLD5hIx-5cPncgk/s1600-h/DKRC.bmp&quot;&gt;&lt;img style=&quot;margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 358px; height: 415px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhikbYDE3K9YdlDcFjrySCMK54xL2jNpfh6w95cVmjlyZtlPuhJNNNV0_udRE5zwWmO26ZbtKYBT8kHUz6U3SGDdKZdwU_D64eEhkVQYVE2yFXTEWuO10B6u2hwJEE5jLD5hIx-5cPncgk/s400/DKRC.bmp&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5174769035598490178&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;___________________________________________________________________&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sluijter.blogspot.com/feeds/7277673644416206861/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sluijter.blogspot.com/2008/03/duncans-key-reader-and-changer-i.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3320037355810146832/posts/default/7277673644416206861'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3320037355810146832/posts/default/7277673644416206861'/><link rel='alternate' type='text/html' href='http://sluijter.blogspot.com/2008/03/duncans-key-reader-and-changer-i.html' title=''/><author><name>Duncan Sluijter</name><uri>http://www.blogger.com/profile/09452912279458107272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJR0brkn1ahqwdmZjs138sfHIwcQX4xlJDvJedNmfX4zm0sGgQkYrd5RsR4XuxayEBYsh2q1AkMSVsU8MSlqN3v3ZszfocJGQdkhIbmltFCKRECC9B4uvD_DpKllFTp7GlnwLIeCBmHpY/s72-c/GG.PNG" height="72" width="72"/><thr:total>0</thr:total></entry></feed>