Re: display data on Field

2006-11-25 Thread Barry Jaques
//This is a routine that deals with a database and two fields //It updates the both fields from the record found from the //database which might look like "town-tabchr-city" //first field will have town inserted //second field will have city inserted //You can modify snippet to suit your requiremj

Re: Eclipse vs Code warrior

2006-11-22 Thread Barry Jaques
Thanks for the comments. Think I will stick with the CW devil! -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Eclipse vs Code warrior

2006-11-21 Thread Barry Jaques
I have been happily using Code Warrior for Palm for a couple of years now and decided to have a look at Eclipse to see if it could do a better job but don't understand if it even does the same thing thing. I downloaded the free installation and found it looks like a complete mess and would take

re: Problem with List (GUI)

2006-11-10 Thread Barry Jaques
Try this: UInt16 listitem; ListPtr lst; ControlType *ctrl Char* bonus; if (event->eType == popSelectEvent) { if (event->data.popSelect.listID > 1) { lst = GetObjectPtr(YourList); listitem = LstGetSelection(lst); bonus = LstGetSelectionT

Re: codewarror cache and debug getting out of sync

2006-11-07 Thread Barry Jaques
You should be able to close the offending file (not CW), open the correct file and then shut down and restart CW and it should then have the new path. Barry -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: How to exit from a loop by pressing a button?

2006-10-22 Thread Barry Jaques
I should explain ActionHandleEvent is the event handling routine in my project. EvtGetEvent(&event, 100); if (! ActionHandleEvent(&event)) {FrmDispatchEvent(&event); if (check == 1) check = 0; return errNone;} -- For information on using the PalmSource Developer Forums, or to unsubscribe

Re: How to exit from a loop by pressing a button?

2006-10-22 Thread Barry Jaques
mp;event)) {FrmDispatchEvent(&event); if (check == 1) check = 0; return errNone;} in my loop and the following script returning global value for variable 'check' which I test to break out of the loop. case ActionPauseButton: check=1; handled = true; break; This should do th

Re: Questions on Debugger

2006-10-20 Thread Barry Jaques
add, dont seem to help me as well..?? The break point should get you back to the debugger, so long as it is directly in the path of whatever function you are using on the Simulator. Try putting quite a few breakpoints in several lines to see which ones will work. Hope that helps, Barry

Re: FldDrawField causes Invalid Field Length error

