Why the form position changes?



Hello,
I am trying to debug special situation:
My app saves on exit the current position on screen (Me.Left and Me.Top).
On startup it reads that data and position itself accordingly.
But twice already I had that problem that application did not show itself on
screen.
I traced the problem to the following saved values:
Me.Top = -245760
Me.Left = -245760

I cannot find what can cause that problem.
What is special with that number -245760 ?
Maybe value of it has some meaning to someone?
Your thoughts please,
Jack


.



Relevant Pages

  • Object was unloaded error?
    ... I have a VB6 app which has been up and running in the field. ... My startup form was a settings form with the various paths and parameters ... Private Sub Form_Load ...
    (microsoft.public.vb.general.discussion)
  • Re: Startup Form Option
    ... The problem with the sample database is that the option ... >goes into the startup settings and changes the form startup. ... > Exit Sub ...
    (microsoft.public.access.formscoding)
  • Re: Return Value from Background System Call
    ... The meaning of a 0 exit status has to be interpreted in the context of the ... launched app. ... Since you're launching this app in the ... status of the shell that launched your background app" at the end of the ...
    (comp.lang.perl.misc)
  • Re: init.d startup script does not exit
    ... I have a script that launches a program. ... However, if I exit the shell, it kills ... during startup, but it keeps on going during startup and never starts ...
    (Debian-User)
  • Re: For Vista: Programmatically "elevate" my app for a particular task.
    ... I developed a MFC/VC++ 6.0 program that has to run at startup. ... "eats" my startup application: no elevated app can be placed at startup. ... I would need to be able to programmatically get the UAC promt ... and so elevate my app permisions from that moment on. ...
    (microsoft.public.vc.mfc)