>I've got a situation that's driving me nuts! VFP 5.0
>
>I have a 2-As Top Level Form that works great in Windows 98, but has gone nuts in Windows 2000. When I start the application, it fires up the form
behind any explorer windows which are open. I've tried everything!
>
>The only thing I've found that works, is removing SCREEN=OFF from CONFIG.FPW. I put an Application.Visible = .F. in the main program, and everything works fine. Problem is, it does that ugly "flash" of the VFP screen.
>
>I can't be the only person who's experienced this. I saw Ed Rauh's solution using WindowPos API call, but that doesn't fix it either.
Try the SetForeGroundWindow API function. It's in the WinAPI section.
HTH.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao