Re: Windows Keep Closing



Did the re-install and VFPCLEAN.APP, tried the C:\Program Files\Microsoft
Visual FoxPro 9\vfp9.exe /A. No change. I really don't want to do what Tony
suggests - reinstall the operating system. No other program gives me any
trouble at all, not MS Office stuff or anything else. No keyboard macros
running (that I',m aware of).

I'm just going to have to live with this, but also search through my Task
Manager processors for anything weird. Any other suggestions would be
greatly appreciated.

Jim

"Jim Fuchs" wrote:

I'll give it a try and let you know.
Thanks!
Jim

"Dan Freeman" wrote:

OK, so we've firmly established that this DOES NOT HAPPEN in your
applications. It happens in the VFP IDE.

After you reinstall VFP cleanly, try running VFPCLEAN.APP which may clean up
any muck in the registry. (You'll find it in the VFP folder.)

This is extremely odd behavior that I've never seen before. Do you have any
keyboard macro utilities installed? Do you experience similar non-normal
behavior in, say, Word or Excel?

Do you get the same result when you run <path>\VFP.EXE /A ?
(see "How to: Use Command-Line Options When Starting Visual FoxPro" in
help.)

Dan

Jim Fuchs wrote:
Sorry for not being descriptive enough. The "programs" I write are
just compiled .EXE files accessing stand-alone tables. When I
"install" them at a client's site, I just bring along the tables, the
.EXE, support .DLLs and such - I've never written a self-installation
application. What I'm referring to is, during development, I'll have
a form and its INIT function up on the screen, then when I click on
the command window, data session, or try a "Find" in the INIT, all my
form screens just close, without saving.

I've un-installed and re-installed VFP once already, with no change.
I'm beginning to think there's something going on with my laptop
(only a year old), or when I un-installed FoxPro it didn't completely
un-install, or there's some patch or something that needs to be added.

Does that help?
Jim Fuchs

"Dan Freeman" wrote:

No, he meant when you built the installer for your own applications.
VFP has some system dependencies that can be at best dicey to figure
out. Installers built with Installshield Express take care of making
sure the right files are in the right place.

I've now re-read the entire thread and I *still* can't figure out
whether you're talking about VFP itself or applications built in
VFP. If it's VFP itself, have you installed any frameworks? Some
frameworks shamelessly remap the keyboard -- one in particular traps
CTRL-F and closes the opened designer window.

A little more details and a more clear description of what is
happening might help you get to the bottom of this.

Dan

Jim Fuchs wrote:
Both programs on the laptop do the same thing - closing windows.
When you mention "installsheild express" I take iy you mean when I
installed FoxPro to begin with (not my own programs). If so, yes.
I just used all the defaults. I'll tell you, it's driving me mad!

Jim

"Cy Welch" wrote:

Ok, so this is not VFP that is not working but rather a program
that you wrote in VFP? Did you use the installsheild express that
came with VFP to create the install? I find I have the best luck
using that if I get the settings right because all the right
things get installed. It sounds like something IS installed on
one machine and is NOT installed on the other.

Cy Welch
Senior Programmer
MetSYS Inc
http://www.metsysinc.com


Jim Fuchs wrote:
Same program (same disk even). I once did a complete un-install,
rebooted, then installed it again, but the problem still
continued. I went through all the Tools / Options looking for soe
kind of setting that needed changing, but couldn't find one.
Come to think of it, I have two different programs I created
using VFP 9 and, when I get back home, I'm going to see if the
first one does the same thing. If not, then I can narrow it down
to the program. I'll let you know tomorrow.

Thanks Cy.

"Cy Welch" wrote:

What do you mean by "similar version"? Sounds like maybe a bad
install? What version of windows on the laptop and what version
on the pc at work? Also did you install SP1 in both places? I
find that VFP 9 works the same on my work pc and my laptop. With
the exception of visual issues, it works the same on Vista as on
XP or 2000 as well.

Cy Welch
Senior Programmer
MetSYS Inc
http://www.metsysinc.com


Jim Fuchs wrote:
VFP 9.0 works great on my pc at work, but when I installed a
similar version on my laptop, every time I click a different
window the previous one closes. This is extremely frustrsting,
especially when I execute a "Find" in, say the init of a form.
The form closes when the "Find" window shows up.

Do I have a setting wrong or something?

Thanks
Jim Fuchs



.



Relevant Pages

  • Re: Windows Keep Closing
    ... My laptop uses Drive C and my desktop uses Drive D. ... clean re-install of VFP 9.0 on the laptop didn't clear up the problem. ... You describe "running from command line" which to me connotes a DOS window. ... When I "install" them at a client's site, ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Windows Keep Closing
    ... program created on my laptop to my computer here at work (exact same VFP ... install) and the program brought along the same characteristics (windows ... "Jim Fuchs" wrote: ... It happens in the VFP IDE. ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Windows Keep Closing
    ... It sounds like you've got SOMETHING mucking with they keyboard stream. ... "Jim Fuchs" wrote: ... It happens in the VFP IDE. ... that came with VFP to create the install? ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Windows Keep Closing
    ... "Jim Fuchs" wrote: ... It happens in the VFP IDE. ... CTRL-F and closes the opened designer window. ... came with VFP to create the install? ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Windows Keep Closing
    ... It happens in the VFP IDE. ... Jim Fuchs wrote: ... CTRL-F and closes the opened designer window. ... came with VFP to create the install? ...
    (microsoft.public.fox.programmer.exchange)