We are linking a Visual Basic 6 application to Active Directory. Although it works fine on my desktop, it doesn't work on other computers (standalone or networked).
I need the attached Vb6 test application fixed, so that it works with Active Directory. The application needs to checks the users credentials are correct and they are not impersonating the guest account. Then it needs to check if they are in one of two windows user groups. A lot of the code is done, but obviously a problem somewhere.
I need the final code for linking to Active Directory to be written in C# (.NET). The main test application though needs to be in Visual Basic 6, as this is what the real application is currently written in.