Registry

Discuss whatever you want here--both QB and non-QB related. Anything from the DEF INT command to the meaning of life!

Moderators: Pete, Mods

Post Reply
RayBritton
Veteran
Posts: 109
Joined: Thu Feb 10, 2005 12:38 pm

Registry

Post by RayBritton » Wed Aug 17, 2005 11:58 am

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

Seb McClouth

Post by Seb McClouth » Wed Aug 17, 2005 3:05 pm

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

User avatar
{Nathan}
Veteran
Posts: 1169
Joined: Thu Aug 19, 2004 6:08 pm
Location: The wetlands of central Ohio, USA
Contact:

Post by {Nathan} » Wed Aug 17, 2005 3:40 pm

You could always just put it into where the IE background is and set the background (when your in windows) to IE wallpaper...
Image

RayBritton
Veteran
Posts: 109
Joined: Thu Feb 10, 2005 12:38 pm

Post by RayBritton » Thu Aug 18, 2005 11:13 am

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

User avatar
{Nathan}
Veteran
Posts: 1169
Joined: Thu Aug 19, 2004 6:08 pm
Location: The wetlands of central Ohio, USA
Contact:

Post by {Nathan} » Thu Aug 18, 2005 11:41 am

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.
Image

DrV
Veteran
Posts: 63
Joined: Thu Jun 02, 2005 9:44 pm

Post by DrV » Thu Aug 18, 2005 11:54 am

To add things to the registry, you can create a .REG file and then merge it with 'regedit /S filetomerge.reg'.

User avatar
{Nathan}
Veteran
Posts: 1169
Joined: Thu Aug 19, 2004 6:08 pm
Location: The wetlands of central Ohio, USA
Contact:

Post by {Nathan} » Thu Aug 18, 2005 2:11 pm

Yeah, you could do that too.
Image

Post Reply