I use the below code to create a background image on a Foxpro app.
This image is always visible in my test environment, but when I run it
on Terminal Services (W2K) in Production, several of my forms clear
this image. What Commands/Functions could possibly clear this image??
This never happened with the app when it was compiled with VFP7.

Thanks for your help

*! Example Code -------

_SCREEN.addobject('logo','image')

WITH _SCREEN.logo
.picture = 'BackGroundImage.jpg'
.width = 220
.height = 160
.backstyle = 1
ENDWITH

= updscreen()
_SCREEN.logo.Visible = .T.

*------------------
PROCEDURE updscreen
*------------------

WITH _SCREEN.logo
.left = (_SCREEN.width-220)/2
.top = (_SCREEN.height-160)/2
ENDWITH

ENDPROC

RE: More VFP7 to VFP9 woes by Leemi

Leemi
Mon May 09 10:05:48 CDT 2005

Hi Jake:

I ran your code in VFP 9.0 on Windows XP SP2 and under Terminal Services
2003 and VFP 8.0. I did change the bitmap file, but I made no other
changes. I do not see a problem.

Can you trace the code on a machine where it does not work and see what
line of code causes the problem? You don't have a CLEAR command in the
code, do you? Are you toggling the LockScreen property of the form
anywhere?

There is a BITMAP ON/OFF setting in the Config.fpw file for Terminal
Services users. While I don't think this is the cause of the behavior, you
might want to look at it in the Help file.

I hope this helps.

This posting is provided "AS IS" with no warranties, and confers no rights.

Sincerely,
Microsoft FoxPro Technical Support
Lee Mitchell

*-- VFP9 HAS ARRIVED!! --*
Read about all the new features of VFP9 here:
http://msdn.microsoft.com/vfoxpro/

*--Purchase VFP 9.0 here:
http://www.microsoft.com/PRODUCTS/info/product.aspx?view=22&pcid=54787e64-52
69-4500-8bf2-3f06689f4ab3&type=ovr

Keep an eye on the product lifecycle for Visual FoxPro here:
http://support.microsoft.com/default.aspx?id=fh;[ln];lifeprodv
- VFP5 Mainstream Support retired June 30th, 2003
- VFP6 Mainstream Support retired Sept. 30th, 2003

I use the below code to create a background image on a Foxpro app.
This image is always visible in my test environment, but when I run it
on Terminal Services (W2K) in Production, several of my forms clear
this image. What Commands/Functions could possibly clear this image??
This never happened with the app when it was compiled with VFP7.

Thanks for your help

>*! Example Code -------

>_SCREEN.addobject('logo','image')

>WITH _SCREEN.logo
> .picture = 'BackGroundImage.jpg'
> .width = 220
> .height = 160
> .backstyle = 1
>ENDWITH

> = updscreen()
>_SCREEN.logo.Visible = .T.

>*------------------
>PROCEDURE updscreen
>*------------------

>WITH _SCREEN.logo
> .left = (_SCREEN.width-220)/2
> .top = (_SCREEN.height-160)/2
>ENDWITH

>ENDPROC



Re: More VFP7 to VFP9 woes by Jake

Jake
Mon May 09 19:34:58 CDT 2005

No Clear's, but might be a LockScreen somewhere. Problem might be
with W2K Terminal Services. Have already tried BITMAP ON/OFF. Thanks
for the Input.

On Mon, 09 May 2005 15:05:48 GMT, Leemi@online.microsoft.com (Lee
Mitchell) wrote:

>Hi Jake:
>
>I ran your code in VFP 9.0 on Windows XP SP2 and under Terminal Services
>2003 and VFP 8.0. I did change the bitmap file, but I made no other
>changes. I do not see a problem.
>
>Can you trace the code on a machine where it does not work and see what
>line of code causes the problem? You don't have a CLEAR command in the
>code, do you? Are you toggling the LockScreen property of the form
>anywhere?
>
>There is a BITMAP ON/OFF setting in the Config.fpw file for Terminal
>Services users. While I don't think this is the cause of the behavior, you
>might want to look at it in the Help file.
>
>I hope this helps.
>
>This posting is provided "AS IS" with no warranties, and confers no rights.
>
>Sincerely,
>Microsoft FoxPro Technical Support
>Lee Mitchell
>
>*-- VFP9 HAS ARRIVED!! --*
>Read about all the new features of VFP9 here:
>http://msdn.microsoft.com/vfoxpro/
>
>*--Purchase VFP 9.0 here:
>http://www.microsoft.com/PRODUCTS/info/product.aspx?view=22&pcid=54787e64-52
>69-4500-8bf2-3f06689f4ab3&type=ovr
>
>Keep an eye on the product lifecycle for Visual FoxPro here:
>http://support.microsoft.com/default.aspx?id=fh;[ln];lifeprodv
> - VFP5 Mainstream Support retired June 30th, 2003
> - VFP6 Mainstream Support retired Sept. 30th, 2003
>
>I use the below code to create a background image on a Foxpro app.
>This image is always visible in my test environment, but when I run it
>on Terminal Services (W2K) in Production, several of my forms clear
>this image. What Commands/Functions could possibly clear this image??
>This never happened with the app when it was compiled with VFP7.
>
>Thanks for your help
>
>>*! Example Code -------
>
>>_SCREEN.addobject('logo','image')
>
>>WITH _SCREEN.logo
>> .picture = 'BackGroundImage.jpg'
>> .width = 220
>> .height = 160
>> .backstyle = 1
>>ENDWITH
>
>> = updscreen()
>>_SCREEN.logo.Visible = .T.
>
>>*------------------
>>PROCEDURE updscreen
>>*------------------
>
>>WITH _SCREEN.logo
>> .left = (_SCREEN.width-220)/2
>> .top = (_SCREEN.height-160)/2
>>ENDWITH
>
>>ENDPROC
>


