PC Review


Reply
Thread Tools Rate Thread

Activate the wrong form

 
 
Flemming
Guest
Posts: n/a
 
      10th May 2005
I have a problem when switching between another program and my own
application.

this is what happens:



1) I start 'myapp.exe" from File Explorer

2) From form1 activate 'ShowDialog()' on form2

3) Start File Explorer and reactivate 'myapp.exe' by clicking the exe file.

4) Now form1 is showed and not the last active form form2. And the
application is 'disabled'.

5) However I can reactivate the correct form2 by going to memory manager and
reactivate form2, from the "Running program list".



I can send a sample program..!



/Flemming


 
Reply With Quote
 
 
 
 
Stelrad Doulton
Guest
Posts: n/a
 
      10th May 2005
Are you on CE? If so you are just spawning another instance of your app.

"Flemming" <(E-Mail Removed)> wrote in message
news:O1g%(E-Mail Removed)...
>I have a problem when switching between another program and my own
>application.
>
> this is what happens:
>
>
>
> 1) I start 'myapp.exe" from File Explorer
>
> 2) From form1 activate 'ShowDialog()' on form2
>
> 3) Start File Explorer and reactivate 'myapp.exe' by clicking the exe
> file.
>
> 4) Now form1 is showed and not the last active form form2. And the
> application is 'disabled'.
>
> 5) However I can reactivate the correct form2 by going to memory manager
> and reactivate form2, from the "Running program list".
>
>
>
> I can send a sample program..!
>
>
>
> /Flemming
>
>



 
Reply With Quote
 
Flemming
Guest
Posts: n/a
 
      10th May 2005
The OS is Pocket PC 2003 and the application is c# (Compact Framework with
SP3)

/Flemming

"Stelrad Doulton" <___@____.com> wrote in message
news:(E-Mail Removed)...
> Are you on CE? If so you are just spawning another instance of your app.
>
> "Flemming" <(E-Mail Removed)> wrote in message
> news:O1g%(E-Mail Removed)...
>>I have a problem when switching between another program and my own
>>application.
>>
>> this is what happens:
>>
>>
>>
>> 1) I start 'myapp.exe" from File Explorer
>>
>> 2) From form1 activate 'ShowDialog()' on form2
>>
>> 3) Start File Explorer and reactivate 'myapp.exe' by clicking the exe
>> file.
>>
>> 4) Now form1 is showed and not the last active form form2. And the
>> application is 'disabled'.
>>
>> 5) However I can reactivate the correct form2 by going to memory manager
>> and reactivate form2, from the "Running program list".
>>
>>
>>
>> I can send a sample program..!
>>
>>
>>
>> /Flemming
>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Click ok to MessageBox in vb.net triggers form.activate in calling form Ed. Microsoft VB .NET 4 26th Nov 2009 05:41 AM
entered wrong (cheaper) version of windows and now can't activate. rjc Windows Vista Installation 11 1st May 2008 03:30 AM
Doesn't a form's Activate event fire in a modal form fiaolle Microsoft Access Form Coding 3 30th Jan 2007 06:23 PM
Strange behaviour of Form.WindowState.Maximized in Form.Activate event viliamb Microsoft Dot NET Framework Forms 0 4th Jan 2006 09:01 PM
Activate the wrong form on Pocket PC csharp .Net =?Utf-8?B?RW1pY2F0aQ==?= Microsoft Dot NET Framework 19 26th Jul 2005 02:56 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:41 PM.