2006-10-20 Thread Barry Jaques
Trevor, I am almost finished a project which needs to sublaunch MemoPad and I had a lot of trouble with memory leaks in fields. You really need to write a routine to clear every field when exiting your project, for example here is one field, static void ActionCleanUp (void) { Char * ptr; Fi

Re: Questions on Debugger

2006-10-20 Thread Barry Jaques
ack to the debugger you may insert breakpoints on selected lines in the column on the far left, just click in that column against a line and a red dot will appear. Your application will stop at that line and then you can either step or run the simulator again. Barry -- For information on using the

Re: Palm TX and Empty Calendar Records

2006-10-08 Thread Barry Jaques
Go to Palm Desktop and check your settings under Hotsync/Custom dialog. It's probably Synchronize. Just change it to something else. Barry -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: How to build Palm 5.4 ROM from QDA700 Smartphone image.bin file

2005-08-25 Thread Barry
According to the ftp directory Qoollabs gave me access to, the upgrade ROM version appears to be 77, not 78. Do you know how to tell which ROM version my smartphone is currently using? As far as upgrading my own physical QDA700, I don't think I will make the attempt unless doing so will provide

How to build Palm 5.4 ROM from QDA700 Smartphone image.bin file

2005-08-25 Thread Barry
I recieved a 12 megabyte image.bin file from Qoollabs, manufacturer of the Qool QDA700 smartphone. Can anyone provide step-by-step instructions on how to build the appropriate ROM for use in the Garnet5.4 simulator? Or can this bin file be used as is?? If so, please let me know where to install

RE: Constructor modifications are not being reflected on the screens.

2004-11-29 Thread Barry Jaques
Is it possible to install Rsrc Edit on your emulator and use that to check if all your objects are shown? Barry -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of shekar Sent: Tuesday, 30 November 2004 12:36 PM To: Palm Developer Forum Subject: Constructor

RE: string formatting

2004-11-12 Thread Barry Jaques
Have a look at This may help you understand, especially the string to double and double to string routines. Regards, Bazza -Original Message- hi i'm new to palm programming and a little lost because many things that work in ANSI C don't on

RE: convert

2004-11-11 Thread Barry Jaques
Try PDB Converter from Bazza I have an old problem which I wasn't able to resolve it. I have a client -server project which transfer data and files (only .pdb and .prc) to palm device. And now I need to transfer .xls and .doc (from office). How can I convert those files to pdb or prc format

RE: How to use StrCopy?

2004-10-26 Thread Barry Jaques
Mike, Could you try something like this: gHandle = MemHandleNew(1000); //MemHandleFree(gHandle); //delete this line gPointer = MemHandleLock(gHandle); StrCopy(gPointer,"frmOverview"); StrCopy(gFormValue, gPointer); MemHandleUnlock(gHandl

Time Functions

2004-08-30 Thread Barry Jaques
input and results look like. My question, is there any additional documentation covering this aspect of programming for Palm that would help. Regards, Barry -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

String to MemHandle

2004-07-31 Thread Barry Jaques
manipulate the data (as stings) prior to displaying the result in a text field. Grateful for any help, Barry -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

HotSync : No association found for creator ID

2004-06-23 Thread Paul Barry Delongchamps
the conduit so I can test it. If anyone can tell me what to do to be able to try my conduit, I’ll be glad. Thank in advance. Sincerely yours, Paul Barry Delongchamps. - Groupe E.S.I.E.A. www.esiea.fr -- For information on using the Palm Develope

Re: Multiple Databases

2004-06-22 Thread Barry Jaques
Thanks for that Bob, Have a good day (or night), Barry On 22/06/2004 at 7:22, [EMAIL PROTECTED] (Robert Moynihan) wrote: > Barry, you can certainly have more than one database for an > application. I could be that Memopad is only designed to expect one > database, so it probably j

Multiple Databases

2004-06-22 Thread Barry Jaques
e and type in the snippet I would get a similar crash in POSE. This seems to suggest that either only one database can be put into an app or that only one database can be used in the MemoPad app. Thanks, Barry -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: tuts

2004-06-12 Thread Barry Jaques
.palmos.com/dev/support/forums/ Hello Geoff, Yes, I am looking for the same thing. I have a good book on C but there is a big credibility gap between C and how it is used on the Palm. Let us know if you find anything. Barry -- For information on using the Palm Developer Forums, or to unsubs

Re: Help with StrCopy

2004-06-12 Thread Barry Jaques
have wasted hours working on the wrong solution to the problem. Will let you know if I get it working thanks. Cheers, Barry On 12/06/2004 at 8:50, [EMAIL PROTECTED] (Dana Long) wrote: > Barry, > > Char *StrCopy (Char *dst, const Char *src) is failing because you are > tyring to

Help with StrCopy

2004-06-12 Thread Barry Jaques
opaque*'. Sorry this is just trial and error but my C knowledge is very limited and none of the Palm docs or books are game to talk about the topic of getting data into fields. I can get the data into the field OK but I am trying to prevent editing the mem

Re: Database to Field

2004-06-09 Thread Barry Jaques
Thanks Dana, I'll try that. Cheers, Barry On 09/06/2004 at 8:46, [EMAIL PROTECTED] (Dana Long) wrote: > Barry, > > DmQueryRecord doesn't prevent anything. It just doesn't set the busy > bit. You'll need to allocate another handle and StrCopy the text from >

Re: Database to Field

2004-06-09 Thread Barry Jaques
FldSetTextField. All I want to do is get the record from Memo Pad and then use it in my app. I guess I should be able to quickly close the database as soon as I have the record. Barry -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev

Re: Database to Field

2004-06-03 Thread Barry Jaques
Many thanks for your comments and time Chris. You have given me a sense of direction. Barry On 04/06/2004 at 9:29, [EMAIL PROTECTED] (Chris Tutty) wrote: > > >The Palm OS Reference is extremely cryptic and the samples are sparse. > > > I've worked on a lot of platf

Re: Database to Field

2004-06-03 Thread Barry Jaques
tRecord); Sorry if I have not explained this very well but there seems to be a lack of information on how to assemble a lot of the code for Palm OS. The Palm OS Reference is extremely cryptic and the samples are sparse. Regards, Barry -- For information on using

Re: Database to Field

2004-05-27 Thread Barry Jaques
conflict with the inbuilt memo and would eventually get to the truth. Cheers Barry On 26/05/2004 at 17:05, [EMAIL PROTECTED] (Baxter) wrote: > DmQueryRecord returns a handle. When you lock that handle, you get a Memory > Pointer - essentially a void*. Simply cast it to whatever you need. &g

Database to Field

2004-05-26 Thread Barry Jaques
rmat"? It would be nice to find this out, no thanks to the authors of these useless books but if not I will have to do it the hard way and strip down the Memo or Address sample to the bare bones to find out what the secret is. Cheers, Barry -- For information on using the Palm Develope

Re: Constructor vs PilRC

2004-05-26 Thread Barry Jaques
Window people have told me they think Constructor is 'flaky'. I find it the other way around but maybe it's just because I'm running Windows on a Mac or something. Hope this helps. Barry On 26/05/2004 at 9:56, [EMAIL PROTECTED] (Jim Leno) wrote: > It's been a few ye

Re: converting pdb to text file

2004-05-26 Thread Barry Jaques
It's PDB Converter from http://www.mverive.com/pdbcvtlite.zip and it's free. Barry On 26/05/2004 at 12:09, [EMAIL PROTECTED] (Chris Tutty) wrote: > There is a free desktop app that converts pdbs to csv files and I found > that the best free option if that's all you want

