?
Solved

Use VB app to log on to XP

Posted on 2003-11-13
3
Medium Priority
?
249 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 1000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

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…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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…
Suggested Courses

800 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