Re: More VFP7 to VFP9 woes by Leemi

Leemi
Wed May 11 14:30:57 CDT 2005

Hi Jake:

Do they have the most recent service pack for Window 2000? Can you test
the code on Windows 2003 Terminal Services like I did? Does removing the
LockScreen make a difference?

I hope this helps.

This posting is provided "AS IS" with no warranties, and confers no rights.

Sincerely,
Microsoft FoxPro Technical Support
Lee Mitchell

*-- VFP9 HAS ARRIVED!! --*
Read about all the new features of VFP9 here:
http://msdn.microsoft.com/vfoxpro/

*--Purchase VFP 9.0 here:
http://www.microsoft.com/PRODUCTS/info/product.aspx?view=22&pcid=54787e64-52
69-4500-8bf2-3f06689f4ab3&type=ovr

Keep an eye on the product lifecycle for Visual FoxPro here:
http://support.microsoft.com/default.aspx?id=fh;[ln];lifeprodv
- VFP5 Mainstream Support retired June 30th, 2003
- VFP6 Mainstream Support retired Sept. 30th, 2003


>No Clear's, but might be a LockScreen somewhere. Problem might be
>with W2K Terminal Services. Have already tried BITMAP ON/OFF. Thanks
>for the Input.

>On Mon, 09 May 2005 15:05:48 GMT, Leemi@online.microsoft.com (Lee
>Mitchell) wrote:

>Hi Jake:
>
>I ran your code in VFP 9.0 on Windows XP SP2 and under Terminal Services
>2003 and VFP 8.0. I did change the bitmap file, but I made no other
>changes. I do not see a problem.
>
>Can you trace the code on a machine where it does not work and see what
>line of code causes the problem? You don't have a CLEAR command in the
>code, do you? Are you toggling the LockScreen property of the form
>anywhere?
>
>There is a BITMAP ON/OFF setting in the Config.fpw file for Terminal
>Services users. While I don't think this is the cause of the behavior,
you
>might want to look at it in the Help file.
>
>I hope this helps.
>
>This posting is provided "AS IS" with no warranties, and confers no rights.
>
>Sincerely,
>Microsoft FoxPro Technical Support
>Lee Mitchell
>
>*-- VFP9 HAS ARRIVED!! --*
>Read about all the new features of VFP9 here:
>http://msdn.microsoft.com/vfoxpro/
>
>*--Purchase VFP 9.0 here:
>http://www.microsoft.com/PRODUCTS/info/product.aspx?view=22&pcid=54787e64-5
2
>69-4500-8bf2-3f06689f4ab3&type=ovr
>
>Keep an eye on the product lifecycle for Visual FoxPro here:
>http://support.microsoft.com/default.aspx?id=fh;[ln];lifeprodv
> - VFP5 Mainstream Support retired June 30th, 2003
> - VFP6 Mainstream Support retired Sept. 30th, 2003
>
>I use the below code to create a background image on a Foxpro app.
>This image is always visible in my test environment, but when I run it
>on Terminal Services (W2K) in Production, several of my forms clear
>this image. What Commands/Functions could possibly clear this image??
>This never happened with the app when it was compiled with VFP7.
>
>Thanks for your help
>
>>*! Example Code -------
>
>>_SCREEN.addobject('logo','image')
>
>>WITH _SCREEN.logo
>> .picture = 'BackGroundImage.jpg'
>> .width = 220
>> .height = 160
>> .backstyle = 1
>>ENDWITH
>
>> = updscreen()
>>_SCREEN.logo.Visible = .T.
>
>>*------------------
>>PROCEDURE updscreen
>>*------------------
>
>>WITH _SCREEN.logo
>> .left = (_SCREEN.width-220)/2
>> .top = (_SCREEN.height-160)/2
>>ENDWITH
>
>>ENDPROC
>




