15,901,505 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by DOZDOZ (Top 15 by date)
DOZDOZ
17-May-13 5:19am
View
@ Garth J Lancaster, it is not running the application rather the process.start(module2) will just open the folder. But,what I want to achieve is when an item of the menu is clicked the module2 application will run.
DOZDOZ
15-May-13 11:04am
View
Be explicit please for I don't understand. Thanks for your concern.
DOZDOZ
29-Apr-13 9:23am
View
You are there! Thanks a million time for your encouragements and guidelines.
DOZDOZ
29-Apr-13 4:52am
View
Watch my code below and show me the error because I've used the If ... Else ... Endif statement and it is not given me what I want. Thanks for your patience and continued help. I mean without the password, I'll be getting "user not found". What do I do?
Protected Sub btnRegister_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnRegister.Click
Try
If getOrder() = False Then Return
Dim entry As New DirectoryEntry("LDAP://10.2.0.231")
entry.Username = txtUsername.Text + "@gov.net"
entry.Password = txtPassword.Text
Dim searcher As New DirectorySearcher("(&(objectCategory=Person)(objectClass=User))")
searcher.SearchRoot = entry
searcher.PropertiesToLoad.Add("cn")
' searcher.PropertiesToLoad.Add("Mail")
Dim result As SearchResult
searcher.Filter = "(mail=FIRS\" & txtEmail.Text & "@gov.net)"
result = searcher.FindOne()
If result Is Nothing Then
lblMsg.Text = "Username not found!"
Else
Dim sql As String = "INSERT INTO Table (Role,Username,Unit,Rank) VALUES ( '" & _
ddlRole.Text & "','" & txtUsername.Text.Replace("'", "''") & "','" & _ ddlUnit.Text & "','" & ddlRank.Text & "')"
Dim gentool As New functions
If gentool.ExecuteDatabase(sql) = True Then
lblMsg.Text = "Registered successfully"
goClear()
Else
lblMsg.Text = "User already exists"
End If
End If
Catch ex As Exception
' lblMsg.Text = "Either e-mail or password or both is/are not in the AD" 'ex.Message
End Try
End Sub
DOZDOZ
26-Apr-13 3:37am
View
Dave, please tell me where because I've tried but to no avail. Looking forward to recieving your help. It is holding me for two weeks now.
DOZDOZ
25-Apr-13 4:24am
View
Not so hard to understand but so hard for me to implement.
DOZDOZ
23-Apr-13 17:16pm
View
If their account doesn't exist in AD I don't register them. My concern is that without the password in the search, it will be registering everything.
I'm finding it difficult dear.
DOZDOZ
23-Apr-13 9:03am
View
Without their password, the application will be registering even those that are not in the AD. And that is my problem.
DOZDOZ
23-Apr-13 3:35am
View
Note: Not all the people in the AD will be granted access to the application. So, I want to go to AD to check if the person is in AD before registering the person in the application DB.
Thanks.
DOZDOZ
23-Apr-13 0:09am
View
I want to go to AD before adding the new user to the DB. Thanks for your patience to understand me.
Looking forward for your assistance. Please, look at that my code or think of possible way(s) to actualize that without requesting for the new user's password.
DOZDOZ
22-Apr-13 11:14am
View
if I remove the password field (textbox) on the registration interface, the code will no longer authenticate and validate users against AD. Meaning that the user must provide his/her password, which the client don't want.
DOZDOZ
22-Apr-13 10:20am
View
I'm authenticating against AD and equally validating the user credentials agaisnt the AD. My problem is that I want to register a user without requesting for his/her password on the form.
DOZDOZ
19-Apr-13 10:12am
View
Hello Dave Kreskowiak,
Thanks for having time for this my issue.
But the point is that the client still want me to register user without requesting for his/her password. Please, I therefore request for more contribution to enable me actualize this feature.
DOZDOZ
17-Apr-13 8:16am
View
@ Solution 2, please can you zip/compress "Pro VB 2010 and the .NET 4.0 Platform" book for me. Send it to me through dozdotcom@yahoo.com. The truth is that I don't have money to buy it.
Thanks for being there.
DOZDOZ
16-Apr-13 10:22am
View
@ Kschuler, thanks for your interest in my problem even though I've solved it myself. Thanks for being there to carry beginners like me along.
Show More