Monday, July 19, 2010

Reading List July 2010

A few things that I found interesting tonight...



Wednesday, September 2, 2009

How To Browse Folders with FolderBrowserDialog and Visual Basic 2005 - by www.getdotnetcode.com

http://www.getdotnetcode.com/nexDotNet/030007HowToFolderBrowserVB2005/HowToFolderBrowserVB2005.htm

Here is the code you can just drop in an application by the "Button Click" This was perfect for what we needed. Thank you "http://www.getdotnetcode.com/"!


Private Sub BrowseFoldersButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BrowseFoldersButton.Click

' Declare a variable named theFolderBrowser of type FolderBrowserDialog.
Dim theFolderBrowser As New FolderBrowserDialog

' Set theFolderBrowser object's Description property to
' give the user instructions.
theFolderBrowser.Description = "Please select a folder for the download."

' Set theFolderBrowser object's ShowNewFolder property to false when
' the a FolderBrowserDialog is to be used only for selecting an existing folder.
theFolderBrowser.ShowNewFolderButton = False

' Optionally set the RootFolder and SelectedPath properties to
' control which folder will be selected when browsing begings
' and to make it the selected folder.
' For this example start browsing in the Desktop folder.
theFolderBrowser.RootFolder = System.Environment.SpecialFolder.Desktop
' Default theFolderBrowserDialog object's SelectedPath property to the path to the Desktop folder.
theFolderBrowser.SelectedPath = My.Computer.FileSystem.SpecialDirectories.Desktop

' If the user clicks theFolderBrowser's OK button..
If theFolderBrowser.ShowDialog = Windows.Forms.DialogResult.OK Then
' Set the FolderChoiceTextBox's Text to theFolderBrowserDialog's
' SelectedPath property.
Me.FolderChoiceTextBox.Text = theFolderBrowser.SelectedPath
End If

End Sub

Tuesday, July 28, 2009

MS Exam 70-620 Notes 001 - Hardware and Versions [Vista]

As staff is doing the 70-620 training for Windows Vista here are a few good items that they felt we should spotlight.

Run the "Upgrade Advisor" it will help determine if:
  • The processor is at least 800MHz and match the version with the 32bit and 64bit processor
  • That the RAM is the minium 512MB or 1GB reccommended 1GB is met.
  • Confirms that the Hard Disk Drive is 20GB for the estimated 7GB installation size.
  • For the Graphics card with "Aero" you will need

    - DirectX 9 abilty
    - A WDDM Driver
    - Hardward Pixel SHader 2.0
    - 32 bits per pixel
    - 128MB graphics memory

Pick the right edition of Windows Vista (highlights)

  • "Starter" has No Domain, No Aero GUI, No Tablet, No Media Center, No inbound network, No Parental Controls, and only 3 applications can run at once, No Full Drive Encryption.
  • "Home Basic" has No Domain, No Aero GUI, No Tablet, No Media Center, No inbound network, No Full Drive Encryption.
  • "Home Premium" has No Domain, No Full Drive Encryption.
  • "Business" has No Media Center, No Full Drive Encryption.
  • "Enterprise" has No Media Center. Only purchased via SA or EA agreements.
  • "Ultimate" No limitations.

Tuesday, July 21, 2009

Making VB Connection to Active Directory [Code]

"Making a Connection" to a Directory is simple. Reading information is simple. Writting the information is harder. Those are not as key know what to get and what to do with it.
Here are the lines I use to read Active Directory and that should help in setting the stage for a good start.

Code

Imports System.DirectoryServices
Imports System.Diagnostics
Dim ad001 As New DirectoryEntry

("LDAP://domainname.com/cn=TheReadAccnt,ou=accounts,dc=domainname,dc=com", "AdminAccnt", "ThePassword")

Dim adDescrpt001 As String = ad001.Properties("description").Value.ToString()