.NET CF application entering again

  • Thread starter Thread starter tdj
  • Start date Start date
T

tdj

Hi,

I have made a .NET CF application which has several forms, while the user
has openend some of the forms he wants to take a look at his agenda, so he
opens his agenda. After that he wants to switch back to my application, he
goes to the startmenu and activates the application again. But then it looks
like the whole PDA is freezing. Any idea what I could have done wrong casing
this. Do I need to check for being allready active of the application (and
if yes, how?) ?

I allready tried to look for a solution using google, but I didn't manage to
get information about this subject.

TdJ
 
If your application has an open connection to an .sdf database (or a
similar contrained resource) you could possibly lock up or crash. When
your app starts up, you shoudl be able to PInvoke the window find
method, and if your app is already running use pInvoke setforeground to
activate the already running application.
 
Back
Top