Click here to Skip to main content
15,917,473 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: network Pin
Dave Kreskowiak1-Oct-06 14:44
mveDave Kreskowiak1-Oct-06 14:44 
GeneralRe: network Pin
fatidarya1-Oct-06 20:29
fatidarya1-Oct-06 20:29 
GeneralRe: network Pin
Dave Kreskowiak2-Oct-06 3:12
mveDave Kreskowiak2-Oct-06 3:12 
QuestionData Source name not defined and default driver specified Pin
bony_baba29-Sep-06 18:51
bony_baba29-Sep-06 18:51 
AnswerRe: Data Source name not defined and default driver specified Pin
Dave Kreskowiak1-Oct-06 14:46
mveDave Kreskowiak1-Oct-06 14:46 
QuestionHow to deploy a project? Pin
cstrader23229-Sep-06 17:37
cstrader23229-Sep-06 17:37 
AnswerRe: How to deploy a project? Pin
Dave Kreskowiak1-Oct-06 14:51
mveDave Kreskowiak1-Oct-06 14:51 
QuestionUnable to shut down windows with VB.Net App loaded. Pin
Dick Bellnier29-Sep-06 14:52
Dick Bellnier29-Sep-06 14:52 
Well, I'm going a little nuts. I have this app which is written in vb.net (2003). My problem is that you can not shut down windows when this app is loaded. This app sits in the system tray and the form visible property is set to false. You have to close down the app and then you can shutdown windows. I've been searching for days and found WndProc. I tried this. It will terminate the app, but will not shut down windows. It looks like the end session message is not being passed along. The code is below. Does anybody have any ideas? It would be much appreciated.


Private Const WM_ENDSESSION As Integer = &H16
Protected Overrides Sub WndProc(ByRef m As System.Windows.Forms.Message)
If m.Msg = WM_ENDSESSION Then
bolWinShutDown = True
Application.Exit()
End If
MyBase.WndProc(m)
End Sub

Private Sub frmLanPopupExMain_Closing(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles MyBase.Closing
If bolWinShutDown = True then
e.Cancel = False
Else
e.Cancel = True
Me.Visible = False
End Sub



Thanks,
Dick Bellnier
AnswerRe: Unable to shut down windows with VB.Net App loaded. Pin
Dave Kreskowiak1-Oct-06 14:55
mveDave Kreskowiak1-Oct-06 14:55 
QuestionReading and renaming Excel Files Help Needed Pin
CraigBob29-Sep-06 13:36
CraigBob29-Sep-06 13:36 
Questionhow to reflect changes Pin
praveen kumar mahto29-Sep-06 3:09
praveen kumar mahto29-Sep-06 3:09 
AnswerRe: how to reflect changes Pin
Guffa29-Sep-06 3:27
Guffa29-Sep-06 3:27 
AnswerRe: how to reflect changes Pin
Kschuler29-Sep-06 10:33
Kschuler29-Sep-06 10:33 
Questioncombobox sort/index problem Pin
chrishowell29-Sep-06 1:43
chrishowell29-Sep-06 1:43 
AnswerRe: combobox sort/index problem Pin
Christian Graus29-Sep-06 10:47
protectorChristian Graus29-Sep-06 10:47 
QuestionREmoting Pin
maryamnet29-Sep-06 1:04
maryamnet29-Sep-06 1:04 
Questiondatatable.columns.add(datacolumn, index) Pin
jcrussell29-Sep-06 0:39
jcrussell29-Sep-06 0:39 
AnswerRe: datatable.columns.add(datacolumn, index) Pin
Dave Kreskowiak29-Sep-06 6:32
mveDave Kreskowiak29-Sep-06 6:32 
QuestionRe: datatable.columns.add(datacolumn, index) Pin
jcrussell2-Oct-06 14:30
jcrussell2-Oct-06 14:30 
AnswerRe: datatable.columns.add(datacolumn, index) Pin
Dave Kreskowiak2-Oct-06 14:57
mveDave Kreskowiak2-Oct-06 14:57 
QuestionRe: datatable.columns.add(datacolumn, index) Pin
jcrussell2-Oct-06 15:04
jcrussell2-Oct-06 15:04 
AnswerRe: datatable.columns.add(datacolumn, index) Pin
Dave Kreskowiak2-Oct-06 16:32
mveDave Kreskowiak2-Oct-06 16:32 
QuestionHow to enable checkbox option in Save Dialog Box [modified] Pin
vikram13828-Sep-06 23:47
vikram13828-Sep-06 23:47 
AnswerRe: How to enable checkbox option in Save Dialog Box Pin
Dave Kreskowiak29-Sep-06 6:28
mveDave Kreskowiak29-Sep-06 6:28 
Questiondeploying app with xp themes Pin
ashhorner28-Sep-06 23:42
ashhorner28-Sep-06 23:42 

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.