Click here to Skip to main content
15,033,215 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Missing Controls After Office 2019 Installation Pin
Ken Kazinski18-Jul-21 3:09
professionalKen Kazinski18-Jul-21 3:09 
QuestionProject building Pin
Anthony Yawson10-Jul-21 23:59
MemberAnthony Yawson10-Jul-21 23:59 
GeneralRe: Project building Pin
Richard MacCutchan11-Jul-21 2:47
mveRichard MacCutchan11-Jul-21 2:47 
AnswerRe: Project building Pin
Dave Kreskowiak11-Jul-21 5:47
mveDave Kreskowiak11-Jul-21 5:47 
QuestionCaret problem Pin
Uchiha Yueh8-Jul-21 16:53
MemberUchiha Yueh8-Jul-21 16:53 
AnswerRe: Caret problem Pin
Dave Kreskowiak8-Jul-21 17:08
mveDave Kreskowiak8-Jul-21 17:08 
GeneralRe: Caret problem Pin
Uchiha Yueh8-Jul-21 22:03
MemberUchiha Yueh8-Jul-21 22:03 
GeneralRe: Caret problem Pin
Dave Kreskowiak9-Jul-21 3:54
mveDave Kreskowiak9-Jul-21 3:54 
OK, if you're looking to authenticate the credentials provided by the user of your app, it's much simpler to do this:
VB.NET
Imports System.DirectoryServices.AccountManagement
...
    Dim isValid As Boolean

    Using (pc As PrincipalContext = New PrincipalContext(ContextType.Domain, "YourDomainName"))
        isValid = pc.ValidateCredentials("username", "password");
    End Using

But, the ^ character is legal in all cases in Active Directory. It doesn't need to be escaped at all.

GeneralRe: Caret problem Pin
Uchiha Yueh10-Jul-21 0:14
MemberUchiha Yueh10-Jul-21 0:14 
GeneralRe: Caret problem Pin
Dave Kreskowiak10-Jul-21 5:15
mveDave Kreskowiak10-Jul-21 5:15 
GeneralRe: Caret problem Pin
Uchiha Yueh10-Jul-21 20:35
MemberUchiha Yueh10-Jul-21 20:35 
GeneralRe: Caret problem Pin
Richard MacCutchan10-Jul-21 22:13
mveRichard MacCutchan10-Jul-21 22:13 
GeneralRe: Caret problem Pin
Dave Kreskowiak11-Jul-21 5:41
mveDave Kreskowiak11-Jul-21 5:41 
GeneralRe: Caret problem Pin
Richard MacCutchan11-Jul-21 5:44
mveRichard MacCutchan11-Jul-21 5:44 
GeneralRe: Caret problem Pin
Dave Kreskowiak11-Jul-21 5:45
mveDave Kreskowiak11-Jul-21 5:45 
GeneralRe: Caret problem Pin
Jacob Ethan 202126-Jul-21 0:12
MemberJacob Ethan 202126-Jul-21 0:12 
QuestionRe: Caret problem Pin
CHill608-Jul-21 22:06
mveCHill608-Jul-21 22:06 
AnswerRe: Caret problem Pin
Richard MacCutchan10-Jul-21 22:14
mveRichard MacCutchan10-Jul-21 22:14 
GeneralRe: Caret problem Pin
Uchiha Yueh11-Jul-21 1:16
MemberUchiha Yueh11-Jul-21 1:16 
GeneralRe: Caret problem Pin
Richard MacCutchan11-Jul-21 2:25
mveRichard MacCutchan11-Jul-21 2:25 
GeneralRe: Caret problem Pin
Dave Kreskowiak11-Jul-21 5:43
mveDave Kreskowiak11-Jul-21 5:43 
Questionretrieve the group header and descriptions(top and bottom) Pin
JR2127-Jun-21 23:48
MemberJR2127-Jun-21 23:48 
QuestionRe: retrieve the group header and descriptions(top and bottom) Pin
JR21217-Jun-21 19:45
MemberJR21217-Jun-21 19:45 
AnswerRe: retrieve the group header and descriptions(top and bottom) Pin
Richard MacCutchan17-Jun-21 21:31
mveRichard MacCutchan17-Jun-21 21:31 
GeneralRe: retrieve the group header and descriptions(top and bottom) Pin
JR21217-Jun-21 23:20
MemberJR21217-Jun-21 23:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.