Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

How To Monitor A Registry Key

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-27-2009, 10:14 PM
Newbie
 
Join Date: Sep 2009
Posts: 6
Default How To Monitor A Registry Key

Hi, apologies, again, if this is a daft question.

Is there a way to monitor a reg key and if it equals a certain value it triggers an event.

For example a reg key equals either 0 or 1

If it = 0 do one thing

If it = 1 do something else

Also, is it possible to continually wait for the reg entry to change like in a loop.

Thanks in advance.
Reply With Quote
  #2 (permalink)  
Old 09-27-2009, 10:25 PM
Basic4ppc Veteran
 
Join Date: May 2008
Location: Newcastle Upon Tyne - England
Posts: 269
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Would it be sufficient to check it in a Timer_Tick event and run your code from there?
Reply With Quote
  #3 (permalink)  
Old 09-28-2009, 08:13 AM
Newbie
 
Join Date: Sep 2009
Posts: 6
Default

Quote:
Originally Posted by Zenerdiode View Post
Would it be sufficient to check it in a Timer_Tick event and run your code from there?
Thanks for your advice I'll give it a try.
Reply With Quote
  #4 (permalink)  
Old 09-28-2009, 09:48 PM
Newbie
 
Join Date: Sep 2009
Posts: 6
Default

Did the trick thank you very much.
Reply With Quote
  #5 (permalink)  
Old 03-12-2010, 04:50 PM
Newbie
 
Join Date: Nov 2007
Posts: 9
Default

Hello hAndyMan

I am trying to do the same thing (monitor if a reg key changes in my Palm Treo as it stops ringing at random & I miss calls). Would you mind letting me know how you did this in your application as I am new to this.

Many thanks

SteveA
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Reload registry after change? mcflaytasche Questions (Windows Mobile) 9 04-28-2010 04:49 PM
monitor screen orientation joel2009 Questions (Windows Mobile) 3 06-06-2009 06:00 PM
Lettura del registry Raytracer Italian Forum 9 04-19-2008 02:03 PM
Sun Monitor alfcen Share Your Creations 16 10-26-2007 10:43 AM
registry bdiscount Questions (Windows Mobile) 4 05-11-2007 03:29 PM


All times are GMT. The time now is 03:01 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0