Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VFP/SQL on dual screens

Status
Not open for further replies.

lmoe

IS-IT--Management
Mar 1, 2004
168
US
With my dual screen system, when I open a program it remembers what screen it was last on and opens on that screen.

With my VFP program, with the data in MS SQL, I need to drag the program from one screen to the other, then adjust. It does not remember where it last opened.

Has anyone ever encountered this?

LMC
IT/MIS
"Never stop learning.
 
Are you just using a VFP application? If yes, then that bit of housework is up to the application programmer - if they didn't save and use this information, there is nothing automatic that VFP supplies. There is no native handling of multiple monitors, so you'll need to use some Win32 API calls to keep track of this information.

What version and service pack level of VFP are you using?

Rick
 
Lmoe,

With my VFP program, with the data in MS SQL ...

I would guess that this problem has got nothing to do with VFP or SQL Server. In any case, it is certainly not connected with "DBMS Packages > Microsoft: VFP - Databases, SQL&VFP, and Reports" which is the focus of this forum.

You might get a better response if you post it in one of the Windows support forums.

Mike





Mike Lewis
Edinburgh, Scotland

My Visual Foxpro web site: My Crystal Reports web site:
 
Mike -- I posted here because this works fine with all my other windows programs.

Rick -- VFP 6. Not sure of the service pack. Its a precompiled program.

LMC
IT/MIS
"Never stop learning.
 
Imoe,

To find out your service pack level, in VFP select from menu Help -> About Microsoft Visual FoxPro. The first line from top will tell you something like
Microsoft Visual FoxPro 6.0 SP5

If you don't have SP5 installed over your VFP 6 and don’t plan on upgrading soon, you should download one from Microsoft site. It's free, it will improve the way your VFP 6 works, and it is still available. The link is


Stella
 
lmoe,

As you say, it's a compiled program...which I assume means you didn't compile it so you don't know what version/SP of VFP the original developer was using when they compiled it last. You can still find out whether it is up to date with the latest and greatest though. Go on the workstation where the app is installed and find the runtime files (probably in the windows system directory - System32 or System - or in with the application) and look for vfp6r.dll. Right-click on that file and select properties. This will give you the verison number of the dll. Locate the version number you see in the information provided below:

Visual Studio 6.0 Version: 6.0.8167.0
Visual Studio 6.0 SP3 Version: 6.0.8492.0
Visual Studio 6.0 SP4 Version: 6.0.8862.0
Visual Studio 6.0 SP5 Version: 6.0.8961.0

boyd.gif

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top