Hourglass after application exit

H

Harry Simpson

I've just ported my app to VS2005 CF2 SQLCE 3.1 app. Everything works great
cept when I exit the app using the OK box the app immediately ends and an
hourglass appears and runs until I do anything else and it promptly
disappears. Weird eh. Didn't used to do this at all in VS2003 CE2 CF1.1
etc.....

Any ideas?

Harry
 
H

Harry Simpson

No Ginny. I have some eventhandlers I remove is all.
RemoveHandler txtPassword.LostFocus, AddressOf MyScanner.LostFocusHandler

I almost always just use the debug version. I'm trying the "release"
version to see if it does it too......It's almost like something outside the
app runs immediately upon the app closing completely.....nope in the release
version, doing the same thing.....the hourglass isn't modal - if you do
anything else it goes away just fine and doesn't case trouble.....it is a
visualy thorn in my side and gonna confuse users for sure.

Thanks

Harry
 
G

Ginny Caughey [MVP]

What happens if you comment out that code? Since you're closing down it
shouldn't matter should it?
 
H

Harry Simpson

Tried this and thought this has got to work.....but the hourplass merrily
appears and then if I stop debug in the ide it immediately goes away so it
makes me think it's almost IDE related cept it does it stand alone too......

argh!

Harry
 
H

Harry Simpson

wierdness,

Any ideas on how to debug this......it's like a waiting process continues in
earnest yet ends immediately when any other app or menu item is clicked on
the device.

Maybe I should put in a ticket with Symbol?
 
G

Ginny Caughey [MVP]

Harry,

Do you have any worker threads running, anything you might be waiting on as
you shut down? Do you get the same result with the release version running
on the device without VS IDE running it?
 
C

chris-s

I've noticed a similar problem after updating my app from VS2003 to
VS2005, when exiting the app, it leaves a process or something running
requiring it to be killed off under Settings->Memory->Running
Programs. Speaking to another developer in one of our other offices,
he has noticed the same thing but with an app written from scratch in
VS2005 albeit targetted at PPC2003SE platform.

Chris
 
H

Harry Simpson

Very interesting.....Microsoft listening in here....???

Ginny,

It does the same thing with the release version on a disconnected Windows
2003 (non-SE) PPC device.
It doesn't really hurt anything but is going to be very visually distracting
to users who like me don't have a clue as to why.

Sounds like there may be a bug lurking here in CF2.....if it's happening to
others too.

Anyway to get this to MS's attention?

Harry
 
G

Guest

I'd say these are diffrent issues. Chris is reporting that the process
remains running and must be killed with the Running Programs applet. This
tells me that he's not even closing his Form completely, since it shows up
there, and is almost certainly a bug in his code, not the CF.

Your issue (while I've never seen it) does sound more like a bug in the CF
where the app is fully unloaded but the default system cursor is not
restored properly on exit.
 
G

Ginny Caughey [MVP]

Harry,

I no longer even have any devices that old to repro it on. But Microsoft
engineers do follow this newsgroup. You can also report the problem yourself
at connect.microsoft.com.
 
H

Harry Simpson

So does MS monitor this group? I've googled the problem but haven't found
anything else on it.
It's like a wait cursor not tied to anything and any other click will make
it go away.....I've even, though it really wasn't logical, added default
cursor code in the closing which did not good.....of course......
 
H

Harry Simpson

Thanks Ginny, i'll go over there and report it.

Ginny Caughey said:
Harry,

I no longer even have any devices that old to repro it on. But Microsoft
engineers do follow this newsgroup. You can also report the problem
yourself at connect.microsoft.com.
 
H

Harry Simpson

Welp I went over there no problem and entered in an issue and got email
confirmation that it was recieved and now I can't access the site nor the
help MS says is available incase I can't access the site (like they knew it
was gonna be inaccesible)

Product/Technology - Visual Studio and .NET Framework
Feedback ID - 260167
Feedback Title - Wait Cursor Appears on Application Close.

Any idea what is going on? Hope this isn't some trojan.....

TIA
Harry
 
G

Ginny Caughey [MVP]

Harry,

Sometimes I have to clear out the temporary internet files for sites that
use Passport authentication (IE, Tools, Options, General, Browsing History.)
And sometimes there's some problem with the Passport servers. I was able to
log on ok and I do see your feedback just now though.
 
H

Harry Simpson

How does the connect dealeo work - I've submitted it and it is "Active" yet
had a "Closed Date" assigned......Does MS look at it and respond? What's
the turnaround if there is a response?

TIA
Harry
 
G

Ginny Caughey [MVP]

Harry,

It depends on the the nature of the bug. I don't know why there's a closed
date assigned, because usually even if somebody looks at it and doesn't
think it's a bug or doesn't think it should be changed they'll make a note
saying so. So the usual procedure is to check back periodically to see if
anybody has left you a message.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top