Click here to Skip to main content
15,888,908 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: how to insert, update, delete, and add record. Pin
Kschuler4-Sep-08 11:34
Kschuler4-Sep-08 11:34 
QuestionWinForm paint problem: other application windows displayed behind VB form are "bleeding" through in VB.Net 2005? Pin
Jon_Boy4-Sep-08 9:19
Jon_Boy4-Sep-08 9:19 
AnswerRe: WinForm paint problem: other application windows displayed behind VB form are "bleeding" through in VB.Net 2005? Pin
Paul Conrad4-Sep-08 11:10
professionalPaul Conrad4-Sep-08 11:10 
AnswerRe: WinForm paint problem: other application windows displayed behind VB form are "bleeding" through in VB.Net 2005? Pin
Mycroft Holmes4-Sep-08 15:15
professionalMycroft Holmes4-Sep-08 15:15 
GeneralRe: WinForm paint problem: other application windows displayed behind VB form are "bleeding" through in VB.Net 2005? Pin
Jon_Boy5-Sep-08 1:46
Jon_Boy5-Sep-08 1:46 
GeneralRe: WinForm paint problem: other application windows displayed behind VB form are "bleeding" through in VB.Net 2005? Pin
Jon_Boy5-Sep-08 2:38
Jon_Boy5-Sep-08 2:38 
GeneralRe: WinForm paint problem: other application windows displayed behind VB form are "bleeding" through in VB.Net 2005? Pin
Mycroft Holmes5-Sep-08 13:27
professionalMycroft Holmes5-Sep-08 13:27 
QuestionMaking a PC Shutdown Dialog for my OS I am building... Pin
christopher1214-Sep-08 8:42
christopher1214-Sep-08 8:42 
Heres the code, what do i have to Make a Shutdown Dialog That will go into standby as well (Command1 is Standby, command2 is shut down and command 3 is restart (Or... reboot). please Help, any help will be appriciated




' SHUT DOWN AND RESTART IN VB6
    Const EWX_LogOff As Long = 0
    Const EWX_SHUTDOWN = 1
    Const EWX_REBOOT = 2
    Const EWX_FORCE = 4
    Private Declare Function ExitWindows _
            Lib "User32" Alias "ExitWindowsEx" _
            (ByVal dwOptions As Long, ByVal dwReserved As Long) As Long


    Private Sub Command1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
       
    Private Sub Command2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Command2.Click
        ExitWindows(EWX_SHUTDOWN, &HFFFFFFFF)

    End Sub


    Private Sub Command3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Command3.Click
        ExitWindows(EWX_REBOOT, &HFFFFFFFF)
    End Sub


    End Sub
End Class

AnswerRe: Making a PC Shutdown Dialog for my OS I am building... Pin
jzonthemtn4-Sep-08 10:47
jzonthemtn4-Sep-08 10:47 
GeneralRe: Making a PC Shutdown Dialog for my OS I am building... Pin
christopher1215-Sep-08 4:45
christopher1215-Sep-08 4:45 
GeneralRe: Making a PC Shutdown Dialog for my OS I am building... Pin
MidwestLimey5-Sep-08 5:29
professionalMidwestLimey5-Sep-08 5:29 
JokeRe: Making a PC Shutdown Dialog for my OS I am building... Pin
Paul Conrad5-Sep-08 5:42
professionalPaul Conrad5-Sep-08 5:42 
GeneralRe: Making a PC Shutdown Dialog for my OS I am building... Pin
MidwestLimey5-Sep-08 7:26
professionalMidwestLimey5-Sep-08 7:26 
GeneralRe: Making a PC Shutdown Dialog for my OS I am building... Pin
christopher1216-Sep-08 4:52
christopher1216-Sep-08 4:52 
GeneralRe: Making a PC Shutdown Dialog for my OS I am building... Pin
MidwestLimey6-Sep-08 7:37
professionalMidwestLimey6-Sep-08 7:37 
Questionmultiline property of infragistics textbox Pin
Nilish4-Sep-08 6:36
Nilish4-Sep-08 6:36 
AnswerRe: multiline property of infragistics textbox Pin
Dave Kreskowiak4-Sep-08 6:58
mveDave Kreskowiak4-Sep-08 6:58 
QuestionSmart Device problem Pin
Bongumusa4-Sep-08 5:44
Bongumusa4-Sep-08 5:44 
AnswerRe: Smart Device problem Pin
Blue_Boy4-Sep-08 5:45
Blue_Boy4-Sep-08 5:45 
AnswerRe: Smart Device problem Pin
Paul Conrad4-Sep-08 11:10
professionalPaul Conrad4-Sep-08 11:10 
GeneralRe: Smart Device problem Pin
Bongumusa5-Sep-08 3:29
Bongumusa5-Sep-08 3:29 
AnswerRe: Smart Device problem Pin
Steven J Jowett4-Sep-08 12:47
Steven J Jowett4-Sep-08 12:47 
QuestionVB.Net Pin
Bongumusa4-Sep-08 5:29
Bongumusa4-Sep-08 5:29 
AnswerRe: VB.Net Pin
Blue_Boy4-Sep-08 5:44
Blue_Boy4-Sep-08 5:44 
AnswerRe: VB.Net Pin
Paul Conrad4-Sep-08 11:11
professionalPaul Conrad4-Sep-08 11:11 

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.