Click here to Skip to main content
15,896,912 members

Comments by Alek Massey (Top 32 by date)

Alek Massey 21-Dec-18 11:23am View    
from Working with Active Directory in VB.NET[^]

'' <summary>
''' Method to set a user's password
''' <param name="dEntry">DirectoryEntry to use
''' <param name="sPassword">Password for the new user
Private Shared Sub SetPassword(ByVal dEntry As DirectoryEntry, _
ByVal sPassword As String)
Dim oPassword As Object() = New Object() {sPassword}
Dim ret As Object = dEntry.Invoke("SetPassword", oPassword)
dEntry.CommitChanges()
End Sub
Alek Massey 13-Dec-18 12:33pm View    
You want asterisks in the datatable? I doubt the assignment was literal, more of a layout suggestion. As in, show a separation between header and data. Datagrids have this by default.
Alek Massey 13-Dec-18 10:04am View    
Why use autoincrement when the some SQLlite websites advises against it? SQLite AUTOINCREMENT : Why You Should Avoid Using It[^]

The default value in SQLlite for a primary key is a one higher than the highest value for that column in the table. Unless you include a value for the column when inserting.
Alek Massey 10-Dec-18 14:00pm View    
Deleted
Empty string <> Null string.
Alek Massey 28-Nov-18 11:42am View    
Thanks, I guess I had VB on the brain, fixed.