Solved

Use VB app to log on to XP

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
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…

705 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