Hi Gang!
We are having a weird problem at the moment.
We have 2 exe's.....
Pharmacy.EXE and LDMGuide.EXE.
When filling scripts, the Pharmacy.EXE calls the LDMguide.EXE to do some printing... which is does correctly under Foxpro 8.0 SP1.
When the LDMGuide prints, it is MINIMIZED to the taskbar and remains there until it is finished, then it is closed.
BUT.... when we compile the LDMGUIDE.exe with VFP 9.0 SP2 and run it under the Pharmacy.exe (still in Foxpro 8.0 SP1), the LDMGuide will minimize for a few seconds and starts to print... but then it pops back up as a normal form on the screen covering part of the Pharmacy program!!!
What can be making it do this under VFP 9.0 SP2, but not in VFP8.0 SP1 ??
Thanks!
ps... I added a THIS.WindowState = 1 at the end of the INIT of the LDMGuide, but this did not help.
Tommy Tillman A+ NetWork+ MCP