StrNCat trouble...

2008-05-29 Thread Sam Trimble
Hey, I'm using the following code to create a string 1 charater at a time... but the StrNCat function only works the first time through... any help on this would be appreacated... while(StrNCompare(msg[CharNum], , 1)) /*while the charater doesn't equal a */ { StrNCat(String,

Re: Screen clearing

2008-05-29 Thread Sam Trimble
Yea... WinEraseWindow()... yea it only erases the contents of the window, which is all you really need to do in this case, it clears the screen pretty good on my palm Steve Jackson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Regarding: Or on the line before you call your

Re: TxtFindString Error....

2008-05-29 Thread Sam Trimble
Thanks, that solved the Null problem anyway... But now I'm wondering if the function even works the way it is supose to.. It always returns a 0 for 'someULong' even though I know it isn't suppose to be... McMicken, Steven [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Just a guess,

TxtFindString Error....

2008-05-29 Thread Sam Trimble
Hey, I'm trying to use the following code to get the starting posistion of a string but I always get a NULL result ptr error. Can someone help me out on what I'm doing wrong here? ULong someULong = 0; if (TxtFindString(myCharPtr, String I'm Searching For, someULong, NULL)); -- For

Re: Screen clearing

2008-05-29 Thread Sam Trimble
Or on the line before you call your FrmGotoForm you can call WinClearWindow() which will clear the entire screen. Sam Change your form to modal, then check the box that says Save Behind (in Constructor). When you execute your FrmGotoForm next, it will clean up the first form and draw the new

Re: Dynamic ScrollBars ????

2008-05-29 Thread Sam Trimble
I don't think you would even need to put the bitmaps on top of them... if you set the repeating buttons font to 'symbol 7' and inter a 01 hex label value for a up icon and a 02 hex label value for a down icon. They wont show up in the constructor like that but while running the icons are there...

CharPtr's and FrmCustomAlert

2008-05-29 Thread Sam Trimble
Is there a way to put a CharPtr into a FrmCustomAlert? I'm using the following syntax (FrmCustomAlert(Alert, CharPtr, ,)) and it doesn't display the string properly... it gets cut off and garbage gets put on the end. And sometimes it doesn't even compile when I have it like this... Is there

Re: Debugging w/ Palm

2008-05-29 Thread Sam Trimble
My IDE is already all configured and everything, and I killed HotSync... but I still get a Failed to connect. error. Does the palm show any reconignition of you entering 'shortcut'..2? [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] First of all, your IDE must be configured in the

Re: Debugging w/ Palm

2008-05-29 Thread Sam Trimble
It doesn't seem to be doing anything. And when I run the debugger it brings up the Failed to connect to remote error everytime. Is there some special place i have to enter this? Nesse, Rustin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] In Codewarrior, you just plop the Palm in the

Debugging w/ Palm

2008-05-29 Thread Sam Trimble
Hey, Is there any way to debug w/ the normal palm device instead of the emulator? If so... how would I go about doing this? -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/

Garbage CharPtr

2008-05-29 Thread Sam Trimble
Hey, I have a global CharPtr being used a whole lot and the length of it can get from 35 to 350 chars long. But whenever I change any other variables in my code it gets cut off and I get garbage in it. Is there some way to keep other things from interfereing w/ my string? -- For information

If From Launcher?

2008-05-28 Thread Sam Trimble
Is there any way of finding out if the main launcher app called your program or another app called it? Thanks.. -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/

Re: Serial Debug W/ Visor...

2008-05-28 Thread Sam Trimble
Ok, that worked to show the debug window... but it doesn't stop at any of my breakpoints... and i can't beam anything to it while it's running... the visor i'm trying to beam from can't find the visor i'm debuging. -- For information on using the ACCESS Developer Forums, or to

Serial Debug W/ Visor...

2008-05-28 Thread Sam Trimble
Hey, I'm trying to debug with the palm in a serial cradle. But all I get is a blank screen on the visor and the debug windown in codewarrior doesn't even come up. All of the codewarrior settings are correct, i quit hotsync, i entered the ..2 shortcut on the visor, and i tell codewarrior to

Re: How do I get creatorID

2008-05-28 Thread Sam Trimble
Since you know your creatorID all you will need to pass to this function is the creatorID. Example: CallApp('crID'); Charlie Grant [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I am developing applications on a Symbol SPT1700 using Palm OS 3.2. I am trying to run one of my

Re: How to change Palm Owner?

2008-05-28 Thread Sam Trimble
Yea... I had the same problem not too long ago.. I had to do a hard reset on one of them inorder to give it a new owner name. Arek Jaszcz [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I am fortunate enough to own two Palms (a IIIxe and VIIx). I made the unfortunate mistake of

Re: Razor! Game Engine

2008-05-28 Thread Sam Trimble
Hey, I downloaded your game engine, it looks pretty cool. But I'm using Code Warrior and when I tried to compile it I got a error saying Couldn't Find Compiler 'PilRC' What does this mean? Where is the compiler? Tilo Christ [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello! I

Re: Launch From Flash Module??

2008-05-28 Thread Sam Trimble
Thanks...that worked... by the way, where can I get the Handspring manuals? Nesse, Rustin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hey Sam, I figured it out. In the Handspring manual, I looked it up, and I guess it's explained like this: Section II - 16, DkManual.pdf,

Re: Launch From Flash Module??

2008-05-28 Thread Sam Trimble
which application is it that automaticly launches? I looked through the source code they give you and it doesn't look like they are intercepting any system event or anything when the card gets inserted I sure hope it isn't put into their hardward Nesse, Rustin [EMAIL PROTECTED] wrote in

Re: Launch From Flash Module??

2008-05-28 Thread Sam Trimble
I mean... when you plugin the Springboard it launches your app... w/out any user input... Nesse, Rustin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Do you mean, when an application is transferred to the Springboard module using the File Mover application? The Visor itself uses

Launch From Flash Module??

2008-05-28 Thread Sam Trimble
Hey, Does anyone know how to launch a custom app from a visor flash card when it get inserted into the visor?? -- Samuel Trimble - Extended Technology Systems Extending Information Via HandHeld Computer Technology Web site:

Re: Speaking of pluggedin.palm.com...

2007-01-02 Thread sam . trimble
I'm having the same problem, I haven't been able to get in since mid-December. I wish I knew this would happen before I upgraded my system. Now I have no way to get their Treo 650 SDK. If anyone has a copy of this they can send me or a link to it, it would be greatly appreciated. -- For

Problem w/ PalmAddressBook lookup?

2002-03-28 Thread Sam Trimble
I've run into quite an unusual dilemma. I'm launching the PalmAddressBook using the 'sysAppLaunchCmdLookup' to do a lookup of all of the address'. As specified in AppLaunchCmd.h, if you set the 'field2Optional' Boolean to true it shouldn't require the second lookup field to be populated for it to

Is '0' a valid UniqueID?

2001-11-13 Thread Sam Trimble
Hey, I've got a bit of a problem. I'm currently testing a UInt32 against a '0' to see if it is a valid UniqueID or not. EX: if (uniqueID). What I need to know is if I am in the wrong in doing this. Will '0' ever be a valid UniqueID under PalmOS? I'm not familiar w/ how PalmOS generates

Re: Change ScrollBar Bounds at runtime?

2001-10-23 Thread Sam Trimble
You can use 'FrmSetObjectBounds(FormPtr, ObjectIndex, RectanglePtr)' to set the bounds of a scrollbar...I'm using it to do the same quite successfully. -- Samuel Trimble - Extended Technology Systems Extending Information Via

Emulator Or Palm?

2001-09-10 Thread Sam Trimble
Does anyone know how to tell if the app is running on an Emulator or on a real Palm? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Re: Hack in ExgMgr???

2001-09-05 Thread Sam Trimble
The hack works as follows. Both Datebook events and To Do tasks are encoded as vCalendar objects. The vCalendar spec also supports collections of events and tasks, including heterogeneous collections (a mix of both types), although Palm devices won't generate such vCalendar objects. Datebook

Is HotSync Running?

2001-09-05 Thread Sam Trimble
I'm current patching DmDeleteDatabase (for specific needs of my app) but I'm running into some problems when installing a new version of the app over the top of an older version (because DmDeleteDatabase gets called to delete the old version). So I need to know, in my hack, whether or not the

App Preferences?

2001-09-04 Thread Sam Trimble
Is there a way to delete an apps preferences? I need to be able to but I didn't see anything having to do w/ it in the 'PalmOSReference'. Does anyone know how to do this? thanks. -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: App Preferences?

2001-09-04 Thread Sam Trimble
Read the latest version of the Palm OS Reference, the update to the one that shipped in the 4.0 SDK. It indicates that using PrefSetAppPreference with a NULL source pointer and a zero source length will delete the pref. Will this work in PalmOS 3.1 or just in the later OS versions? Thanks

Hack in ExgMgr???

2001-09-04 Thread Sam Trimble
I need to be able to intercept a beam from the PalmOS ToDo application but I'm having a problem. It seems (according to line 348 in 'ToDoTransfer.c' of the sample ToDo application) that there is a hack in the OS to redirect the beam to the Datebook application. I have been unable to receive

Re: Can't Display Form in Hack

2001-09-04 Thread Sam Trimble
pNewForm = FrmInitForm(PleaseWaitForm); It is the hack that is running... not your app. There is no access to your resource file. Samuel Trimble - Extended Technology Systems Extending Information Via HandHeld Computer Technology

Re: DaySelect Garbage??

2001-06-14 Thread Sam Trimble
That was the problem... Thank you David Fedor [EMAIL PROTECTED] wrote in message news:53062@palm-dev-forum... All I want to do is just allow the user to select a date, I'm using the following code but when the SelectDay form pops up I get garbage as the titles for the days (EX: instead

DaySelect Garbage??

2001-06-13 Thread Sam Trimble
All I want to do is just allow the user to select a date, I'm using the following code but when the SelectDay form pops up I get garbage as the titles for the days (EX: instead of the day titles saying SMTWTFS I get Cl tepe) static void DayViewGoToDate() { Char*DateTitle; Int16

Re: DaySelect Garbage??

2001-06-13 Thread Sam Trimble
Ok, I replaced DateTitle w/ a hardcoded string Go To Day to no avail. I'm still get the garbage at the top Alvin Koh [EMAIL PROTECTED] wrote in message news:52981@palm-dev-forum... Looks like DateTitle is the culprit. Test by replace DateTitle in SelectDay() with a constant string,

Popup Trigger In Table

2001-05-21 Thread Sam Trimble
How do I set the label of a popup trigger in a table? I know you can do a TblSetItemPtr w/ the pointer to the list and a TblSetItemInt w/ the selection from the list and the text of that selection will show up in the popup trigger... I Do Not Want It To Do This. I want to display some other text

Change MenuBar MenuID's?

2001-03-22 Thread Sam Trimble
In Constructor is there anyway to change the ID's of the Menus that a MenuBar points to? When I make Menus from inside a MenuBar it automaticly puts ID's on the new menus... but I want to change these ID's and still have the MenuBar point to them? Can I do this at all? -- For information on

How to delete application?

2001-03-21 Thread Sam Trimble
How can you delete an application through code? I've tried this many different ways and I've included some code that I was trying to use but it doesn't anywhere near work... Does anyone know how to do this? static void DelProgram(UInt32 DBType, UInt32 CreatorID, CharPtr DelName) { Char

Re: How to make an Application hidden?

2001-02-28 Thread Sam Trimble
In the project preferences under PalmRez Post Linker you just set the app type to something other than 'appl' -- Samuel Trimble - Extended Technology Systems "Extending Information Via HandHeld Computer Technology" Web site:

Clean up....

2001-02-21 Thread Sam Trimble
I'm using the following code to create a string list for a list and when I exit the app I'm getting "SystemMgr.c Line:4192, Possible memory leak." Would anyone let me know what kind of clean up I need to do after doing this. Thanks... CharCurItem[35]; CharPtr *AllItems; VoidHand txtH;

3.1 to 3.5 Stationary

2001-02-16 Thread Sam Trimble
Does anyone know where could I get some information on converting my project from 3.1 stationary to 3.5? Thanks... -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Horizontal Field Scrolling...

2001-02-10 Thread Sam Trimble
Is there anyway to keep a field from word wraping and have a horizontal scrollbar to scroll the text? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

POSE Setup...

2001-01-31 Thread Sam Trimble
How can you setup POSE running on the desktop to sync through HotSync? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Re: Visual Basic to Palm!

2001-01-11 Thread Sam Trimble
Correct me if I'm wrong... but I don't think AppForge supports controls other than their specific set yet Samuel Trimble - Extended Technology Systems "Extending Information Via HandHeld Computer Technology" Web site:

Re: PrefGetAppPreferences Question...

2001-01-04 Thread Sam Trimble
Ok, It's working now.. Thanks... I totally spaced that I was saving a CharPtr. I guess that's what you get for trying to write code at 2AM -- Samuel Trimble - Extended Technology Systems "Extending Information Via HandHeld Computer

PrefGetAppPreferences Question...

2001-01-03 Thread Sam Trimble
I have a question... does PrefGetAppPreferences work the way it is suppose to? I've started doing some things with this and it's counterpart PrefSetAppPreferences to save some preferences in my app and everything works great... until I exit the program. When I come back in all of my Char

Re: PrefGetAppPreferences Question...

2001-01-03 Thread Sam Trimble
uot;Dave Carrigan" [EMAIL PROTECTED] wrote in message news:34572@palm-dev-forum... "Sam Trimble" [EMAIL PROTECTED] writes: I have a question... does PrefGetAppPreferences work the way it is suppose to? Yes, why wouldn't it? I've started doing some things with this and

Show Menu?

2001-01-02 Thread Sam Trimble
I'm trying to show a menu when the user taps a button on the form. I'm trying to use MenuDrawMenu to draw the menu when the user clicks on the button but this API needs a pointer to the menu and every time I try to get a pointer to it I always get a "Object Not In Form" error making me reset...

Getting Row Text?

2000-12-20 Thread Sam Trimble
Hey, Does anyone know how to get the text of a certain row/column in a table using CW? I've tried many diffrent things and I can't find anything that does what I want it to. Thanks -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: CW r7.

2000-12-19 Thread Sam Trimble
I got a chance to play around with the AppForge stuff at palm source quite a lot up in the labs until 1AM Most of it looks pretty good (assuming you are familliar w/ VB syntax and everything) There are a couple things that AF doesn't support yet... such as Color, the "With" statement (in VB),

Catching A Backspace?

2000-12-15 Thread Sam Trimble
Hey, Does anyone know how to catch when a backspace is entered? I need to be able to trap this somehow... Thanks... -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Is Private?

2000-12-11 Thread Sam Trimble
How do you find out if private records are hidden or shown? Thanks... -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

If From Launcher?

2000-11-16 Thread Sam Trimble
Is there any way of finding out if the main launcher app called your program or another app called it? Thanks.. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Serial Debug W/ Visor...

2000-11-15 Thread Sam Trimble
Hey, I'm trying to debug with the palm in a serial cradle. But all I get is a blank screen on the visor and the debug windown in codewarrior doesn't even come up. All of the codewarrior settings are correct, i quit hotsync, i entered the ..2 shortcut on the visor, and i tell codewarrior to

Re: Serial Debug W/ Visor...

2000-11-15 Thread Sam Trimble
Ok, that worked to show the debug window... but it doesn't stop at any of my breakpoints... and i can't beam anything to it while it's running... the visor i'm trying to beam from can't find the visor i'm debuging. -- For information on using the Palm Developer Forums, or to unsubscribe,

Re: How do I get creatorID

2000-11-14 Thread Sam Trimble
Since you know your creatorID all you will need to pass to this function is the creatorID. Example: CallApp('crID'); "Charlie Grant" [EMAIL PROTECTED] wrote in message news:29998@palm-dev-forum... I am developing applications on a Symbol SPT1700 using Palm OS 3.2. I am trying to run one

Re: How to change Palm Owner?

2000-11-07 Thread Sam Trimble
Yea... I had the same problem not too long ago.. I had to do a hard reset on one of them inorder to give it a new owner name. "Arek Jaszcz" [EMAIL PROTECTED] wrote in message news:29416@palm-dev-forum... I am fortunate enough to own two Palms (a IIIxe and VIIx). I made the unfortunate

Re: Razor! Game Engine

2000-11-04 Thread Sam Trimble
Hey, I downloaded your game engine, it looks pretty cool. But I'm using Code Warrior and when I tried to compile it I got a error saying "Couldn't Find Compiler 'PilRC'" What does this mean? Where is the compiler? "Tilo Christ" [EMAIL PROTECTED] wrote in message news:29126@palm-dev-forum...

Launch From Flash Module??

2000-10-26 Thread Sam Trimble
Hey, Does anyone know how to launch a custom app from a visor flash card when it get inserted into the visor?? -- Samuel Trimble - Extended Technology Systems "Extending Information Via HandHeld Computer Technology" Web site:

Re: Launch From Flash Module??

2000-10-26 Thread Sam Trimble
which application is it that automaticly launches? I looked through the source code they give you and it doesn't look like they are intercepting any system event or anything when the card gets inserted I sure hope it isn't put into their hardward "Nesse, Rustin" [EMAIL PROTECTED] wrote

Re: Launch From Flash Module??

2000-10-26 Thread Sam Trimble
Thanks...that worked... by the way, where can I get the Handspring manuals? "Nesse, Rustin" [EMAIL PROTECTED] wrote in message news:28197@palm-dev-forum... Hey Sam, I figured it out. In the Handspring manual, I looked it up, and I guess it's explained like this: Section II - 16,

Re: Screen clearing

2000-06-27 Thread Sam Trimble
Yea... WinEraseWindow()... yea it only erases the contents of the window, which is all you really need to do in this case, it clears the screen pretty good on my palm "Steve Jackson" [EMAIL PROTECTED] wrote in message news:15468@palm-dev-forum... Regarding: Or on the line before you

StrNCat trouble...

2000-06-27 Thread Sam Trimble
Hey, I'm using the following code to create a string 1 charater at a time... but the StrNCat function only works the first time through... any help on this would be appreacated... while(StrNCompare(msg[CharNum], "", 1)) /*while the charater doesn't equal a "" */ { StrNCat(String,

Re: Dynamic ScrollBars ????

2000-06-26 Thread Sam Trimble
I don't think you would even need to put the bitmaps on top of them... if you set the repeating buttons font to 'symbol 7' and inter a "01" hex label value for a up icon and a "02" hex label value for a down icon. They wont show up in the constructor like that but while running the icons are

CharPtr's and FrmCustomAlert

2000-06-22 Thread Sam Trimble
Is there a way to put a CharPtr into a FrmCustomAlert? I'm using the following syntax (FrmCustomAlert(Alert, CharPtr, "","")) and it doesn't display the string properly... it gets cut off and garbage gets put on the end. And sometimes it doesn't even compile when I have it like this... Is there

Garbage CharPtr

2000-06-21 Thread Sam Trimble
Hey, I have a global CharPtr being used a whole lot and the length of it can get from 35 to 350 chars long. But whenever I change any other variables in my code it gets cut off and I get garbage in it. Is there some way to keep other things from interfereing w/ my string? -- For information

Debugging w/ Palm

2000-06-21 Thread Sam Trimble
Hey, Is there any way to debug w/ the normal palm device instead of the emulator? If so... how would I go about doing this? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Re: Debugging w/ Palm

2000-06-21 Thread Sam Trimble
It doesn't seem to be doing anything. And when I run the debugger it brings up the "Failed to connect to remote" error everytime. Is there some special place i have to enter this? "Nesse, Rustin" [EMAIL PROTECTED] wrote in message news:14957@palm-dev-forum... In Codewarrior, you just plop the

Re: Debugging w/ Palm

2000-06-21 Thread Sam Trimble
My IDE is already all configured and everything, and I killed HotSync... but I still get a "Failed to connect." error. Does the palm show any reconignition of you entering 'shortcut'..2? [EMAIL PROTECTED] wrote in message news:14965@palm-dev-forum... First of all, your IDE must be

Cut/Paste/etc... Meun commands

2000-06-14 Thread Sam Trimble
Does anyone know how to implement the basic Cut/Paste/etc... menu commands into their app? TIA.. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Number of Fields

2000-06-07 Thread Sam Trimble
Hey, Does anybody know of anyway to get the number of fields in a database and what type of a field it is? TIA.. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Re: Number of Fields

2000-06-07 Thread Sam Trimble
Well.. What I need to be able to do is like send a DmOpenRef pointer(or something like that) to a function and somehow in that function find out how many fields there are in my database... "William F. Weiher III" [EMAIL PROTECTED] wrote in message news:13590@palm-dev-forum... Databases on the

Re: Number of Fields

2000-06-07 Thread Sam Trimble
Yea, I personally know how many fields are in my database cause I created it. Ok, say there are 5 fields, is there any way to programmiticly go through and count all 5 fields and return the number in an integer form, or would I just have to tell it that there are 5 fields? Ex: is there someway i

If Statment on CharPtr's

2000-04-22 Thread Sam Trimble
Hey, Does anybody know a way to do a if-type statment on a CharPtr? I'm trying to use a basic one which I have an example of below but it always skips over it like it doesn't equal even if it does. Anybody have any idea on how to do this? Ex: if ( CharPtr == "thistext") do this; Anything

Re: Frist App, where(what) is BDWM?

2000-04-06 Thread Sam Trimble
In the AppSettings under the Debugger Settings, is the field "Location of Relocated Libariesetc.." blank? I had that same problem and clearing this field worked for me. I don't know if it will or not for you thoughI hope I was of some assistance. "Nick Torenvliet" [EMAIL PROTECTED]

Bitmap Problems....

2000-04-03 Thread Sam Trimble
Hey, I have a 150x118 bitmap that I'm trying to put into a form. But when I assign the BitmapResource of the FormBitmapControl to the resource of the bitmap, the FormBitmapControl doesn't resize...it stays at 16x16 and I don't see any way to change the size of the Ctl. So instead I tried using a