>>In the Msdn i have seen a win32api example.
>>The example is for VB.
>>There is a line like this.
>>
>>Const SPIF_UPDATEINIFILE = &H1
>>
>>What was &H1 mean in vfp.
>>Thanks.
>
>&H1 means hexadecimal 1 which is equal decimal 1.
>You can define it in foxpro as
#DEFINE SPIF_UPDATEINIFILE 0x1
>or just
>#DEFINE SPIF_UPDATEINIFILE 1
Hi sergey.
Thank you very much.
That was a god info for me.
This was the api.
Thats changes the desktop wallpaper.
DECLARE SHORT SystemParametersInfo IN WIN32API ;
INTEGER uiAction, ;
INTEGER uiParam, ;
string pVoid, ;
INTEGER fWinINI
FileName = "c:\windows\gs.bmp"
X = SystemParametersInfo(20, 0, FileName,1)
Have you some other infos about converting VB to VFP.
Cemal.