Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


Can i use Basic4PPC to run a program whilst a device is in 'standby'


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-12-2008, 08:01 PM
Newbie
 
Join Date: Feb 2008
Posts: 1
Default Can i use Basic4PPC to run a program whilst a device is in 'standby'

Hi, I'd like to get into development for ppc's, although i've only got experiance with vb, mainly vba, which i have a habbit of going into deep and amazing myself with what i do but no one else!

since having a ppc device and learning that mobile excel doesn't have macro's (which is a pain for me as i'm so used to using vba in excel i'd forgotten how to do things using formula!, excel has been my main development testing for the last few years now, although with the introduction of 2007 I see that coming to an end)

Anyways, at the moment, I've had a little go at this basic, quite impressed so far, made a small program, well a very basic test program that just counts seconds, but i'm very confused about one thing...

basically I want a program to be able to run in the background, at first I was surprised when i pressed the litte x on my ppc it actually closed, secondly, when i put my phone into 'standby' I want to be able to decide weather or not it will run in the background, ie, like you can set windows media player to play audio even in standby or not.

Is it possible using basic4ppc to allow a program to do this, so far i've just made a super simple counting app just to test how it works, now i've never done anything on ppc before, or any thing else other than vb/vba!

I'm a bit confused as sometimes it counts up the seconds when i press the standby button on the device, sometimes it counts up in the background, sometimes it doesn't.

I'm sorry if my post is quite long! i have a bad habbit of writing too much then seeing how much i wrote and being to lazy to edit it
Reply With Quote
  #2 (permalink)  
Old 02-12-2008, 09:48 PM
RandomCoder's Avatar
Basic4ppc Veteran
 
Join Date: May 2007
Location: UK
Posts: 487
Awards Showcase
Beta Tester 
Total Awards: 1
Default

First of all I'd like to welcome you to the forum, you've come to the right place.

Your programs can run with the device in standby.
What you need to understand is that running programs on the device using the B4PPC editor is different to running a compiled B4PPC program.
Clicking the 'x' when running in the IDE will close your program and take you back to the designer, however with a compiled App you can minimise the Form by using the FormLib in which case the Form will just be hidden and you need to provide a way of closing the Form via a button or menu option.
Compiled Apps also run much faster.

Hope this covers your questions.

Regards,
RandomCoder
__________________
Desktop: Pentium D 920 (2.8GHz, 4MB L2 Cache, 800MHz FSB), 1024MB, 256MB Radeon X600, 250GB HD.
Device : Axim X51v XScale 624MHz, 3.7" VGA, 64MB SDRAM, 256MB Flash ROM + 1Gb SD.

"Defeat never comes to any man until he admits it."Josephus Daniels
Reply With Quote
  #3 (permalink)  
Old 02-13-2008, 07:30 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,335
Default

What do you mean with standby?
When the device is turned off the CPU stops running and all applications stop.
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
running .cab files from a program on the device Louis Questions & Help Needed 3 10-27-2008 09:00 PM
Basic4ppc Program Template alfcen Share Your Creations 3 02-12-2008 03:53 AM
DEVICE, Icon and program association. taximania Share Your Creations 2 01-05-2008 08:20 PM
Pocket PC IRC written entirely in Basic4ppc Shareware Program Louis Share Your Creations 0 06-14-2007 08:36 PM
Open serial port crashes program on device Steve Bug Reports 2 05-23-2007 10:52 PM


All times are GMT. The time now is 07:49 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0