RE: show/hide objects for OS < 3.2

2001-10-19 Thread Joe Programmer
I wrote: > > However, I still have a problem showing/hiding > other objects. --- Danny Epstein wrote: > There is a bug in FrmGetObjectIndex that could be > causing your problem. That must be it! At first I thought that wasn't it because if I use the ID of the BitmapFamily instead of the ID of t

Re: Formatting a floating point number to display as text with two de cimal places, i.e. calculating and displaying money

2001-10-19 Thread Steve Mann
> I have not been >able to find any routines that provide the decimal alignment that I want Search the archives of this list. There have been several postings that do what you want during the last several months. Regards, Steve Mann -- Creative Digital Publishing Inc. 1315 Palm Street, San Lu

Re: C2010022 Error using Tomcat/Servlets

2001-10-19 Thread Steve Mann
>I saw some archived postings on the C2010022 error and was wondering >whether anyone has more information on getting this error when using >servlets. Probably, but I doubt if they hang out in this forum. Regards, Steve Mann -- Creative Digital Publishing Inc. 1315 Palm Street, San Luis Obispo

C2010022 Error using Tomcat/Servlets

2001-10-19 Thread Udovic, Susan C (Susan)
I saw some archived postings on the C2010022 error and was wondering whether anyone has more information on getting this error when using servlets. I'm calling a page1.jsp which returns with content. I then submit to page2.jsp, which then does some processing and redirects to page3.jsp--this

RE: Saving structs to a database

2001-10-19 Thread Evan Wise
Ralph, First off, you can save space by saving the date/time as a DateTime type instead of two char strings with the added bonus of being able to respect the user's display preference... Secondly here is my psuedo code for writing to the DB using the following structure struct myFoo { Da

Re: Saving structs to a database

2001-10-19 Thread Jake Donham
On Fri, 19 Oct 2001, gordingin wrote: > typedef struct tag_DebugMessage > { > CharszTime[timeStringLength]; > CharszDate[dateStringLength]; > CharPtr pszMessage; > > } DEBUGMESSAGE, *pDEBUGMESSAGE; > > Here is my code that saves it. > Err i

RE: show/hide objects for OS < 3.2

2001-10-19 Thread Danny Epstein
> However, I still have a problem showing/hiding other objects. > > My form contains: > 1. a form bitmap There is a bug in FrmGetObjectIndex that could be causing your problem. See Peter's post on the subject: http://www.escribe.com/computing/pcpqa/m22435.html -- Danny @ Palm -- For informat

Saving structs to a database

2001-10-19 Thread gordingin
OK I have search high and low and still can't figure this one out. Here is my struct typedef struct tag_DebugMessage { CharszTime[timeStringLength]; CharszDate[dateStringLength]; CharPtr pszMessage; } DEBUGMESSAGE, *pDEBUGMESSAGE; Her

Formatting a floating point number to display as text with two de cimal places, i.e. calculating and displaying money

2001-10-19 Thread Edward VanVliet
I am trying to get a floating point number to display in a field with two decimal places. The code below gets a number entered by a user and adds it to a total. The total is subsequently displayed. It works OK but the answer gets displayed as x.e, instead of x.yy. As an example, if the u

Re: show/hide objects for OS < 3.2

