Page 1 of 1

Registry

Posted: Wed Aug 17, 2005 11:58 am
by RayBritton
Hi,
is there any way of accessing the registry in qb and if not how could i make a program that ran from config.sys that randomly choses a picture from a set list and sets it as the desktop background

Posted: Wed Aug 17, 2005 3:05 pm
by Seb McClouth
Accessing the registy is way to complex.

Running a program from config.sys? You can not run it from config.sys but could run it from autoexec.bat. Normally the desktop-background is situated in one of the ini-files in your windows directory. I don't remember from the head what is.
But yeah that would be possible from autoexec.bat.

grtz
Seb

Posted: Wed Aug 17, 2005 3:40 pm
by {Nathan}
You could always just put it into where the IE background is and set the background (when your in windows) to IE wallpaper...

Posted: Thu Aug 18, 2005 11:13 am
by RayBritton
You could always just put it into where the IE background is and set the background (when your in windows) to IE wallpaper...
sorry, i don't understand
i knew it was autoexec.bat or config.sys just couldn't remember which one

Posted: Thu Aug 18, 2005 11:41 am
by {Nathan}
OK, set your backgound (when you are in windows) to the IE wallpaper, find the name of it (like, save it from IE) then search for it. Find its location, then just pic a random background and copy it to that location.

Posted: Thu Aug 18, 2005 11:54 am
by DrV
To add things to the registry, you can create a .REG file and then merge it with 'regedit /S filetomerge.reg'.

Posted: Thu Aug 18, 2005 2:11 pm
by {Nathan}
Yeah, you could do that too.