Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I use VFP8 to change the Windows wallpaper
Message
 
À
28/07/2004 00:33:49
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Divers
Thread ID:
00927836
Message ID:
00928626
Vues:
29
No, there is no need to store it in a dbf. The only reason you need the cursor for is as vehicle to extract it to the hard disk, in order to use it as a wallpaper, Otherwise it is compiled into your executable.

>I need to using another
>progam language to write it, such as C++ ?

No, just compile the picture into the VFP executable, when the application starts, extract it (make a copy of it from the executable) into a general field and last step (still as the application loads), copy it from the general field to the hard disk and set it as a wallpaper.


>Hi, Mike
>I mean that I want the picture is hardcode in the EXE as part of
>the program, no need using any dbf or memo file to store it.
>And then when I run the EXE, the program will generate out the picture
>or store back as a JPG/bmp file and then call Win API to change the wallpaper.
>
>Is my idea work with or support by VFP8 or I need to using another
>progam language to write it, such as C++ ?
>
>Derek
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform