Re: "Unexpected error" strangeness...(ipaq vb.net)
From: Daniel Moth (dmoth74_at_hotmail.com)
Date: 01/04/05
- Next message: Daniel Moth: "Re: InputBox SIP? (was Re: "Unexpected error" strangeness...(ipaq vb.n"
- Previous message: Daniel Moth: "Re: System.Windows.Forms.ComboBox.KeyDown does not work"
- In reply to: Dan Bass: "Re: "Unexpected error" strangeness...(ipaq vb.net)"
- Next in thread: Dan Bass: "Re: "Unexpected error" strangeness...(ipaq vb.net)"
- Reply: Dan Bass: "Re: "Unexpected error" strangeness...(ipaq vb.net)"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 4 Jan 2005 21:09:16 -0000
> Finally, ensure you're using try/catches, and get the Exception.Message
> and Exception.StackTrace to help narrow down the bugs.
Just to be clear, Exception.StackTrace is not supported on CF 1.0
Cheers
Daniel
-- http://www.danielmoth.com/Blog/ "Dan Bass" <danielbass [at] postmaster [dot] co [dot] uk> wrote in message news:eK6GvV17EHA.3840@tk2msftngp13.phx.gbl... > 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. > > Good luck! > > > "I HATE PDAs" <I HATE PDAs@discussions.microsoft.com> wrote in message > news:6DF4A1AF-BE8C-4E69-BB6B-416D323B3DA3@microsoft.com... >> I've written an app that contacts a web server in order to log in, grab >> and >> display info based on serial numbers entered, and add the info to a >> "cart" of >> sorts on the web server. It's in vb.net, and uses InputBox(...) for the >> login form (which is shown in the main form's Load event handler) and >> HttpWebRequest objects to communicate with the server. >> >> The app ran fine in the emulator that comes with vs.net 2003, so i made >> an >> msi of it and shared it for testing. The installer appeared to work fine >> as >> well, but upon running the program we see all sorts of strangeness... >> >> * The input panel doesn't appear on the menu bar for the login form (a >> modal >> dialog a la InputBox). >> * MSN Messenger is the active form when the login form is closed. >> Messenger >> was not running when the app started. >> * The tester has a keyboard installed, and managed to fill in the login >> form. Once he hit "ok", the main form popped up....but immediately, a >> message about an "unexpected error" appeared--IN THE INFO TEXTBOX. No >> dialog, no "details" button, none of that. The error appeared, the main >> form >> stayed for another half second or so, and then the app died. >> * All this happens every time the app runs. I'd probably see more >> strangeness if i could keep it running. :P >> >> The testing PDA is an iPaq 5450 (PPC 2002, windows v3.0.11171 [build >> 11178]) >> with .net CF v1.0 SP2. The emulator appears to be running .net v1.0, but >> the >> windows version number is identical to the PDA's. Both machines have >> plenty >> of memory left. > >
- Next message: Daniel Moth: "Re: InputBox SIP? (was Re: "Unexpected error" strangeness...(ipaq vb.n"
- Previous message: Daniel Moth: "Re: System.Windows.Forms.ComboBox.KeyDown does not work"
- In reply to: Dan Bass: "Re: "Unexpected error" strangeness...(ipaq vb.net)"
- Next in thread: Dan Bass: "Re: "Unexpected error" strangeness...(ipaq vb.net)"
- Reply: Dan Bass: "Re: "Unexpected error" strangeness...(ipaq vb.net)"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|