Click here to Skip to main content
15,889,659 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionThe application does not close Pin
desanti20-Mar-18 13:13
desanti20-Mar-18 13:13 
AnswerRe: The application does not close Pin
Gerry Schmitz20-Mar-18 17:13
mveGerry Schmitz20-Mar-18 17:13 
GeneralRe: The application does not close Pin
desanti20-Mar-18 17:24
desanti20-Mar-18 17:24 
GeneralRe: The application does not close Pin
Gerry Schmitz20-Mar-18 20:15
mveGerry Schmitz20-Mar-18 20:15 
GeneralRe: The application does not close Pin
desanti21-Mar-18 7:19
desanti21-Mar-18 7:19 
AnswerRe: The application does not close Pin
Ralf Meier20-Mar-18 23:42
mveRalf Meier20-Mar-18 23:42 
AnswerRe: The application does not close Pin
mo149221-Mar-18 2:58
mo149221-Mar-18 2:58 
GeneralRe: The application does not close Pin
desanti21-Mar-18 9:51
desanti21-Mar-18 9:51 
It seems that the cause of the problem is a splash form that is first open when the application is started.This is the startup form.

This is just a form that ask for a username and password.
After the user enter the username and password and click the ok button ,I call the
Mainform.show()

and the Main form is open .On the Main form's Shown event , I close the splashform , with
Splashform.close 
splashform.dispose


I've made a test , and I start the Main form on application start ( without opening the splashform ).So the Main form is the startup form.
In this case the application closes correctly. ( even without calling Application.exit or Environment.exit )

What can I do ?
GeneralRe: The application does not close Pin
mo149221-Mar-18 11:31
mo149221-Mar-18 11:31 
GeneralRe: The application does not close Pin
Eddy Vluggen22-Mar-18 7:00
professionalEddy Vluggen22-Mar-18 7:00 
Questionprinting data to report in crystal report Pin
Kim Gabinete18-Mar-18 7:03
Kim Gabinete18-Mar-18 7:03 
SuggestionRe: printing data to report in crystal report Pin
Richard MacCutchan18-Mar-18 7:40
mveRichard MacCutchan18-Mar-18 7:40 
GeneralRe: printing data to report in crystal report Pin
Mycroft Holmes18-Mar-18 12:57
professionalMycroft Holmes18-Mar-18 12:57 
QuestionRe: printing data to report in crystal report Pin
Eddy Vluggen18-Mar-18 9:09
professionalEddy Vluggen18-Mar-18 9:09 
AnswerRe: printing data to report in crystal report Pin
Gerry Schmitz18-Mar-18 15:49
mveGerry Schmitz18-Mar-18 15:49 
Questionpattern printing Pin
Member 1372813915-Mar-18 3:06
Member 1372813915-Mar-18 3:06 
SuggestionRe: pattern printing Pin
Richard MacCutchan15-Mar-18 4:00
mveRichard MacCutchan15-Mar-18 4:00 
QuestionEntity framework : refreshing a single object from database. Pin
desanti10-Mar-18 15:10
desanti10-Mar-18 15:10 
AnswerRe: Entity framework : refreshing a single object from database. Pin
Dave Kreskowiak11-Mar-18 13:10
mveDave Kreskowiak11-Mar-18 13:10 
AnswerRe: Entity framework : refreshing a single object from database. Pin
Gerry Schmitz12-Mar-18 12:11
mveGerry Schmitz12-Mar-18 12:11 
QuestionI have a question about Visual Basic and Databases... Pin
D. Doulas10-Mar-18 10:29
D. Doulas10-Mar-18 10:29 
QuestionRe: I have a question about Visual Basic and Databases... Pin
Richard MacCutchan10-Mar-18 22:21
mveRichard MacCutchan10-Mar-18 22:21 
AnswerRe: I have a question about Visual Basic and Databases... Pin
D. Doulas11-Mar-18 10:35
D. Doulas11-Mar-18 10:35 
GeneralRe: I have a question about Visual Basic and Databases... Pin
Richard MacCutchan11-Mar-18 22:20
mveRichard MacCutchan11-Mar-18 22:20 
GeneralRe: I have a question about Visual Basic and Databases... Pin
Eddy Vluggen12-Mar-18 1:14
professionalEddy Vluggen12-Mar-18 1:14 

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.