Click here to Skip to main content
15,925,661 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: DataGrid ParentRow Pin
Kevin Nicol24-Nov-06 9:43
Kevin Nicol24-Nov-06 9:43 
GeneralRe: DataGrid ParentRow Pin
hlortie24-Nov-06 9:56
hlortie24-Nov-06 9:56 
QuestionCrystal Repot Pin
rickki24-Nov-06 3:26
rickki24-Nov-06 3:26 
QuestionHow to use control collection Pin
Rmesh24-Nov-06 2:53
Rmesh24-Nov-06 2:53 
AnswerRe: How to use control collection Pin
Johan Hakkesteegt24-Nov-06 3:41
Johan Hakkesteegt24-Nov-06 3:41 
GeneralRe: regarding form back color Pin
Rmesh25-Nov-06 4:12
Rmesh25-Nov-06 4:12 
AnswerRe: How to use control collection Pin
jsampsonPC24-Nov-06 3:45
jsampsonPC24-Nov-06 3:45 
QuestionHow to identify if the workstation is locked? Pin
Juvil John24-Nov-06 1:57
Juvil John24-Nov-06 1:57 
Project Objective:
Immitate MSN Messenger when Workstation is locked it sets status to away

Details:
I made a code to identify if the workstation is locked. using this
----------------------------------------------------------------------------------
Private Declare Sub LockWorkStation Lib "User32.dll" ()

Private Declare Function SwitchDesktop Lib "User32.dll" _
(ByVal hDesktop As Long) As Long

Private Declare Function OpenDesktop Lib "User32.dll" Alias "OpenDesktopA" _
(ByVal lpszDesktop As String, _
ByVal dwFlags As Long, _
ByVal fInherit As Boolean, _
ByVal dwDesiredAccess As Long) As Long
----------------------------------------------------------------------------------

it seems to work fine in VB6 but somehow doesnt work with VB.NET

I always got a warning when i pass parameters to the functions
----------------------------------------------------------------------------------
PInvokeStackImbalance was detected
Message: A call to PInvoke function 'CSC-RTMS!CSC_RTMS.frmClient::OpenDesktop' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention and parameters of the PInvoke signature match the target unmanaged signature.
----------------------------------------------------------------------------------

anyone have a solution to my problem?
AnswerRe: How to identify if the workstation is locked? Pin
Juvil John24-Nov-06 3:24
Juvil John24-Nov-06 3:24 
QuestionHow to know if a user inside a network is logged in Pin
Lebanese24-Nov-06 0:47
Lebanese24-Nov-06 0:47 
AnswerRe: How to know if a user inside a network is logged in Pin
Lebanese24-Nov-06 0:51
Lebanese24-Nov-06 0:51 
QuestionCD DATABASE Pin
mehmet00723-Nov-06 22:25
mehmet00723-Nov-06 22:25 
AnswerRe: CD DATABASE Pin
coolestCoder23-Nov-06 22:37
coolestCoder23-Nov-06 22:37 
AnswerRe: CD DATABASE Pin
Christian Graus23-Nov-06 22:40
protectorChristian Graus23-Nov-06 22:40 
AnswerRe: CD DATABASE Pin
coolestCoder24-Nov-06 19:17
coolestCoder24-Nov-06 19:17 
QuestionHOW TO SEARCH WORD/SENTENCE ON MULTIPLE HTML PAGES Pin
MARSHAX23-Nov-06 20:46
MARSHAX23-Nov-06 20:46 
AnswerRe: HOW TO SEARCH WORD/SENTENCE ON MULTIPLE HTML PAGES Pin
Christian Graus23-Nov-06 22:02
protectorChristian Graus23-Nov-06 22:02 
GeneralRe: HOW TO SEARCH WORD/SENTENCE ON MULTIPLE HTML PAGES Pin
Paul Conrad24-Nov-06 5:24
professionalPaul Conrad24-Nov-06 5:24 
Questionremote execution Pin
ingsgr01@gmail.com23-Nov-06 20:42
ingsgr01@gmail.com23-Nov-06 20:42 
AnswerRe: remote execution Pin
Paul Conrad24-Nov-06 15:34
professionalPaul Conrad24-Nov-06 15:34 
Questionhow to make crystal reports to show only one row Pin
Rmesh23-Nov-06 19:12
Rmesh23-Nov-06 19:12 
Questionhow can we display a back color of a form without using the tools in the toolbox Pin
tirumal123123-Nov-06 18:19
tirumal123123-Nov-06 18:19 
AnswerRe: how can we display a back color of a form without using the tools in the toolbox Pin
Guffa23-Nov-06 18:34
Guffa23-Nov-06 18:34 
QuestionIsIn function in VB.Net? Pin
StyleUK23-Nov-06 11:35
StyleUK23-Nov-06 11:35 
AnswerRe: IsIn function in VB.Net? Pin
Christian Graus23-Nov-06 15:43
protectorChristian Graus23-Nov-06 15:43 

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.