Solved

NT DOMAIN password validation in VB

Posted on 2003-11-18
4
206 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
  • 2
4 Comments
 
LVL 28

Accepted Solution

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

Assisted Solution

by:vinnyd79
vinnyd79 earned 125 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

809 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