基于用户偏好的软件设置 [英] Software Setting Based on User Preference

查看:67
本文介绍了基于用户偏好的软件设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我有一个课堂项目,需要解决方案.

问题是:

我必须将用户偏好的软件设置作为输入.
然后根据输入内容将这些输入内容用于在其他软件(例如MS Office,Powerpoint等)中进行设置.

我需要代码来明确地做到这一点.

你能帮我吗?

谢谢

Asif

Hi
I have a class project and need solution.

The problem is:

I have to take user preference for software settings as input.
And according to the input apply those input for setting in another software such as MS Office, Powerpoint, etc.

I need code how to explicitly do that .

Can you help me.

Thanks

Asif

推荐答案

将其存档的许多方法.
如果我有问题,可以使用XML,注册表,.ini文件,小数据库....
Many ways to archive that.
If I have caught your question, you could use XML, register table, .ini file ,little database, ....


And according to the input apply those input for setting in another software such as MS Office, Powerpoint, etc.

,为什么要这么做?使您的应用程序一劳永逸"?

这可能适用于特定版本的目标软件,但不适用于其他版本.最好让用户控制那些软件应用程序的设置.

And why do you want to do that? To make your application "one for all" ?

This may work for particular version of target software, but not the other. Better let user control those settings for those software applications.


如果要使其可移植,您将需要使用一个ini文件进行配置,然后可以将其复制到另一个文件中.计算机,或将这些用户设置存储在数据库中.但是,应该可以从用户要使用的任何计算机上连接到该数据库.
If you want to make it portable, you will need to use either an ini file for you config, which you can then copy to another machine, or store these user settings in a database. It should, however, be possible to connect to this database from any machine the user is going to use.


这篇关于基于用户偏好的软件设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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