RE: Sorry for the echo

2002-03-19 Thread Yu, Ken [IT]
It's ok. I know it's difficult to contain one's excitement about the EventAnalyzerHack :) -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

RE: Desktop HotSync Program

2002-03-15 Thread Yu, Ken [IT]
How do Pocket PC devices manage to do it? They seem to be connected to the PC at all times. -Ken > -- > From: Scott Johnson[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Friday, March 15, 2002 4:42 PM > To: Palm Developer Forum > Subject: RE

RE: Alert box defaults

2002-03-06 Thread Yu, Ken [IT]
Use the DEFAULTBUTTON tag and specify your 'cancel' button instead. -Ken > -- > From: Benjamin Brazil[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Wednesday, March 06, 2002 9:25 AM > To: Palm Developer Forum > Subject: Alert box defaults >

RE: Bitmap buttons on PilRC

2002-03-01 Thread Yu, Ken [IT]
Thanks guys, your suggestions were really helpful. I'm changing the buttons to non-graphical with no label and using FORMBITMAP to draw the bitmap. It is working fine except for one thing: On POSE debug ROMs, highlighted push buttons with bitmaps are not redrawn in the selected state when expo

Bitmap buttons on PilRC

2002-02-28 Thread Yu, Ken [IT]
I have a *.rcp file that defines buttons with bitmaps as their labels. On OS's that support bitmaps, they appear correct. On OS's that do not, garbage characters appear. > For OS's that do not support bitmaps on buttons, is it possible to show > its text label instead? (without having

RE: My own table troubles

2002-02-14 Thread Yu, Ken [IT]
You haven't specified any rows. Try: > TABLE ID tbTable AT ( 5 15 150 130 ) ROWS 10 COLUMNS 4 > > > -- > From: [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Thursday, February 14, 2002 12:56 PM > To: Palm Developer Forum > Subj

RE: Problem with removing all the records at a time

2002-01-28 Thread Yu, Ken [IT]
After deletion of a record, the record index's are reassigned. They are always maintained 1 - nRecords. Try always passing index=0 to DmRemoveRecord() or delete the entire database and recreate it. -Ken > -- > From: Low Pui Kuen[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Deve

RE: Problem with removing all the records at a time

2002-01-28 Thread Yu, Ken [IT]
Oops, I meant records numbers are maintained 0 to (nRecords - 1) -Ken > -- > From: Low Pui Kuen[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Monday, January 28, 2002 9:13 AM > To: Palm Developer Forum > Subject: Problem with removing all t

RE: Urgent !!!

2001-12-18 Thread Yu, Ken [IT]
If you would read your mail more carefully, someone has already replied to your inquiry. Perhaps in your extreme urgency, you have overlooked it. > -- > From: Srinivas[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Tuesday, December 18, 2001 5:28 PM

RE: show/hide objects for OS < 3.2

2001-10-19 Thread Yu, Ken [IT]
I've never encountered problems hiding and showing objects. The behavior you describe can be attributed to overwriting bounds of user memory. When I was setting the form title to a string longer than the original length, I've also seen weird stuff like this happen. Can you isolate you code to o

RE: Cuting strings

2001-10-04 Thread Yu, Ken [IT]
Use a scissor. Get it? "Cutting strings"? Ha ha! Sorry, couldn't resist ... > -- > From: Aaron Ardiri[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Thursday, October 04, 2001 9:54 AM > To: Palm Developer Forum > Subject: Re: Cuting strings

RE: communication between .prc files

2001-10-03 Thread Yu, Ken [IT]
You can save data using the various mechanisms (database, preference, etc) that both prc's can share. Have the first app save the data, switch to the second app and read the data. -Ken > -- > From: priyesh parikh[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent

RE: how to determine a record is new

2001-09-10 Thread Yu, Ken [IT]
Another possible solution is to just create your own 'new' flag. You WILL know if a user creates a new rec in your app. Just store a flag (preferably a bit field) in your data indicating this. -Ken -- For information on using the Palm Developer Forums, or to unsubscribe, pl

RE: App shows twice in launcher

2001-09-07 Thread Yu, Ken [IT]
All versions were using the same creator. Tapping on both icons brings the user to the same app. If the user goes to delete, it only shows once. After deletion, both icons disappear. If the app is reinstalled, it shows twice again. Very strange... I'm not certain as to which OS they are runni

App shows twice in launcher

2001-09-05 Thread Yu, Ken [IT]
A small percentage of my users are reporting that my app is showing twice in the Launcher. I have not been able to duplicate this. Can anyone clue me in as to what could be the cause? My app is a multi-segment developed with PRC-Tools 2.0. Thanks. -Ken -- For informa

RE: Creating PDB file "Programmatically".

2001-08-21 Thread Yu, Ken [IT]
Sorry, just had to correct the spelling :) -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

RE: conduit record parsing trouble

2001-08-14 Thread Yu, Ken [IT]
If you know the string is always 25 bytes, why don't you just jump to the 26th for the next field? > -- > From: Jeremy Nuss[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Tuesday, August 14, 2001 5:22 PM > To: Palm Developer Forum > Subject: co

RE: Validating turn off in Sat Forms

2001-08-09 Thread Yu, Ken [IT]
I also face the same dilema. I have a "Save" button on my forms that validates and commits the data. When the button is pressed, the entire form is validated and notifes the user of any errors. If the app is exited in any way before the "Save" button is pressed, TOO BAD! If there's a better so

RE: Calling a Batch File

2001-08-09 Thread Yu, Ken [IT]
A conduit can do anything a C or Java program can do since it is writen with one of these languages. So whatever you can do in C or Java, can be done in a conduit (including launching other executables). Look into functions that manages the creating of external processes or executing system comm

RE: Palm crashed at application launching

2001-08-07 Thread Yu, Ken [IT]
> > Yes I did and it didn't crash in the other Palm's. But if an application > crashes at any Palm device, this application has bug(s). Doesn't Palm > Install program take care of the low memory problem? Do you add code to > handle low memory before the application

RE: Palm crashed at application launching

2001-08-07 Thread Yu, Ken [IT]
did you try installing your app on the IIIx without the other apps? if it still crashes, you can rule out the low memory theory. -Ken > -- > From: > [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Tuesday, August 07, 2001 12:22 PM > To: Pa

RE: A conduit problem have I

2001-08-03 Thread Yu, Ken [IT]
It might be a byte ordering problem. You must swap the bytes of the UInt in order to obtain the correct value on the PC. Used to drive me nuts developing for the two platforms. Motorola one way, Intel the other. '\n' = CR/LF on Windows, LF for the rest of the world, etc, etc ... -Ken > -

RE: Crappy Forum

2001-07-27 Thread Yu, Ken [IT]
I know this is a bit off topic but I read somewhere a while back (Yahoo! science news?) that the speed off light 'c' might not be constant after all. There are unexplained variations between the calculated and actual positions of spacecraft that lead some to question the value of 'c'. Ok, now back

RE: SelectDay Function

2001-07-18 Thread Yu, Ken [IT]
Your inputs: day, month and year should contain valid date values. -Ken > -- > From: Nicolas Raitman[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Wednesday, July 18, 2001 1:59 PM > To: Palm Developer Forum > Subject: SelectDay Function > >

RE: Determing Record Size.

2001-06-29 Thread Yu, Ken [IT]
MemHandleSize () -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

RE: Database woes, need some advice

2001-06-27 Thread Yu, Ken [IT]
If your database scheme is not complex and if you're up to it, you can treat each record as a "database". (ie divide up the Palm record into multiple custom DB's and records). Of course, it's your responsibility to interpret the data. In the end you'll just have one Palm database that will conta

RE: Determining Device model

2001-06-20 Thread Yu, Ken [IT]
an Mathis[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Wednesday, June 20, 2001 3:59 PM > To: Palm Developer Forum > Subject: Re: Determining Device model > > On Wed, 20 Jun 2001, Yu, Ken [IT] wrote: > > Hi, > > > > Is there any po

Determining Device model

2001-06-20 Thread Yu, Ken [IT]
Hi, Is there any possible way of programmatically determining the model of a Palm OS device? (ie Palm II,V,Vx, VII, Handsping, Sony etc ...) Thanks, Ken -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

RE: SelectOneTime

2001-05-31 Thread Yu, Ken [IT]
What do you do in the morning? The time will be < 12:00 regardless of AM/PM. > -- > From: [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Thursday, May 31, 2001 2:19 PM > To: Palm Developer Forum > Subject: Re: SelectOneTime >

RE: Debugging with GCC toolchain in Windows

2001-05-04 Thread Yu, Ken [IT]
Try using Palm Reporter from the palmos website. I use it with GCC and it works very well. > -- > From: Tony Glaser[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Friday, May 04, 2001 2:16 PM > To: Palm Developer Forum > Subject: Debugging wit

RE: Who is supporting prc-tools at Palm now ?

2001-05-02 Thread Yu, Ken [IT]
Mr. Solokov perhaps? > -- > From: Ton van Overbeek[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Wednesday, May 02, 2001 5:27 PM > To: Palm Developer Forum > Subject: Who is supporting prc-tools at Palm now ? > > After reading the tools-forum

RE: Reading in a byte array from the database

2001-04-06 Thread Yu, Ken [IT]
Do you have any NULL's (0) in your data? StrLen only counts up to the NULL terminating character. -Ken > -- > From: Richard.Johnstone[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Friday, April 06, 2001 9:43 AM > To: Palm Developer Forum > Subject

RE: Error synchronizing - identifying user comes up with no user name

2001-03-29 Thread Yu, Ken [IT]
I've seen this also. I've managed to duplicate this by covering one pin on the cradle (don't remember which one) with tape. The user name comes up blank on HotSync and then it aborts. My theory is that the user's palm, cradle or serial port may be defective, preventing communication. The HotSy

RE: Displaying Multiple Forms When Handling An Alarm

2001-03-09 Thread Yu, Ken [IT]
Have you considered just using ONE form and update it as necessary when calling up the next record? -Ken > -- > From: Thomas Ward[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Thursday, March 08, 2001 10:06 AM > To: Palm Developer Forum > Subject

RE: FrmShow/Hide funky? Bad approach?

2001-03-01 Thread Yu, Ken [IT]
There's nothing funky about the Hide/Show approach as the Palm DateBook uses this technique for the repeating event screen. Since there are bugs in the OS when dynamically creating form objects, this would be the next preferred method. -Ken > -- > From: Matt Mason[SMTP:[EMAIL PR

FloatMgr on GCC

2001-02-21 Thread Yu, Ken [IT]
I'm trying to use the FloatMgr with PRCTools. It seems that __FLOATMGR_H__ is defined somewhere during compilation. So, when I include FloatMgr.h, the header file is effectively ingnored. I even put the #include in the first line of my file but still no go. I can't declare any variab

RE: "MemoryMgr.c, Line:4340, NULL handle"

2001-02-20 Thread Yu, Ken [IT]
Look in the log files. You can narrow it down to the events that trigger the error. Another tip is to use the Palm Reporter to monitor the execution of your program during a gremlin test. -Ken > -- > From: Richard.Johnstone[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Develope

RE: DmCreateDatabase Question - Error 0x219

2001-02-13 Thread Yu, Ken [IT]
Aaron, I envy you. how can you work on Palm and always keep a smiling face? :) -Ken > -- > From: Aaron Ardiri[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Tuesday, February 13, 2001 8:46 AM > To: Palm Developer Forum > Subject: Re: DmCreat

RE: If the text field is empty...

2001-02-12 Thread Yu, Ken [IT]
If the field is empty, NULL is returned from FldGetTextPtr(). Check for this before calling DmWrite(). -Ken > -- > From: Rochester, Dean[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Monday, February 12, 2001 4:14 PM > To: Palm Developer Forum >

RE: Global Variables

2001-02-09 Thread Yu, Ken [IT]
Globals variables are supported on Palm. However, they are only available in certain launch conditions. (e.g. you can't use them if your app is called because of a HotSync or if an alarm if fired). -Ken > -- > From: Mike Lyle[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Develope

RE: fatal reset after installing prc???

2001-02-02 Thread Yu, Ken [IT]
Are you aware that your PRC is actually executed after a HotSync? If you are not checking the launch codes, you may be executing code that can crash the Palm. A common mistake is not checking the launch code and using global variables. > -- > From: Stephen Bentley[SMTP:[EMAIL PR

RE: Retrieve Record Blank

2001-01-09 Thread Yu, Ken [IT]
Records start at 0. You've hardcoded '1' to DmQueryRecord(). Maybe that's your problem? > -- > From: [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Tuesday, January 09, 2001 11:42 AM > To: Palm Developer Forum > Subject: Ret

FloatType question

2001-01-09 Thread Yu, Ken [IT]
Does anyone know the format of a 16-bit FloatType? I need to generate this value from a conduit. Thanks a bunch, -Ken -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

RE: Debug Messaging...

2001-01-03 Thread Yu, Ken [IT]
Have you looked at the Palm Reporter?. It does exactly what you need. > -- > From: S KAR[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Wednesday, January 03, 2001 12:30 AM > To: Palm Developer Forum > Subject: Debug Messaging... > > Is there

RE: globals

2000-12-26 Thread Yu, Ken [IT]
> -- > From: Paul Nevai[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Sunday, December 24, 2000 11:47 PM > To: Palm Developer Forum > Subject: globals > > How can I acess the system globals? Is there a function or a trick for > that? > Thank

RE: "Record left locked" error using edit in place

2000-11-17 Thread Yu, Ken [IT]
he trick. > -- > From: Yu, Ken [IT] > Reply To: Palm Developer Forum > Sent: Friday, November 17, 2000 10:21 AM > To: Palm Developer Forum > Subject: "Record left locked" error using edit in place > > I am receiving this error: "Record left

"Record left locked" error using edit in place

2000-11-17 Thread Yu, Ken [IT]
I am receiving this error: "Record left locked in closed unprotected DB". I have a form with a table. One of the columns is an editable text field and is linked to a database record. If I tab into this field and then tap on the Applications icon to exit the app, I get this error. However, I do

RE: Palm Vx syncs only at 9600

2000-10-31 Thread Yu, Ken [IT]
A few of my users have reported this behavior as well. If you hard resetted, then we can rule out a hack or another program causing the problem. Maybe it IS the fault of a dirty connection, but I find it peculiar that it has happened to others and with Vx models. -Ken > -- > From:

Ryan, come back!

2000-10-24 Thread Yu, Ken [IT]
We'll be good, we promise!! -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

RE: Which pointer type to use when accessing a record?

2000-09-25 Thread Yu, Ken [IT]
You can cast it as a BytePtr but beware that certain types must start at even byte boundaries. -Ken > -- > From: Jacob Vitas Vogelstein[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Monday, September 25, 2000 10:26 AM > To: Palm Developer Forum >

RE: Corruption of text in button resource

2000-09-15 Thread Yu, Ken [IT]
Although this gets rid of the error messages, it does not eliminate the label corruption problem. -Ken > -- > From: Kevin O'Keefe[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Friday, September 15, 2000 11:33 AM > To: Palm Developer Forum > Subjec

RE: Corruption of text in button resource

2000-09-14 Thread Yu, Ken [IT]
If you're using dynamic creation of controls, there's a bug in the OS that causes this. -Ken > -- > From: Owen Flagel[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Thursday, September 14, 2000 12:08 PM > To: Palm Developer Forum > Subject: Co

RE: FrmRemoveObject() quirk

2000-09-12 Thread Yu, Ken [IT]
> -- > From: Keith Wolcott[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Monday, September 11, 2000 9:42 PM > To: Palm Developer Forum > Subject: Re: FrmRemoveObject() quirk > > Yes, it is the PrvFixupPointers bug (search the archives for mo

RE: FrmRemoveObject() quirk

2000-09-12 Thread Yu, Ken [IT]
Thanks for the replies. It reassures me that I'm not going crazy. Have any of you tried your code (dynamic creation and removal of form objects) on the 3.5 debug color ROM? On this ROM, I get "has just read from an unallocated chunk of memory." when adding a control. I think it is probably be

FrmRemoveObject() quirk

2000-09-11 Thread Yu, Ken [IT]
I am using FrmRemoveObject() to remove dynamically created objects (controls, fields). It seems that I must remove them in the reverse order that they were created. If not, I get a "App has just read directly from memory manager data structures.". I see no mention of this behavior in the docs.

RE: The Mighty Morphin Function Stack

2000-09-01 Thread Yu, Ken [IT]
Wouldn't > recordP->fields[index]=""; > be a problem? Won't the empty string become invalid once the function is exited? -Ken > -- > From: Jason Partyka[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Friday, September 01, 2000 11:36 AM > To: P

RE: Palm as engine management computer

2000-08-30 Thread Yu, Ken [IT]
A Palm can communicate with a PC @ 115,200 bits per second (HotSync max speed) which is 14,400 bytes per second. This means a byte of data can be clocked in at 14.4KHz which is greater that 9KHz. So, wouldn't this be theoretically possible? -Ken > -- > From: Richard Anderson[SM

RE: HotSync Error: Insufficient disk space. (800A)

2000-08-21 Thread Yu, Ken [IT]
This is a misleading message. I also had this occur on me when I had more than enough disk space. It turns out that it was a write permission problem. -Ken > -- > From: Adam Wozniak[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Friday, August 18,

RE: DmWriteCheck fails.

2000-08-14 Thread Yu, Ken [IT]
How do you determine 'size'? Is it large enough to store your entire record? -Ken > -- > From: Kshama Sathaye[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Monday, August 14, 2000 4:38 PM > To: Palm Developer Forum > Subject: Re: DmWriteChec

RE: Unique Record Identifyier within a database - How

2000-08-14 Thread Yu, Ken [IT]
You might want to try using a seperate category for your records. This also gives you the ability to use the category API's for data retrieval. -Ken > -- > From: Mike Davis[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Saturday, August 12, 2000 8:4

RE: OS 3.3 vs OS 3.5

2000-08-09 Thread Yu, Ken [IT]
How are you populating your tables? Are you using the method of storing the record number in the table's Row ID and then letting your CustomDrawProcedure query the database and displaying the row? If so, try to figure out which record number your CustomDrawProcedure is processing by using Palm

RE: OS 3.3 vs OS 3.5

2000-08-09 Thread Yu, Ken [IT]
Tim, I think the problem you are experiencing is that 3.5 refreshes a table more often than earlier OS's. This causes your CustomDrawProcesure's to be called when you do not expect it. They may be called at a time your record is no longer available (eg after a delete) to refresh the table. Wh