Click here to Skip to main content
15,887,214 members
Home / Discussions / Mobile
   

Mobile

 
QuestionText to Speech for dict on mobile ? Pin
kimlongap14-Apr-09 18:18
kimlongap14-Apr-09 18:18 
QuestionWhat to do with this type of error message (embedded Visual C++ 4.0)? Pin
kapardhi14-Apr-09 1:29
kapardhi14-Apr-09 1:29 
QuestionViewing animations on Winmobile 5.0 emulator Pin
Deepali Khalkar13-Apr-09 22:37
Deepali Khalkar13-Apr-09 22:37 
AnswerRe: Viewing animations on Winmobile 5.0 emulator Pin
Joel Ivory Johnson14-Apr-09 5:08
professionalJoel Ivory Johnson14-Apr-09 5:08 
AnswerRe: Viewing animations on Winmobile 5.0 emulator Pin
PavanPareta14-Apr-09 6:30
PavanPareta14-Apr-09 6:30 
QuestionSymbian executable file format Pin
K. Sushilkumar13-Apr-09 18:45
K. Sushilkumar13-Apr-09 18:45 
Questionform closing Pin
Deepali Khalkar12-Apr-09 22:35
Deepali Khalkar12-Apr-09 22:35 
AnswerRe: form closing Pin
Joel Ivory Johnson14-Apr-09 4:58
professionalJoel Ivory Johnson14-Apr-09 4:58 
Application.Exit is made to terminate an application regardless of which form is active. And if you close the main form (the very first form that appears when your application is started) then the application will terminate. To perform what you wish to accomplish you have several methods available.

One method is that instead of closing the main form hide it whn ever you invoke a child form and then redisplay it when the child form closes.

Depending on how many forms you have in your application you may want to make some of the forms seperate executables to keep memory usage low.

Lastly the method that I use is to modify the Main method of the program. By default the Main method will just instantiate Form1 and then let its message processing loop run until the form closes. When I need to do what you are trying to do I alter the main method so that it will open a form and let it run but after that form closes I check to see what it was closed. If it were closed because the user needed to go to a different form then I instantiate that new form and allow its message processing loop to run. OTherwise I allow the MAin method to exit (thus terminating the application).

Joel Ivory Johnson
My site: J2i.net
Twitter: J2iNet

QuestionAbout Mobile IE ATL ActiveX problem Pin
hongky12-Apr-09 19:36
hongky12-Apr-09 19:36 
QuestionCeGetDeviceId() not working fine. Pin
Le@rner12-Apr-09 18:25
Le@rner12-Apr-09 18:25 
AnswerRe: CeGetDeviceId() not working fine. Pin
sivaddrahcir24-Apr-09 14:57
sivaddrahcir24-Apr-09 14:57 
Questionkeystroke not working in device application Pin
yrishi11-Apr-09 3:30
yrishi11-Apr-09 3:30 
AnswerRe: keystroke not working in device application Pin
sivaddrahcir24-Apr-09 13:44
sivaddrahcir24-Apr-09 13:44 
Questionhow to close messagebox after few seconds Pin
yrishi10-Apr-09 3:21
yrishi10-Apr-09 3:21 
AnswerRe: how to close messagebox after few seconds Pin
Le@rner10-Apr-09 18:10
Le@rner10-Apr-09 18:10 
GeneralRe: how to close messagebox after few seconds Pin
yrishi11-Apr-09 1:55
yrishi11-Apr-09 1:55 
Questionusing timer, device performace going very slow.......... Pin
yrishi8-Apr-09 18:19
yrishi8-Apr-09 18:19 
AnswerRe: using timer, device performace going very slow.......... Pin
PavanPareta9-Apr-09 7:12
PavanPareta9-Apr-09 7:12 
GeneralRe: using timer, device performace going very slow.......... Pin
yrishi9-Apr-09 20:27
yrishi9-Apr-09 20:27 
QuestionHow to transfer big file from PC to PPC but not using RAPI ? Pin
E_Gold8-Apr-09 1:50
E_Gold8-Apr-09 1:50 
AnswerRe: How to transfer big file from PC to PPC but not using RAPI ? Pin
sivaddrahcir9-Apr-09 12:44
sivaddrahcir9-Apr-09 12:44 
QuestionRapi use for connect with active sync,now what can i use for connect with Mobile Device Center? Pin
Le@rner8-Apr-09 0:54
Le@rner8-Apr-09 0:54 
AnswerRe: Rapi use for connect with active sync,now what can i use for connect with Mobile Device Center? Pin
sivaddrahcir9-Apr-09 12:59
sivaddrahcir9-Apr-09 12:59 
GeneralRe: Rapi use for connect with active sync,now what can i use for connect with Mobile Device Center? Pin
Le@rner9-Apr-09 18:31
Le@rner9-Apr-09 18:31 
GeneralRe: Rapi use for connect with active sync,now what can i use for connect with Mobile Device Center? Pin
sivaddrahcir10-Apr-09 8:24
sivaddrahcir10-Apr-09 8:24 

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.