Database to Field

2004-05-25 Thread Barry Jaques
e really grateful if anyone can provide a tip. Regards, Barry static void ReadRecord (FormPtr frmP) { Boolean handled = false; FormType*form; FieldType *field; MemHandle recordH; MemHandle oldTextH; MyRecordType*record; UInt16 index = 0; WChar

Re: Duplicate a Resource Database?

2004-05-23 Thread Barry Jaques
Hi, RsrcEdit from http://www.quartus.net should do that. Bazza On 23/05/2004 at 13:05, [EMAIL PROTECTED] (R. Zane Rutledge) wrote: > Hey Palm gurus: > > Is there a fairly trivial way to simply duplicate a resource database > on your Palm, directly as in code/APIs? I just need (essentially) a

Re: GetMemo

2004-05-20 Thread Barry Jaques
I take the liberty of replying to my request. Checked the NSBasic web site and found my answer in the download samples, ReadData by John Kelly, and John has already done most of the hard work the easy way reading the memo data. Thanks John. Oh well, start again from scratch! Barry On 19/05/2004

Re: GetMemo

2004-05-19 Thread Barry Jaques
Found them thanks Ben but none of those examples answer my question. I suspect I may be doing this memo pad exchange the hard way but good for the exercise I suppose. When I get it to work I will have a go at accessing the db. Cheers, Barry On 19/05/2004 at 9:31, [EMAIL PROTECTED] (Ben Combee

GetMemo

2004-05-19 Thread Barry Jaques
have almost got the exchange manager doing this. However I think I may be barking up the wrong tree and maybe I should be simply reading the memo pad database records. Does anyone out there know the right way to do this? Any help greatly appreciated... Regards, Barry -- For information on using

Re: Treo Rom

2003-01-14 Thread Barry Peet
> developers program. In fact, I am not sure it's > a good idea to publicly (on a mailing > list frequented by PalmSource employees) ask for > people to violate this agreement ;-) You're right, but i'm getting a bit desparate here... I'm running out of options here... Barry -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Treo Rom

2003-01-13 Thread Barry Peet
e ROM by USB... So, can someone PLEASE provide me with the Treo rom (i'm developing a treo app, and want to test it in POSE) Thans in advance! Barry -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

MailPlusDB format?

2002-12-10 Thread Barry Peet
Is there anyone that knwos how to write an entry in the MailPlusDB used in the mailplus client (which is included in the Extended Connect Software)? Regards, Barry -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

responding to sysAppLaunchCmdGoTo

2002-11-19 Thread Barry Peet
ncher screen is shown). Anyone has an idea what the problem is? Regards, Barry -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

strange FindStrInStr behaviour..

2002-10-21 Thread Barry Peet
if (p->LastName && FindStrInStr(p->LastName,strToFind) return true; else return false; } Anyone has any idea what could be the cause of this problem? Regards, Barry -- For information on using the Palm Deve

Select complete row in table

2002-10-04 Thread Barry Peet
Does anyone know if (and how) it is possible to select an entire row in a table (which has multiple columns)? Thus: I do not want to select a single column, but instead select the complete row (as with the standard Address application) Regards, Barry -- For information on using the Palm

Install hotsync only...

2002-09-12 Thread Barry Peet
With the installation of my Desktop program (via InstallShield for example), I'd like to install the HotSync only (so without the complete Palm Desktop). Is this possible, and ifso, how? Thanx! Barry -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Set system sound

2002-09-11 Thread Barry Peet
hen I use that API in my application, I can go to the 'prefs' built-in application and the sound popup registers as 'off' - yet, system sounds are still generated. Anyone knows howto solve this problem? Barry -- For information on using the Palm Developer Forums, or to unsu

Automaticly popup keyboard...

2002-09-06 Thread Barry Peet
o the keyboard pops up? Thanx in advance! Barry -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Object array?

2002-09-03 Thread Barry Peet
Is it possible to create an object array with PalmOs? (as is for example possible in VB) For example:lblName[0]... lblName[9] This way, I can assign text to buttons or labels runtime, instead of creating a piece of code for each object... Thanx in advance, Barry -- For information on

Set button frame bold

2002-09-02 Thread Barry Peet
Is it possible to set the frame of a button to bold in runtime? Ifso, how? Regards, Barry -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Wildcards with search in DB

2002-08-19 Thread Barry Peet
first few characters of either. Or do I have to build a function like this myself in the CompareRecord() function? Thanx in advance! Barry -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Create 'mailto' link in standalone Palm app

2002-08-18 Thread Barry Peet
Is it possible to create some sort of 'mailto' link in a standalone Palm application. What I want it to do (when clicked) is to create a (preconfigured) mail in the outbox of the (standard) Palm mail application... Anyone knows how this can be done? Barry -- For information on

Relational DB developing

2002-07-29 Thread Barry Peet
e relational db's on the Palm in my own developed application? (so i'm not talking about ThinkDb etc). Thanx in advance! Barry -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/