Re: More VFP7 to VFP9 woes by Jake

Jake
Fri May 13 22:07:12 CDT 2005

Can not test on Windows 2003 Terminal Services; would be nice!
LockScreens were all correct; LockScreen = .T. then LockScreen = .F.
Definitely something unique on these forms, just can't find it.
Debugging is difficult, cuz everything works fine until it gets to the
TS Box.

On Wed, 11 May 2005 19:30:57 GMT, Leemi@online.microsoft.com (Lee
Mitchell) wrote:

>Hi Jake:
>
>Do they have the most recent service pack for Window 2000? Can you test
>the code on Windows 2003 Terminal Services like I did? Does removing the
>LockScreen make a difference?
>
>I hope this helps.
>
>This posting is provided "AS IS" with no warranties, and confers no rights.
>
>Sincerely,
>Microsoft FoxPro Technical Support
>Lee Mitchell
>
>*-- VFP9 HAS ARRIVED!! --*
>Read about all the new features of VFP9 here:
>http://msdn.microsoft.com/vfoxpro/
>
>*--Purchase VFP 9.0 here:
>http://www.microsoft.com/PRODUCTS/info/product.aspx?view=22&pcid=54787e64-52
>69-4500-8bf2-3f06689f4ab3&type=ovr
>
>Keep an eye on the product lifecycle for Visual FoxPro here:
>http://support.microsoft.com/default.aspx?id=fh;[ln];lifeprodv
> - VFP5 Mainstream Support retired June 30th, 2003
> - VFP6 Mainstream Support retired Sept. 30th, 2003
>
>
>>No Clear's, but might be a LockScreen somewhere. Problem might be
>>with W2K Terminal Services. Have already tried BITMAP ON/OFF. Thanks
>>for the Input.
>
>>On Mon, 09 May 2005 15:05:48 GMT, Leemi@online.microsoft.com (Lee
>>Mitchell) wrote:
>
>>Hi Jake:
>>
>>I ran your code in VFP 9.0 on Windows XP SP2 and under Terminal Services
>>2003 and VFP 8.0. I did change the bitmap file, but I made no other
>>changes. I do not see a problem.
>>
>>Can you trace the code on a machine where it does not work and see what
>>line of code causes the problem? You don't have a CLEAR command in the
>>code, do you? Are you toggling the LockScreen property of the form
>>anywhere?
>>
>>There is a BITMAP ON/OFF setting in the Config.fpw file for Terminal
>>Services users. While I don't think this is the cause of the behavior,
>you
>>might want to look at it in the Help file.
>>
>>I hope this helps.
>>
>>This posting is provided "AS IS" with no warranties, and confers no rights.
>>
>>Sincerely,
>>Microsoft FoxPro Technical Support
>>Lee Mitchell
>>
>>*-- VFP9 HAS ARRIVED!! --*
>>Read about all the new features of VFP9 here:
>>http://msdn.microsoft.com/vfoxpro/
>>
>>*--Purchase VFP 9.0 here:
>>http://www.microsoft.com/PRODUCTS/info/product.aspx?view=22&pcid=54787e64-5
>2
>>69-4500-8bf2-3f06689f4ab3&type=ovr
>>
>>Keep an eye on the product lifecycle for Visual FoxPro here:
>>http://support.microsoft.com/default.aspx?id=fh;[ln];lifeprodv
>> - VFP5 Mainstream Support retired June 30th, 2003
>> - VFP6 Mainstream Support retired Sept. 30th, 2003
>>
>>I use the below code to create a background image on a Foxpro app.
>>This image is always visible in my test environment, but when I run it
>>on Terminal Services (W2K) in Production, several of my forms clear
>>this image. What Commands/Functions could possibly clear this image??
>>This never happened with the app when it was compiled with VFP7.
>>
>>Thanks for your help
>>
>>>*! Example Code -------
>>
>>>_SCREEN.addobject('logo','image')
>>
>>>WITH _SCREEN.logo
>>> .picture = 'BackGroundImage.jpg'
>>> .width = 220
>>> .height = 160
>>> .backstyle = 1
>>>ENDWITH
>>
>>> = updscreen()
>>>_SCREEN.logo.Visible = .T.
>>
>>>*------------------
>>>PROCEDURE updscreen
>>>*------------------
>>
>>>WITH _SCREEN.logo
>>> .left = (_SCREEN.width-220)/2
>>> .top = (_SCREEN.height-160)/2
>>>ENDWITH
>>
>>>ENDPROC
>>
>
>