Click here to Skip to main content
15,914,905 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralStatically linking dependency assemblies Pin
softp_vc4-Aug-04 17:09
softp_vc4-Aug-04 17:09 
GeneralCheck/Uncheck Matrix Pin
Anonymous3-Aug-04 23:41
Anonymous3-Aug-04 23:41 
QuestionIntroductory reading? Pin
Johann Gerell3-Aug-04 23:23
Johann Gerell3-Aug-04 23:23 
AnswerRe: Introductory reading? Pin
Michael P Butler4-Aug-04 0:29
Michael P Butler4-Aug-04 0:29 
GeneralDeployment of documentation files Pin
mav.northwind3-Aug-04 0:52
mav.northwind3-Aug-04 0:52 
GeneralRe: Deployment of documentation files Pin
Eric Reynolds4-Aug-04 4:57
Eric Reynolds4-Aug-04 4:57 
GeneralRe: Deployment of documentation files Pin
mav.northwind5-Aug-04 9:05
mav.northwind5-Aug-04 9:05 
GeneralRetrieving data from GetUserObjectInformation to VB.net Pin
Andy Henderson2-Aug-04 8:16
Andy Henderson2-Aug-04 8:16 
From various sources I believe the declaration should be...

Declare Function GetUserObjectInformation Lib "User32" Alias "GetUserObjectInformationA" (ByVal hObj As Integer, ByVal nIndex As Integer, ByRef pvInfo As Object, ByVal nLength As Integer, ByRef lpnLengthNeeded As Integer) As Integer

However, I keep getting 'Specified OLE variant is invalid' when I try to call the routine. I've found various samples for using this call from C and even one from VB but none from VB.net. Does anyone know how I should be picking up the pvInfo parameter?

Here's what I'm doing now...

Dim InputDesktopName(256) As Byte
Dim InputDesktopNameLength As Integer
Dim UOI_Name As Integer = 2
Dim x As Integer
...
x = OpenInputDesktop(0, False, 0)
GetUserObjectInformation(x, UOI_Name, InputDesktopName(0), 256, InputDesktopNameLength)


It's returning InputDeskTopLength OK so I'm pretty sure I've got the pvInfo parameter wrong.

Andy Henderson
GeneralRe: Retrieving data from GetUserObjectInformation to VB.net Pin
Andy Henderson3-Aug-04 8:10
Andy Henderson3-Aug-04 8:10 
GeneralTesting ASP.NET WebForms Pin
kavithasomaraj2-Aug-04 7:47
kavithasomaraj2-Aug-04 7:47 
General.NET IE Addins Pin
Padgett Rowell1-Aug-04 5:56
Padgett Rowell1-Aug-04 5:56 
GeneralRe: .NET IE Addins Pin
Nick Parker2-Aug-04 3:55
protectorNick Parker2-Aug-04 3:55 
GeneralRe: .NET IE Addins Pin
Padgett Rowell2-Aug-04 18:47
Padgett Rowell2-Aug-04 18:47 
GeneralDll could not be loaded Pin
softp_vc30-Jul-04 17:18
softp_vc30-Jul-04 17:18 
GeneralRe: Dll could not be loaded Pin
Roger Wright31-Jul-04 4:53
professionalRoger Wright31-Jul-04 4:53 
GeneralRe: Dll could not be loaded Pin
softp_vc1-Aug-04 17:35
softp_vc1-Aug-04 17:35 
GeneralRe: Dll could not be loaded Pin
Roger Wright2-Aug-04 3:44
professionalRoger Wright2-Aug-04 3:44 
GeneralFun with compiler errors Pin
adonisv30-Jul-04 8:22
adonisv30-Jul-04 8:22 
GeneralRe: Fun with compiler errors Pin
Eric Reynolds4-Aug-04 5:04
Eric Reynolds4-Aug-04 5:04 
GeneralRe: Fun with compiler errors Pin
adonisv4-Aug-04 17:20
adonisv4-Aug-04 17:20 
GeneralRe: Fun with compiler errors Pin
adonisv11-Aug-04 11:59
adonisv11-Aug-04 11:59 
GeneralI dont get this compiler setting conflict! Pin
adonisv30-Jul-04 7:16
adonisv30-Jul-04 7:16 
GeneralRe: I dont get this compiler setting conflict! Pin
leppie30-Jul-04 8:06
leppie30-Jul-04 8:06 
GeneralRe: I dont get this compiler setting conflict! Pin
adonisv30-Jul-04 8:12
adonisv30-Jul-04 8:12 
GeneralNew features in .net 2 beta Pin
SirErugor30-Jul-04 5:22
SirErugor30-Jul-04 5:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.