Notices

Water Fountain General Chit/Chat

Reply
 
LinkBack Thread Tools
Old 01-20-04, 11:13 AM   #1 (permalink)
Aximsite Prospect
 
Join Date: Jan 2004
Posts: 1
Thanked 0 Times in 0 Posts
Power on Power Off Events in Visual Basic on Pocket PCs

Hello,

I am developing an Application using VB. The Appllication should be running as the only task on the Dell Axim X3. So i must prevent the user from minimizing my apllication window, switching to other tasks. closing the apllication and so on.

For now i have already solved some problems.
The application running is now full screen (hiding the task-bar and the lower input bar using SHFullScreen).
Most Buttons switching to other applications could also be disabled (using UnregisterFunc1 and Registerhotkey) but there are still some problems.

1. (The Main Problem)
When I turn the PDA off and on the application has a title bar again and can be hidden and i also can push the upper left button to start other applications. How can i prevent this.
I Think it would be enough to start an own routine which hides the task bar again. (Like i do at the start of program).

2. Is there a possibility to start an own routine shortly before power/off or directly after power on. When the PDA turns off after a while of not beeing used (or when the user presses the power button) my application should tell the server application via socket that its falling a sleep now and that it's back again after power on.

I appreciate any help and sorry for my english ...

I have seen that there is a complete soultion for this problem via a commercial solution. But this program costs about 900 US$ and I thinks that's too much (since i am quit far meanwhile)

Christian
cgill is offline   Reply With Quote
Sponsor Ads
Old 01-21-04, 03:14 PM   #2 (permalink)
Aximsite Rookie
 
willo's Avatar
DAP Freshman
 
Join Date: Dec 2003
Location: UK
Posts: 98
Thanked 0 Times in 0 Posts
http://www.pocketpcdn.com/forum/inde...0a0311ba69b920

May help looking here? Good luck you seem to be getting along ok so far
__________________
Discover a lost art - play Marbles.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
willo is offline   Reply With Quote
Reply

Sponsor Ads

Thread Tools

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 On



All times are GMT -5. The time now is 05:27 PM.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Copyright © 2003-09 LeckMedia, LLC