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

Visual Basic

 
AnswerRe: Background Processes Pin
Dave Kreskowiak14-Oct-06 19:06
mveDave Kreskowiak14-Oct-06 19:06 
QuestionSending a Text Stream in VB.NET. Pin
hariram2814-Oct-06 6:37
hariram2814-Oct-06 6:37 
AnswerRe: Sending a Text Stream in VB.NET. Pin
Dave Kreskowiak14-Oct-06 19:08
mveDave Kreskowiak14-Oct-06 19:08 
QuestionAccessing Class from another Class Pin
rahvyn614-Oct-06 6:35
rahvyn614-Oct-06 6:35 
QuestionUpdate database help [modified] Pin
eric_tran14-Oct-06 5:01
eric_tran14-Oct-06 5:01 
QuestionMake file that contains Text and Picture Pin
FeRtoll14-Oct-06 2:36
FeRtoll14-Oct-06 2:36 
QuestionHow to quit application completely? Pin
re infecta14-Oct-06 1:30
re infecta14-Oct-06 1:30 
AnswerRe: How to quit application completely? Pin
FeRtoll14-Oct-06 2:34
FeRtoll14-Oct-06 2:34 
on your form put button "Exit" in exit buton type like this:
     Private Sub cmdEnd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdEnd.Click<br />
Me.Close<br />
Me.Dispose<br />
     End Sub

and if you have to save anny data before closing, do it in "Form close event"

     Private Sub Form1_Closing(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles MyBase.Closing<br />
'Saving data<br />
System.IO.File.Create(Application.StartUpPath+"\data.ini")<br />
     End Sub

------------------------------------------------------------------
Just be shure that u dont type on some other button which is suposed to end aplication that you type "End". Allways use "Me.Close"
------------------------------------------------------------------
Hope it helps! :->

FeRtoll Software.net
------------
E-Mail me
WebPage

AnswerRe: How to quit application completely? Pin
Dave Kreskowiak14-Oct-06 4:27
mveDave Kreskowiak14-Oct-06 4:27 
GeneralRe: How to quit application completely? Pin
hey_ian314-Oct-06 11:07
hey_ian314-Oct-06 11:07 
GeneralRe: How to quit application completely? Pin
Dave Kreskowiak14-Oct-06 19:00
mveDave Kreskowiak14-Oct-06 19:00 
GeneralRe: How to quit application completely? [modified] Pin
re infecta14-Oct-06 23:05
re infecta14-Oct-06 23:05 
GeneralRe: How to quit application completely? Pin
Dave Kreskowiak15-Oct-06 3:44
mveDave Kreskowiak15-Oct-06 3:44 
GeneralRe: How to quit application completely? Pin
WestSideRailways30-Dec-06 22:30
WestSideRailways30-Dec-06 22:30 
GeneralRe: How to quit application completely? Pin
Dave Kreskowiak31-Dec-06 4:55
mveDave Kreskowiak31-Dec-06 4:55 
QuestionShell Icons [modified] Pin
UltraCoder13-Oct-06 18:43
UltraCoder13-Oct-06 18:43 
QuestionMay I know how to do this? Pin
cshong13-Oct-06 17:41
cshong13-Oct-06 17:41 
AnswerRe: May I know how to do this? Pin
UltraCoder13-Oct-06 17:51
UltraCoder13-Oct-06 17:51 
GeneralRe: May I know how to do this? Pin
Dave Kreskowiak14-Oct-06 4:23
mveDave Kreskowiak14-Oct-06 4:23 
AnswerRe: May I know how to do this? Pin
ADY00713-Oct-06 23:31
ADY00713-Oct-06 23:31 
GeneralRe: May I know how to do this? Pin
Kevin McFarlane14-Oct-06 2:07
Kevin McFarlane14-Oct-06 2:07 
AnswerRe: May I know how to do this? Pin
myfend_liang14-Oct-06 2:20
myfend_liang14-Oct-06 2:20 
GeneralRe: May I know how to do this? Pin
cshong14-Oct-06 17:36
cshong14-Oct-06 17:36 
AnswerRe: May I know how to do this? Pin
Dave Kreskowiak14-Oct-06 4:25
mveDave Kreskowiak14-Oct-06 4:25 
Questione.Keycode for the Enter Key Pin
UltraCoder13-Oct-06 17:37
UltraCoder13-Oct-06 17:37 

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.