2001-10-19 Thread Dave Johnson
In article <65518@palm-dev-forum>, Joe Programmer <[EMAIL PROTECTED]> wrote: > I am using the code below to show or hide the bitmap > and the button. On OS versions < 3.2 (I tested on > 2.0, 3.0, 3.1 , 3.3, 3.5, and 4.0), the button gets > corrupted (a sloppy rectangle is displayed at the > wron

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

show/hide objects for OS < 3.2

2001-10-19 Thread Joe Programmer
I didn't get any answers to my previous question ("corrupted labels"), so I replaced the labels with WinDrawChars/WinEraseChars as needed. However, I still have a problem showing/hiding other objects. My form contains: 1. a form bitmap 2. a Gadget (bounds determine where to draw chars) 3. anothe

Re: SerReceiveFlush problem

2001-10-19 Thread Eric W. Sirko
> I have written a program which listens to the serial port and records > certain parts of the data that it receives. I have been testing this by > sending text files over the serial port via HyperTerminal. I suspect there > is a problem with how I am flushing the buffer upon opening. The situa

Re: Popup trigger list values

2001-10-19 Thread Jamie Macleod
You can set them right in the Constructor under the properties for the popup list control. Jamie "Chris Garvey" <[EMAIL PROTECTED]> wrote in message news:65513@palm-dev-forum... > > Hello, I new to palm programming. My question is where does a Popup trigger > object in the resource editor get it'

Popup trigger list values

2001-10-19 Thread Chris Garvey
Hello, I new to palm programming. My question is where does a Popup trigger object in the resource editor get it's values. I inherited some code that uses one of these triggers to "popup" a list. I can not find where the list values come from. This is probably a stupid question, but I have look

RE: Enhanced Infrared Update

2001-10-19 Thread Danny Epstein
> The reason I'm asking is because I'm working on a design for a > game that'll use IrCOMM (among other things) for a multi-player mode and > was going to try and target Palm OS 3.0 (or even earlier if possible). We didn't make any devices with IR hardware running pre-3.0 versions of Palm OS. I h

RE: Enhanced Infrared Update

2001-10-19 Thread Brian Smith
On Fri, 19 Oct 2001, Danny Epstein wrote: > The Enhanced IR update adds support for IrCOMM. This is a protocol > defined by IrDA (the Infrared Data Association) for providing a > "virtual" serial connection over infrared. It can be used to HotSync > with a laptop without a cable. I don't know if

RE: Enhanced Infrared Update

2001-10-19 Thread Danny Epstein
The Enhanced IR update adds support for IrCOMM. This is a protocol defined by IrDA (the Infrared Data Association) for providing a "virtual" serial connection over infrared. It can be used to HotSync with a laptop without a cable. I don't know if this update also introduces the New Serial Manager.

Enhanced Infrared Update

2001-10-19 Thread Brian Smith
I'm just wondering what effects this update has as far as useability of the infrared hardware. Does it install the new serial manager or something, or is it just an addition to the connections preferences panel? I would think the former at first glance, since it also says that Palm OS 3.3 incorp

RE: Attaching the debugger post-launch in emulator

2001-10-19 Thread Danny Epstein
> You can with CW for Palm 8. Or you can use PalmDebugger. It's a low-level debugger, but often the stack crawl is enough to figure out what's going on. -- Danny @ Palm -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/f

RE: Attaching the debugger post-launch in emulator

2001-10-19 Thread Peter Epstein
You can definitely attach the PalmDebugger at that point. If you want source level debugging, you need to attach in advance. Just boot up PalmDebugger, make sure it's set to talk to POSE, then hit the Debug button in POSE, and you should be connected. Then type sc to get a stack crawl. -- Peter E

Re: What is "Event queue ful" error

2001-10-19 Thread Ben Combee
"Dave Lippincott" <[EMAIL PROTECTED]> wrote in message news:65480@palm-dev-forum... > > Seriously, don't put so many events into the queue. Allow the OS and/or > your app to handle some before adding a bunch more. If you're getting this error because you're using FldInsert or FldDelete -- don't

Re: SerReceiveFlush problem

2001-10-19 Thread Chris Chayka
<>This may sound simplistic but don't stream data before opening the serial port... problem solved. Thanks for responding Dave, however I won't have control over the data flow once this unit is in the field. I seem to have fixed this by moving my SerReceiveFlush(...) like shown below: /**

Re: how to detect that Palm Desktop is installed

2001-10-19 Thread Dave Lippincott
You would be better off sticking to the InstallAid routines in the CDK. When/if Palm changes registry entries, you would suddenly then have and app that no longer worked. The CDK won't specifically tell you that the desktop is installed but you know if Hotsync is there and then could figure out w

Re: how to detect that Palm Desktop is installed

2001-10-19 Thread GB
I was thinking maybe something like: HKEY hkey; if(RegOpenKeyEx(HKEY_CLASSES_ROOT, TEXT(".PRC"), 0, 0, &hkey) != ERROR_SUCCESS) { Application->MessageBox("In order to run this application, you must first install the Palm Desktop.", "Palm Desktop Not Found", MB

Windows and Controls

2001-10-19 Thread Júlio Fábio de O. Chagas
After use winCreateOffscreenWindows, is possible to put controls inside ? How ? Thanx %O -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Re: Does a Palm program with color work the same on Palm IIIc andSonyN710C?

2001-10-19 Thread Huy T Phan
The Clies double the resolution to 320x320. You should turn *off* the option called "High Resolution Assist" for your app. -- Huy T Phan [EMAIL PROTECTED] Maxilaris, Inc. www.maxilaris.com Excellent, Innovative Mobile Computing Solutions (TM) Date:

Re: SerReceiveFlush problem

2001-10-19 Thread Dave Lippincott
This may sound simplistic but don't stream data before opening the serial port... problem solved. - Original Message - From: "Chris Chayka" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Friday, October 19, 2001 10:04 AM Subject: SerReceiveFlush problem > Hello

Re: Database

2001-10-19 Thread Jeremy Neal Kelly
If I understand your question correctly, the problem is not so much how to create a database, but rather, how to write your data into it. With a relational database, these issues are related: you specify a schema when you create a table, and this determines what data you can store in its records.

0x10C5A936(CtlDrawControl)-link to control ID?

2001-10-19 Thread Vitaly_Romanishko
Hi, my app crashes on 0x10C5A936(CtlDrawControl). How can I find out control ID using this information? Thank you, Vitaly -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Re: What is "Event queue ful" error

2001-10-19 Thread Dave Lippincott
Seriously, don't put so many events into the queue. Allow the OS and/or your app to handle some before adding a bunch more. - Original Message - From: "Birch" <[EMAIL PROTECTED]> Newsgroups: palm-dev-forum To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Friday, October 19, 2001 6:59

Re: strtok?

2001-10-19 Thread Dave Lippincott
Will StrStr do? Details are in the Programmer's Reference. How to convert an int to float: int a; float b; b = a; or b = (float)a; // if the compiler complains - Original Message - From: "Rania Saymeh" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Friday, Oc

SerReceiveFlush problem

2001-10-19 Thread Chris Chayka
Hello all, I have written a program which listens to the serial port and records certain parts of the data that it receives. I have been testing this by sending text files over the serial port via HyperTerminal. I suspect there is a problem with how I am flushing the buffer upon opening. The s

Re: Dinamic Control

2001-10-19 Thread Brian Smith
On Fri, 19 Oct 2001, [iso-8859-1] Júlio Fábio de O. Chagas wrote: > Is possible to create dinamicaly (during execution) new controls ? > If possible, how can I do that ? On Palm OS 3.0 or later, it is. Check out the docs for CtlNewControl and its cousins. Oh, and next time? Please just post y

code

2001-10-19 Thread Venkata Tumati
Hi, Is the Imessenger source code available somewhere? I want to somehow send a email over the palm VIIx without userinterface. -Venkata -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Source code IMessenger

2001-10-19 Thread Venkata Tumati
Hi, Is the Imessenger source code available somewhere? -Venkata -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Dinamic Control

2001-10-19 Thread Júlio Fábio de O. Chagas
Is possible to create dinamicaly (during execution) new controls ? If possible, how can I do that ? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Dinamic Control creation

2001-10-19 Thread Júlio Fábio de O. Chagas
Is possible to create new controls in run-time ? If possible, how can I do that ? thanx -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Development apps or languages in use?

2001-10-19 Thread Andrew Vester (ZA)
Hi all, what are you guys using to develop your apps? I guess you needn't bore the list with your answers, you can mail me directly? Cheers Andrew ** This email and any files transmitted with it are confidential and intended sol

strtok?

2001-10-19 Thread Rania Saymeh
Hi, I was wondering if the String Manager functions for Palm OS have anything equivelant to strtok? also is there a way to switch ints to floats? thanx! -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

What is "Event queue ful" error

2001-10-19 Thread Birch
Is there anybody know how to solve "event queue full" error? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Re: palm-dev-forum digest: October 16, 2001

2001-10-19 Thread Zhe Peng Wang
Subject: Re: How to communicate between PC & Palm505 via USB? From: "GB" <[EMAIL PROTECTED]> Date: Tue, 16 Oct 2001 10:11:18 -0700 X-Message-Number: 45 Thank you for your help. I have test the USBPort.dll. But I have still a little problem. I use SrmSend in palm side to send data to PC. If I sen

Re: Does a Palm program with color work the same on Palm IIIc and SonyN710C?

2001-10-19 Thread Vo Le Phu Quy
Hi ThuNguyet, On Sony Clie N710C or N700C all support colortable bitmap. The difference is the display window size of Sony Clie when you set Hight Resolution is 320x320. :) --- ThuNguyet Nguyen <[EMAIL PROTECTED]> wrote: > Hi all, > > I try to draw an 8bit 160x160 bitmap on Palm. The > bitmap i