Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get user network id and password
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00842149
Message ID:
00843538
Views:
23
Hi Viv,

As I found Microsoft suggests CreateProcessWithLogonW to be used with Win2000/XP, and LogonUser + CreateProcessAsUser with WinNT.

Yesterday I finished a sample code with CreateProcessWithLogonW -- no drawing problems. Actually that was a direct VB to VFP translation of this code:

HOWTO: Start a Process as Another User from Visual Basic
http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B285879

The link appeared to be quite useful.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform