Solved

Use VB app to log on to XP

Posted on 2003-11-13
3
243 Views
Last Modified: 2010-05-01
Howdy all... I'm trying to setup a VB app to run as a service on an XP box and log the user in to XP. Scenario: User turns on XP box. XP comes up with standard CTRL-ALT-DEL window. VB service starts. User inserts USB keychain drive. VB app reads key file off USB drive and logs user in.

I have everything down except how to get my VB app to be able to log the user in. I don't think the LogonUser API is what I'm after.

Thanks!
0
Comment
Question by:ishmell
3 Comments
 
LVL 28

Expert Comment

by:vinnyd79
ID: 9745091
0
 
LVL 1

Accepted Solution

by:
RocketMan801 earned 250 total points
ID: 9749278
if, what u want is to autenficate a user, depending on the USB device, i think u have to do a custom GINA (Graphical Identification 'N' Authentication) DLL, and u cant do it in vb.

more info here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/security/security/gina.asp
0
 

Author Comment

by:ishmell
ID: 9749656
Thanks! Looks like the GINA is what I'm after. Now... to dust off my DLL programming skills.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Best way to parse out a json string in VB6? 10 178
Copy a row 12 62
How to read File Date Created using VB6 8 42
VB6 - Scroll Mouse wheel on Picturebox 13 45
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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 process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

825 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