[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

NT DOMAIN password validation in VB

Posted on 2003-11-18
4
Medium Priority
?
213 Views
Last Modified: 2010-05-01
This is a two part question, and the points may be split as such, but here goes.

1.  I'd like to beable to have my VB app present a user with a login prompt which will control their access level.  I'd like this prompt box to validate the username and password against our Domain Controller directly.

2. I'm using a string like...

db.Open "PROVIDER=MSDASQL;dsn=GP_7;uid=booter;pwd=xXxXxXx;database=dynamics;"

...to open the database connection, but that xXxXxXx password might change in the future.  I'd like to have a form in the program to read and write that Password in the .exe file itself.  Thus a self-modifying .exe.  I know this is not the orthodox method, and I know how to do it in the registry and in a text file, but I want to know if I CAN do it this way, and if having a fixed length String would make it any easier?
This way the actual location of the code in the .exe wouldn't change even if modifications to the file were to happen...

Thanks in advance.

-Scott
0
Comment
Question by:Scott_V
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 28

Accepted Solution

by:
vinnyd79 earned 500 total points
ID: 9774450
0
 
LVL 28

Assisted Solution

by:vinnyd79
vinnyd79 earned 500 total points
ID: 9774458
0
 
LVL 1

Author Comment

by:Scott_V
ID: 10165602
Yeah, you're right.  Sorry about that.  Just hoping for more but the comments I did get were very helpful and deserving of the points...

-Scott
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question