使用VBScript保存小工具设置 [英] Save gadget settings with VBScript

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

问题描述

您好,我尝试使用vbscript保存设置,或者如果我可以使用javascript保存设置,然后使用vbscript调用设置,那就太好了.  原因是因为我的大部分代码都在vbscript中,并且我必须能够在vbscript中使用字符串.

Hello, I am trying to save my settings with vbscript or if I can save it with javascript and then recall the settings with vbscript that would be great.   The reason is because most of my code is in vbscript and I have to be able to use the string in the vbscript.

推荐答案

您好.

您可以使用javascirpt将其保存到注册表或文件中,并在VB中读取它(例如,使用计时器-2或3秒,您将能够检测到更改).我有同样的问题.保存后,我需要唤醒"主小工具窗口(用C#编写) 在设置窗口中更改.

You can save it with javascirpt into registry or file and read it within your VB (with some timer - 2 or 3 seconds, for example, you will be able to detect changes.). I had same problem. I needed to 'wake up' my main gadget window (written in C#) after saving changes within settings window.

希望这会有所帮助.


这篇关于使用VBScript保存小工具设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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