登录背景更改器的帮助. [英] Help with logon background changer.

查看:74
本文介绍了登录背景更改器的帮助.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要一些帮助.我正在尝试使用vs2008为Windows 7创建登录背景更改器.
我在这里找到了一个类似的项目,但是它是在VB中完成的,而我希望在C#.net中进行.

现在,有几种方法可以解决此问题.
在vb项目中完成此操作的方式是首先确认操作系统版本,检查"oobe/info/background"文件夹,并在必要时创建它,
向用户显示一个带有按钮的对话框,以浏览图像,使用位图对象将图像格式设置为jpg,将其重命名为"backgroundDefault.jpg",然后将其复制到"oobe \ info \ background".另外,请检查注册表项以允许win7使用自定义登录背景.

现在,每当用户想要更改登录屏幕时,他都会运行该编,选择一个图像并单击应用"按钮,然后将图像设置为登录背景.当然,用户选择的图像仅限于固定的最大尺寸.

另一种方法是Luke Payne的登录屏幕旋转器完成的操作.
在这里,该应用程序允许用户选择多种图像,多种格式,即jpg,jpeg,bmp和png文件...而没有限制文件大小.
然后,它允许用户为需要更改登录背景的时间设置时间表,即:一次,在登录时,在每个计算机锁上等等.
然后该应用会根据设置的时间表从这些选定的图像中随机选择一个,并将其用作登录屏幕.
我用了这个程序.但是我无法弄清楚它的工作方式,因为每次登录时登录背景的确发生了变化,但是我无法对"oobe \ info \ background"文件夹中的任何图像文件进行罚款....

那么此应用程序如何使win7加载自定义登录背景?

我认为可以在完整的路径中将用户添加的图像列表写入外部XML \ ini文件中,因此我们可以使用
多文件选择对话框为此目的.
问题是,如何规避win7使用的最大文件大小检查和文件格式检查?
另外,我需要以编程方式为此设置时间表任务的帮助.

当然,我可以继续使用Luke的软件,但是我想学习制作方法.

谢谢.

i need some help. i am trying to make a logon background changer for windows 7 using vs2008
i found a similar project here, but it was done in VB, while i would like it in C#.net.

now, there are a few ways to go about this.
The way it was done in the vb project was to first confirm the OS version, check for the ''oobe/info/background'' folder and create it if necessary,
show the user a dialog box with buttons to browse for an image, use the bitmap object to format the image to a jpg, rename it to ''backgroundDefault.jpg'' and copy it to ''oobe\info\background''. also, check the registry key to allow win7 to use a custom logon background.

now, whenever a user wants to change the logon screen, he runs the prog, selects an image and hits ''apply'' button and the image is set as logon background. Of course, the image the user selects is restricted to a fixed max size only.

another way is what is done by logon screen rotator by Luke Payne.
here, the app allows the user to select multiple images, of multiple formats namely jpg, jpeg, bmp and png files...without restricting file-size.
then, it allows the user to set a schedule to when the logon background has to be changed, namely: once, at logon, at each computer lock and so on...
then the app randomly selects one among these selected images and uses it as the logon screen according to the set schedule.
i have used this app. but i couldn''t figure out how it works coz, the logon background does change at each logon, but i couldn''t fine any image files in the ''oobe\info\background'' folder....

so how does this app make win7 load the custom logon background?

i think the list of user added images could be written with full path in an external XML\ini file so we could use a
multifile select dialogue box for this purpose.
the question is, how to circumvent the max file size check and the file format check employed by win7???

also, i need help on programatically setting up schedule tasks for this.

Of course, i can continue to use Luke''s software, but i would like to learn how to make one .

Thanks.

推荐答案

联系路加,问问他.
在他的网站上,他似乎是个乐于助人的人. 卢克·佩恩软件:联系方式 [ ^ ]
Contact Luke, and ask him.
From his website he seems like a helpful guy. Luke Payne Software: Contact details[^]


这篇关于登录背景更改器的帮助.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