Click here to Skip to main content
16,010,351 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: How can i use visual basic for application... Pin
koolprasad20032-Jun-07 2:17
professionalkoolprasad20032-Jun-07 2:17 
QuestionHow to integrate Crystal report XI with .net 2003 ? Pin
Jeneesh K. Velayudhan1-Jun-07 19:48
Jeneesh K. Velayudhan1-Jun-07 19:48 
Questionregistry sub keys Pin
Sonia Gupta1-Jun-07 19:00
Sonia Gupta1-Jun-07 19:00 
Questioncommit transaction Pin
kvijayajyothy1-Jun-07 18:34
kvijayajyothy1-Jun-07 18:34 
AnswerRe: commit transaction Pin
Sonia Gupta1-Jun-07 19:27
Sonia Gupta1-Jun-07 19:27 
QuestionHow can i log off my pc using vb.net.... Pin
koolprasad20031-Jun-07 18:20
professionalkoolprasad20031-Jun-07 18:20 
AnswerRe: How can i log off my pc using vb.net.... Pin
Sathesh Sakthivel1-Jun-07 18:31
Sathesh Sakthivel1-Jun-07 18:31 
QuestionRe: How can i log off my pc using vb.net.... Pin
Sonia Gupta1-Jun-07 20:26
Sonia Gupta1-Jun-07 20:26 
Hi Satips,
I am using the following chunk of code , which u provided.
Const WM_ENDSESSION As Integer = &H16<br />
Dim osexit As Boolean = False<br />
Protected Overrides Sub WndProc(ByRef e As Message)<br />
If (e.Msg = WM_ENDSESSION) Then<br />
osexit = True<br />
Application.Exit()<br />
End If<br />
MyBaseProc(e)<br />
End Sub

i had two windows opened with my project in which i am testing ur code(two internet explorer windows)
Control first goes to this function even before the form load.
This function executes consecutively three times
Now the problem is
After comleting the execution three times , it gives the following error
Error creating the window Handle.
So Where the problem can be ?
AnswerRe: How can i log off my pc using vb.net.... Pin
Sathesh Sakthivel2-Jun-07 3:41
Sathesh Sakthivel2-Jun-07 3:41 
GeneralRe: How can i log off my pc using vb.net.... Pin
koolprasad20031-Jun-07 21:04
professionalkoolprasad20031-Jun-07 21:04 
GeneralRe: How can i log off my pc using vb.net.... Pin
Sathesh Sakthivel2-Jun-07 2:20
Sathesh Sakthivel2-Jun-07 2:20 
QuestionSome advice please? [modified] Pin
Visual Very Basic1-Jun-07 8:44
Visual Very Basic1-Jun-07 8:44 
AnswerRe: Some advice please? Pin
Paul Conrad1-Jun-07 10:19
professionalPaul Conrad1-Jun-07 10:19 
AnswerRe: Some advice please? Pin
Christian Graus1-Jun-07 10:34
protectorChristian Graus1-Jun-07 10:34 
GeneralRe: Some advice please? Pin
Visual Very Basic1-Jun-07 20:47
Visual Very Basic1-Jun-07 20:47 
GeneralRe: Some advice please? Pin
Christian Graus1-Jun-07 21:03
protectorChristian Graus1-Jun-07 21:03 
GeneralRe: Some advice please? Pin
Visual Very Basic1-Jun-07 21:41
Visual Very Basic1-Jun-07 21:41 
GeneralRe: Some advice please? Pin
Christian Graus1-Jun-07 23:33
protectorChristian Graus1-Jun-07 23:33 
AnswerRe: Some advice please? Pin
Sathesh Sakthivel1-Jun-07 15:20
Sathesh Sakthivel1-Jun-07 15:20 
QuestionError: Option Strict On disallows late binding. Pin
udaykatakam1-Jun-07 7:24
udaykatakam1-Jun-07 7:24 
AnswerRe: Error: Option Strict On disallows late binding. Pin
kubben1-Jun-07 7:54
kubben1-Jun-07 7:54 
QuestionVB.net Pin
rahulreghu_20071-Jun-07 5:38
rahulreghu_20071-Jun-07 5:38 
AnswerRe: VB.net Pin
leckey1-Jun-07 5:49
leckey1-Jun-07 5:49 
AnswerRe: VB.net Pin
Sathesh Sakthivel1-Jun-07 6:10
Sathesh Sakthivel1-Jun-07 6:10 
AnswerRe: VB.net Pin
Christian Graus1-Jun-07 10:35
protectorChristian Graus1-Jun-07 10:35 

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.