GetUserObjectInformation

jbullard

New member
Joined
May 1, 2005
Messages
3
Programming Experience
5-10
I've done this in c++ only. What exactly are you trying to do? To be honest, you might consider writing it into a c/c++ DLL, and then access the (simplified) functionality from VB.NET via interop. The desktop/windowstation code (and all the security code it also requires) is some of the ugliest code I've ever had to work with. If you want a reasonable starting point, google for "AddTheAceWindowstation", and there is an article on MSDN with a big example in c. And I'll warn you, I've found the example code to be enlightening, but not exactly perfect. It can be simplified in a few different ways.
 
Thanks for the reply but the problem I was having was when I tried using GetUserObjectInformation I was not getting anything back. I posted this question on MS Forums and within a matter of minutes one of the members their showed me the solution. If I had not found the solution in VB that was my next option. I just did not want to do that. Thanks for the reply.

Jason
 
Back
Top