IR Beam

2003-08-28 Thread Steve K
The IR Beam routine built into most palms seems to be self explanatory, however, I just want to make sure that I can beam a db from one palm and add it to the contents of a db on the receiving palm. If there is anything tricky about doing this please let me know. tia, steve -- For

Re: LstSetListChoices

2003-08-21 Thread Steve K
Thanks guys, but I have solved this issue already. Steve K Tom Hoelscher [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] According to the Palm OS Reference, if the list is visible when you call LstSetListChoices, you will need to call LstDrawList to update the list. -Tom

Database help.

2003-08-21 Thread Steve K
? tia, Steve K -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Palm Emulator

2003-08-14 Thread Steve K
I appreciate all the feedback. It runs smoothly now, and makes much more sense. Thanks, Steve Dave Carrigan [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Wed, Aug 13, 2003 at 05:24:44PM -0700, Steve K wrote: In that case, I'm curious what is wrong with this code that runs

LstSetListChoices

2003-08-14 Thread Steve K
It has been a few days and I have not heard on this, so I thought I would post again. I am trying to set the choices in a list using LstSetListChoices, and know I am getting very close to getting it to work. I call my function to populate the list and I receive no error and I get no data

Re: push buttons

2003-08-14 Thread Steve K
. Steve K [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Dear All, I am new here..and new to palm program. I would like to ask. I am having many push buttons. and i want the selected one to be highlighted.. be in the dark. how can i do that? thanks a lot. nga

Re: Palm Emulator

2003-08-14 Thread Steve K
// Alert with error beep SndPlaySystemSound (sndError); return false; } } tia, Steve Dave Carrigan [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Wed, Aug 13, 2003 at 04:45:28PM -0700, Steve K wrote: Why is it that some things run on the palm just

Re: Please Help LstSetListChoices not working

2003-08-14 Thread Steve K
I tried your suggestion still I get nothing. I've tried adding a LstDrawList still get nothing. Still at a loss... thanks, steve The bug is that you unlock the gStringH handle after you've passed it's locked pointer to LstSetListChoices. That handle needs to remain locked until after

Palm Emulator

2003-08-14 Thread Steve K
Newbie Question. Why is it that some things run on the palm just fine, however, cause errors on the Palm emulator? Is the emulator more strict on what you can and cannot do? Thanks, Steve -- For information on using the Palm Developer Forums, or to unsubscribe, please see

LstSetListChoices

2003-08-14 Thread Steve K
I have read many a posts on this question, however, none seem to be working for me. I have attempted to simplify this with no results. I am no longer getting fatal exceptions, however nothing is happening. What is the key ingredient i'm missing here? static char* gPlateString =

Memory Management

2003-08-14 Thread Steve K
); if(recH) { test = (char*) MemHandleLock(recH); MemHandleUnlock(recH); } MemHandleFree(recH); DmReleaseRecord(gDatabase, 0, false); error = DmCloseDatabase(gDatabase); } } tia, Steve K -- For information on using the Palm Developer Forums

Re: Please Help LstSetListChoices not working

2003-08-14 Thread Steve K
) { Boolean retValue = false; if(lstP) { LstSetListChoices(lstP, listString, size); LstDrawList(lstP); retValue = true; } return retValue; } Steve K Steve K [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Using the debugger and an emulator as opposed

Re: Please Help LstSetListChoices not working

2003-08-14 Thread Steve K
PROTECTED] At 05:14 PM 8/13/2003, Steve K wrote: I tried your suggestion still I get nothing. I've tried adding a LstDrawList still get nothing. Have you stepped through with a debugger and verified that the system call that makes your list of string pointers is correctly formatting up

Please Help LstSetListChoices not working

2003-08-14 Thread Steve K
I am trying to set the choices in a list using LstSetListChoices, and know I am getting very close to getting it to work. I call my function to populate the list and I receive no error and I get no data displayed in my list. Here is the function. static char* gPlateString =

Re: Memory Management

2003-08-14 Thread Steve K
Sorry, tabbing, got alittle screwy, and I added an extra } on accident. This is better. static void foo(FormType *frmP) { FrmSetTitle(frmP, Test); Err error; MemHandle recH; char* test; LocalID dbId = DmFindDatabase(cardNo, barDB); gDatabase =

DmWrite/DmGetRecord

2003-08-14 Thread Steve K
is appreciated. tia, Steve K -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: DmWrite/DmGetRecord

2003-08-14 Thread Steve K
Thanks, woulda stared at that for hours.. :) Wonder where else i've made that mistake... :) Thanks again. Steve K LionScribe [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] StrLen gives you the length without the Null-Terminator, therefore you should always be using StrLen()+1

Re: LstSetListChoices

2003-08-14 Thread Steve K
; } Also I hate to be too much of a bother, if you have any links to some good reading on the subject that might help me out as well. tia, Steve Dave Carrigan [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Thu, Aug 07, 2003 at 11:46:16PM -0700, Steve K wrote: I have read many

Re: Memory Management

2003-08-12 Thread Steve K
Good call. Works fine now. Thanks again. Steve K Arye Schreiber [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] You should not be calling MemHandleFree(recH), as to the fact that the data is in DB form. You should not be freeing it at all just releasing it. LionScribe

Re: Palm ZIRE dynamic heap size

2003-08-10 Thread Steve K
Say i'm downloading a DB file to the zire to be used in a project, what are the size limitations on such a file? Thought i'd chime in. tia, Steve Douglas Handy [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Bullshark, can anyone tell me how much dynamic memory has a Palm Zire

FrmSetMenu

2003-08-10 Thread Steve K
I am trying to use the function FrmSetMenu to change the form menu based on selections and am getting the following error: UIResource.c, Line:231, Menu rsrc not found (Reset) FrmSetMenu is calling for a UInt16 menuRscID... Is that the name I set for the menu in the pilrc? My code... *.rcp MENU

Re: FrmSetMenu

2003-08-10 Thread Steve K
Dar, sorry, my mistake... changing menu names in one spot and not another... Got it to work... Steve Steve K [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I am trying to use the function FrmSetMenu to change the form menu based on selections and am getting the following error

Re: Error while deallocating memory

2003-08-08 Thread Steve K
Boris, Although I do not have a solution for you, I too am attempting the same type of list manipulation. I have taken your code as an example, however am running into problems. My code is similar to yours, however, I am not reading the info from a DB instead it is hard coded. You said that

Re: LstSetListChoices

2003-08-08 Thread Steve K
[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Fri, Aug 08, 2003 at 03:00:09PM -0700, Steve K wrote: Dave, Thank you for the advice. I am having a real hard time dealing with Memhandles and char*s. Been awhile since i'm done C programming and never played on a palm before

Re: LstSetListChoices

2003-08-08 Thread Steve K
I think I should also note that I am using this list with a pop-up list. Not sure if that makes a difference or not, but thought I would mention it. tia, Steve K Steve K [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Dave, Thank you for the advice. I am having a real hard time

Re: Dynamic Field Editing

2003-08-01 Thread Steve K
the following error: DataMgr.c...DmWrite:DmWriteCheck failed I'm not making any calls to DmWrite? Not sure exactly what is going on. Any help is appreciated. Thanks, Steve K Steve K [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm trying to implement a number pad for faster data

Dynamic Field Editing

2003-07-31 Thread Steve K
I'm trying to implement a number pad for faster data entry into fields. My problem is I want to be able to use both the number pad and good old fashion grafitti as well. I've gotten it to dynamically update the field based on what was selected on the number pad, however, if I return to the field