Solved

Use VB app to log on to XP

Posted on 2003-11-13
3
244 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
[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
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
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…
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…

756 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