Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Make Matrox PowerDesk distinguish a run-time VFP instanc
Message
General information
Forum:
Visual FoxPro
Category:
Third party products
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 2000 SP4
Application:
Desktop
Miscellaneous
Thread ID:
01370596
Message ID:
01370849
Views:
40
Does it jump to the second monitor if you run your code from the Command window?
BTW, it's better to set _VFP.Left because it represents outer window of VFP Desktop.


>>Are you sure that "debug.txt" exists on the path?
>
>Yes I confirmed that.
>
>>What is the value of _SCREEN.LEFT when you move VFP desktop manually to the left monitor?
>
>-1024 (ABS() that is the #2 left monitor resolution)
>
>In any case this is the calling lines for this app instance of VFP:
>
LOCAL lcPathName
>
>lcPathName = SYS(5) + SYS(2003)
>
>*** 17/07/2006 replaced switch -A with -C as per Sergey Berezniker
>_RUN('"C:\Program Files\Microsoft Visual FoxPro 9\vfp9.exe" -CC:\VSO3\Common\Other\config.fpw "' + lcPathName + '\PROGS\main.prg"', ;
>	lcPathName, "NOR", .T.)
>
>_RUN goes onto using API_AppRun class. Then again I tried to switch back to -A instead of -C above and I am getting the result I want but it comes up with the Command Window (which does not really work till I suspend the application) which I have to close and the VFP desktop flashing and stuff. I can live with this but it is not as clean as -C used to be for me (since 2006 :))
>
>This is the config.fpw if it matters:
>
SCREEN=OFF
>*** 24/06/2008 as suggested by Rick Schummer http://rickschummer.com/blog/2008/06/vfp-include-configfpw-in-exe.html
>***            note the allowexternal which allows the internal config.fpw
>***            to be overrode with one in the application folder.
>RESOURCE=OFF
>ALLOWEXTERNAL=ON
>
>_BROWSER=""
>_BUILDER=""
>_FOXREF=""
>_CONVERTER=""
>_COVERAGE
>_GALLERY=""
>_GENGRAPH=""
>_GENHTML=""
>_GENMENU=""
>_GENPD=""
>_GENSCRN=""
>_GENXTAB=""
>_TASKPANE=""
>_TOOLBOX=""
>_TRANSPORT=""
>_WIZARD=""
>
>Thanks Sergey for your responses.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform