.NET CF application entering again

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
 
D

Damon Payne

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top