"Dan Bass" wrote:
> Is there any way you can get a PDA, and connect it to your development box?
> You'd be able to debug and step through your application to find out more
> details of what's going wrong.
>
> If not, distribute a debug build, and saturate the source with debug logging
> comments which log details of stages to disk, and allow you then to track
> where the application got to, where it didn't and what errors are coming up.
>
> Finally, ensure you're using try/catches, and get the Exception.Message and
> Exception.StackTrace to help narrow down the bugs.
Heh. Shortly after posting the original message, i did all of that. I'm a
bit annoyed at myself for not having thought of it before i complained to
y'all, but i'm pretty new to VB and PDA development and thought it might be a
compatibility thing with the PDA. (From what i'd seen, an ipaq has more
little quirks than most other PDAs.)
Fun part is, once i put the logging and exception handling in, things
magically just worked. I took the logging out, and so far it still works.
The only thing i noticed was something about a WebException (for now i just
put in a generic exception handler that catches everything and MsgBox'es the
..message for it), but that was to be expected since the PDA didn't have
internet access at the time.
I'm still curious as to why the error message appeared in the textbox as
opposed to popping up a dialog...but as long as the stuff works, i can live
without worrying too much about that.
BTW...I've noticed on most forms, when you enter a text box the input panel
pops up. On my login form, though, it doesn't. (Recall that the login form
is really an InputBox, as the "login code" is a unique id.) Is there a way
to make this happen when one uses InputBox to ask for info, or do i have to
make a real form and have an event handler show the panel?
/