PC Review


Reply
Thread Tools Rate Thread

Activated Event fires every time any other module is reference

 
 
Pat Reddy
Guest
Posts: n/a
 
      15th Mar 2005
I am writing an application for pocket pc 2003 using VB.NET. I am
having trouble using the form Activated Event because it fires everytime
I call a subroutine located in another module. What am I missing here?
Why is my form not the active form anymore when I call a sub in a global
module? Thanks.


Pat Reddy
Industrial Controls Engineer
MAVERICK Technologies

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 
Reply With Quote
 
 
 
 
Peter Foot [MVP]
Guest
Posts: n/a
 
      15th Mar 2005
Does the module display another form or messagebox? Activated will fire when
your form regains the focus

Peter

--
Peter Foot
Windows Embedded MVP
http://www.inthehand.com | http://blog.opennetcf.org/pfoot/

"Pat Reddy" <(E-Mail Removed)> wrote in message
news:%23I$(E-Mail Removed)...
>I am writing an application for pocket pc 2003 using VB.NET. I am
> having trouble using the form Activated Event because it fires everytime
> I call a subroutine located in another module. What am I missing here?
> Why is my form not the active form anymore when I call a sub in a global
> module? Thanks.
>
>
> Pat Reddy
> Industrial Controls Engineer
> MAVERICK Technologies
>
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!



 
Reply With Quote
 
Pat Reddy
Guest
Posts: n/a
 
      18th Mar 2005
Yes, I think that is part of my problem.

Pat Reddy
Industrial Controls Engineer
MAVERICK Technologies

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 
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
Static instance Event fires more than one time None Microsoft C# .NET 9 25th May 2007 08:19 AM
Is there a way I can reference the button control that activated the mouseenter event? John Microsoft VB .NET 3 3rd Mar 2007 09:10 PM
deactivate event fires every OTHER time Maxine G Microsoft Access 5 19th Sep 2003 04:18 AM
deactivate event fires every OTHER time Maxine G Microsoft Access Forms 5 19th Sep 2003 04:18 AM
comboBox TextChanged event fires twice because Items.Insert() fires the event too... Rob Hindman Microsoft Dot NET Framework Forms 2 25th Aug 2003 07:10 AM


Features
 

Advertising
 

Newsgroups
 


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