//flex table opened by JP

Click to See Complete Forum and Search --> : need some creative ideas here...PLEASE HELP!!!


zskillz
12-01-2001, 04:44 AM
I want to write a program that changes my windows 98 wallpaper to a picture that I have saved in a specific directory evertime that I restart windows....

i know how to do it using a .vbs file if I actually hardcode the name of every file in the directory..... I guess that what I am asking for is a way to read and categorize, based on number (as in an array) all of the files in a specific directory.. then I would use the random number feature to generate a background....


my problem is knowing how to read all of the files in a specific directory into some sort of array so that I don't actually have to hardcode the filenames into the .vbs or the *.java file....


if anyone knows of a way to do this, please let me know

-Z

qball
12-03-2001, 09:42 PM
why?

iffin you:

I want to write a program that changes my windows 98 wallpaper to a picture that I have saved in a specific directory evertime that I restart windows....


Just reset wallpaper when you save file...

If you're gonna go through tthe trouble to save a specific file to a specific folder for purposes of 'being wallpaper' on reboot, then go thru the trouble to save the 'wallpaper'.

One can programatically save a file to a location, using winAPI, one can programatically save a file to 'wallpaper'.

But again, why?